bitbake-devel.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* Bitbake repo using the same tag name as branch
@ 2023-02-24 11:09 Martin Jansa
  2023-02-24 13:41 ` [bitbake-devel] " Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2023-02-24 11:09 UTC (permalink / raw)
  To: bitbake-devel, Lee Chee Yang

[-- Attachment #1: Type: text/plain, Size: 1193 bytes --]

Is there some reason why bitbake started to use tag name identical as
branch name from 2.0?

It happens only with 2.0 and 2.2, because previous 1.52 branch had first
release named 1.52.0 not 1.52:
commit c78ebac71ec976fdf27ea24767057882870f5c60 (tag: yocto-3.4, tag:
2021-10-honister, tag: 1.52.0)

bitbake $ git show 1.52.0
tag 1.52.0
Tagger: Vineela Tummalapalli <vineela.tummalapalli@intel.com>
Date:   Mon Oct 25 15:16:54 2021 -0700

Tagging for 1.52.0 (yocto-3.4)

This new scheme has small disadvantage:

bitbake $ git push github 2.0
error: src refspec 2.0 matches more than one
error: failed to push some refs to 'github.com:shr-distribution/bitbake.git'

I can work around it by using refs/heads/2.0 and refs/tags/2.0 to
distinguish between them, but that's still a bit unusual and unfortunate.

Adding Chee Yang Lee who authored these 2 tags (see another warning there):

bitbake $ git show 2.0
warning: refname '2.0' is ambiguous.
tag 2.0
Tagger: Chee Yang Lee <chee.yang.lee@intel.com>
Date:   Mon Apr 25 22:27:04 2022 -0700

bitbake $ git show 2.2
warning: refname '2.2' is ambiguous.
tag 2.2
Tagger: Chee Yang Lee <chee.yang.lee@intel.com>
Date:   Sun Oct 23 20:33:14 2022 -0700

[-- Attachment #2: Type: text/html, Size: 1673 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bitbake-devel] Bitbake repo using the same tag name as branch
  2023-02-24 11:09 Bitbake repo using the same tag name as branch Martin Jansa
@ 2023-02-24 13:41 ` Richard Purdie
  2023-03-10 20:41   ` Martin Jansa
  2023-03-11  3:55   ` Tim Orling
  0 siblings, 2 replies; 5+ messages in thread
From: Richard Purdie @ 2023-02-24 13:41 UTC (permalink / raw)
  To: Martin Jansa, bitbake-devel, Lee Chee Yang; +Cc: Michael Halstead

On Fri, 2023-02-24 at 12:09 +0100, Martin Jansa wrote:
> Is there some reason why bitbake started to use tag name identical as
> branch name from 2.0?
> 
> It happens only with 2.0 and 2.2, because previous 1.52 branch had
> first release named 1.52.0 not 1.52:
> commit c78ebac71ec976fdf27ea24767057882870f5c60 (tag: yocto-3.4, tag:
> 2021-10-honister, tag: 1.52.0)
> 
> bitbake $ git show 1.52.0
> tag 1.52.0
> Tagger: Vineela Tummalapalli <vineela.tummalapalli@intel.com>
> Date:   Mon Oct 25 15:16:54 2021 -0700
> 
> Tagging for 1.52.0 (yocto-3.4)
> 
> This new scheme has small disadvantage:
> 
> bitbake $ git push github 2.0
> error: src refspec 2.0 matches more than one
> error: failed to push some refs to 'github.com:shr-
> distribution/bitbake.git'
> 
> I can work around it by using refs/heads/2.0 and refs/tags/2.0 to
> distinguish between them, but that's still a bit unusual and
> unfortunate.
> 
> Adding Chee Yang Lee who authored these 2 tags (see another warning
> there):
> 
> bitbake $ git show 2.0
> warning: refname '2.0' is ambiguous.
> tag 2.0
> Tagger: Chee Yang Lee <chee.yang.lee@intel.com>
> Date:   Mon Apr 25 22:27:04 2022 -0700
> 
> bitbake $ git show 2.2
> warning: refname '2.2' is ambiguous.
> tag 2.2
> Tagger: Chee Yang Lee <chee.yang.lee@intel.com>
> Date:   Sun Oct 23 20:33:14 2022 -0700

We should probably drop the 2.0 and 2.2 tags and put 2.0.0 and 2.2.0
tags in place instead.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bitbake-devel] Bitbake repo using the same tag name as branch
  2023-02-24 13:41 ` [bitbake-devel] " Richard Purdie
@ 2023-03-10 20:41   ` Martin Jansa
  2023-03-11  3:55   ` Tim Orling
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2023-03-10 20:41 UTC (permalink / raw)
  To: Richard Purdie; +Cc: bitbake-devel, Lee Chee Yang, Michael Halstead

[-- Attachment #1: Type: text/plain, Size: 1751 bytes --]

Michael: can you please recreate/rename the tags as suggested by RP?

On Fri, Feb 24, 2023 at 2:41 PM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Fri, 2023-02-24 at 12:09 +0100, Martin Jansa wrote:
> > Is there some reason why bitbake started to use tag name identical as
> > branch name from 2.0?
> >
> > It happens only with 2.0 and 2.2, because previous 1.52 branch had
> > first release named 1.52.0 not 1.52:
> > commit c78ebac71ec976fdf27ea24767057882870f5c60 (tag: yocto-3.4, tag:
> > 2021-10-honister, tag: 1.52.0)
> >
> > bitbake $ git show 1.52.0
> > tag 1.52.0
> > Tagger: Vineela Tummalapalli <vineela.tummalapalli@intel.com>
> > Date:   Mon Oct 25 15:16:54 2021 -0700
> >
> > Tagging for 1.52.0 (yocto-3.4)
> >
> > This new scheme has small disadvantage:
> >
> > bitbake $ git push github 2.0
> > error: src refspec 2.0 matches more than one
> > error: failed to push some refs to 'github.com:shr-
> > distribution/bitbake.git'
> >
> > I can work around it by using refs/heads/2.0 and refs/tags/2.0 to
> > distinguish between them, but that's still a bit unusual and
> > unfortunate.
> >
> > Adding Chee Yang Lee who authored these 2 tags (see another warning
> > there):
> >
> > bitbake $ git show 2.0
> > warning: refname '2.0' is ambiguous.
> > tag 2.0
> > Tagger: Chee Yang Lee <chee.yang.lee@intel.com>
> > Date:   Mon Apr 25 22:27:04 2022 -0700
> >
> > bitbake $ git show 2.2
> > warning: refname '2.2' is ambiguous.
> > tag 2.2
> > Tagger: Chee Yang Lee <chee.yang.lee@intel.com>
> > Date:   Sun Oct 23 20:33:14 2022 -0700
>
> We should probably drop the 2.0 and 2.2 tags and put 2.0.0 and 2.2.0
> tags in place instead.
>
> Cheers,
>
> Richard
>
>
>

[-- Attachment #2: Type: text/html, Size: 2509 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bitbake-devel] Bitbake repo using the same tag name as branch
  2023-02-24 13:41 ` [bitbake-devel] " Richard Purdie
  2023-03-10 20:41   ` Martin Jansa
@ 2023-03-11  3:55   ` Tim Orling
  2023-03-13 17:06     ` Michael Halstead
  1 sibling, 1 reply; 5+ messages in thread
From: Tim Orling @ 2023-03-11  3:55 UTC (permalink / raw)
  To: Richard Purdie
  Cc: Lee Chee Yang, Martin Jansa, Michael Halstead, bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 2144 bytes --]

On Fri, Feb 24, 2023 at 5:41 AM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Fri, 2023-02-24 at 12:09 +0100, Martin Jansa wrote:
> > Is there some reason why bitbake started to use tag name identical as
> > branch name from 2.0?
> >
> > It happens only with 2.0 and 2.2, because previous 1.52 branch had
> > first release named 1.52.0 not 1.52:
> > commit c78ebac71ec976fdf27ea24767057882870f5c60 (tag: yocto-3.4, tag:
> > 2021-10-honister, tag: 1.52.0)
> >
> > bitbake $ git show 1.52.0
> > tag 1.52.0
> > Tagger: Vineela Tummalapalli <vineela.tummalapalli@intel.com>
> > Date:   Mon Oct 25 15:16:54 2021 -0700
> >
> > Tagging for 1.52.0 (yocto-3.4)
> >
> > This new scheme has small disadvantage:
> >
> > bitbake $ git push github 2.0
> > error: src refspec 2.0 matches more than one
> > error: failed to push some refs to 'github.com:shr-
> > distribution/bitbake.git'
> >
> > I can work around it by using refs/heads/2.0 and refs/tags/2.0 to
> > distinguish between them, but that's still a bit unusual and
> > unfortunate.
> >
> > Adding Chee Yang Lee who authored these 2 tags (see another warning
> > there):
> >
> > bitbake $ git show 2.0
> > warning: refname '2.0' is ambiguous.
> > tag 2.0
> > Tagger: Chee Yang Lee <chee.yang.lee@intel.com>
> > Date:   Mon Apr 25 22:27:04 2022 -0700
> >
> > bitbake $ git show 2.2
> > warning: refname '2.2' is ambiguous.
> > tag 2.2
> > Tagger: Chee Yang Lee <chee.yang.lee@intel.com>
> > Date:   Sun Oct 23 20:33:14 2022 -0700
>
> We should probably drop the 2.0 and 2.2 tags and put 2.0.0 and 2.2.0
> tags in place instead.
>

I noticed this as well and this is solution I was hoping for.


> Cheers,
>
> Richard
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#14486):
> https://lists.openembedded.org/g/bitbake-devel/message/14486
> Mute This Topic: https://lists.openembedded.org/mt/97203651/924729
> Group Owner: bitbake-devel+owner@lists.openembedded.org
> Unsubscribe:
> https://lists.openembedded.org/g/bitbake-devel/leave/10722602/924729/2064237243/xyzzy
> [ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 3630 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [bitbake-devel] Bitbake repo using the same tag name as branch
  2023-03-11  3:55   ` Tim Orling
@ 2023-03-13 17:06     ` Michael Halstead
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Halstead @ 2023-03-13 17:06 UTC (permalink / raw)
  To: Tim Orling; +Cc: Richard Purdie, Lee Chee Yang, Martin Jansa, bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 2605 bytes --]

I've renamed these tags and kept everything else the same:

2.0 -> 2.0.0
2.2 -> 2.2.0

I left these much older tags alone:

1.0
1.1
1.2

On Fri, Mar 10, 2023 at 7:55 PM Tim Orling <ticotimo@gmail.com> wrote:

>
>
> On Fri, Feb 24, 2023 at 5:41 AM Richard Purdie <
> richard.purdie@linuxfoundation.org> wrote:
>
>> On Fri, 2023-02-24 at 12:09 +0100, Martin Jansa wrote:
>> > Is there some reason why bitbake started to use tag name identical as
>> > branch name from 2.0?
>> >
>> > It happens only with 2.0 and 2.2, because previous 1.52 branch had
>> > first release named 1.52.0 not 1.52:
>> > commit c78ebac71ec976fdf27ea24767057882870f5c60 (tag: yocto-3.4, tag:
>> > 2021-10-honister, tag: 1.52.0)
>> >
>> > bitbake $ git show 1.52.0
>> > tag 1.52.0
>> > Tagger: Vineela Tummalapalli <vineela.tummalapalli@intel.com>
>> > Date:   Mon Oct 25 15:16:54 2021 -0700
>> >
>> > Tagging for 1.52.0 (yocto-3.4)
>> >
>> > This new scheme has small disadvantage:
>> >
>> > bitbake $ git push github 2.0
>> > error: src refspec 2.0 matches more than one
>> > error: failed to push some refs to 'github.com:shr-
>> > distribution/bitbake.git'
>> >
>> > I can work around it by using refs/heads/2.0 and refs/tags/2.0 to
>> > distinguish between them, but that's still a bit unusual and
>> > unfortunate.
>> >
>> > Adding Chee Yang Lee who authored these 2 tags (see another warning
>> > there):
>> >
>> > bitbake $ git show 2.0
>> > warning: refname '2.0' is ambiguous.
>> > tag 2.0
>> > Tagger: Chee Yang Lee <chee.yang.lee@intel.com>
>> > Date:   Mon Apr 25 22:27:04 2022 -0700
>> >
>> > bitbake $ git show 2.2
>> > warning: refname '2.2' is ambiguous.
>> > tag 2.2
>> > Tagger: Chee Yang Lee <chee.yang.lee@intel.com>
>> > Date:   Sun Oct 23 20:33:14 2022 -0700
>>
>> We should probably drop the 2.0 and 2.2 tags and put 2.0.0 and 2.2.0
>> tags in place instead.
>>
>
> I noticed this as well and this is solution I was hoping for.
>
>
>> Cheers,
>>
>> Richard
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#14486):
>> https://lists.openembedded.org/g/bitbake-devel/message/14486
>> Mute This Topic: https://lists.openembedded.org/mt/97203651/924729
>> Group Owner: bitbake-devel+owner@lists.openembedded.org
>> Unsubscribe:
>> https://lists.openembedded.org/g/bitbake-devel/leave/10722602/924729/2064237243/xyzzy
>> [ticotimo@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>>

-- 
Michael Halstead
Linux Foundation / Yocto Project
Systems Operations Engineer

[-- Attachment #2: Type: text/html, Size: 4521 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-13 17:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-24 11:09 Bitbake repo using the same tag name as branch Martin Jansa
2023-02-24 13:41 ` [bitbake-devel] " Richard Purdie
2023-03-10 20:41   ` Martin Jansa
2023-03-11  3:55   ` Tim Orling
2023-03-13 17:06     ` Michael Halstead

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).