All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Misleading git tags
@ 2010-08-02 14:27 Wolfgang Denk
  2010-08-02 15:10 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2010-08-02 14:27 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

Dear Gilles,

I noticed that "git describe" does not provide helpful information for
the Xenomai repository.

For the current code (tagged as v2.5.4) I still get:

	-> git describe
	v2.5.1-349-gf8fa381

Only with the "--tags" option I get the expected result:

	-> git describe --tags
	v2.5.4

The behaviour changes from version to version:

	-> git describe v2.5.0
	fatal: No annotated tags can describe 'fddf7831dc53cce70b7196314cbd0b3aec028350'.
	However, there were unannotated tags: try --tags.
	-> git describe v2.5.1
	v2.5.1
	-> git describe v2.5.2
	v2.5.1-142-g6b3e8f2
	-> git describe v2.5.3
	v2.5.1-232-g55bf2d3
	-> git describe v2.5.4
	v2.5.1-349-gf8fa381


My recommendation is to always annotate release tags to avoid such
confusion.  Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@domain.hid
NOTE: The  Most  Fundamental  Particles  in  This  Product  Are  Held
Together  by  a  "Gluing" Force About Which Little is Currently Known
and Whose Adhesive Power Can Therefore Not Be Permanently Guaranteed.


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

* Re: [Xenomai-core] Misleading git tags
  2010-08-02 14:27 [Xenomai-core] Misleading git tags Wolfgang Denk
@ 2010-08-02 15:10 ` Gilles Chanteperdrix
  2010-08-02 16:17   ` Gilles Chanteperdrix
  2010-08-02 21:12   ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: Gilles Chanteperdrix @ 2010-08-02 15:10 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: xenomai

Wolfgang Denk wrote:
> Dear Gilles,
> 
> I noticed that "git describe" does not provide helpful information for
> the Xenomai repository.
> 
> For the current code (tagged as v2.5.4) I still get:
> 
> 	-> git describe
> 	v2.5.1-349-gf8fa381
> 
> Only with the "--tags" option I get the expected result:
> 
> 	-> git describe --tags
> 	v2.5.4
> 
> The behaviour changes from version to version:
> 
> 	-> git describe v2.5.0
> 	fatal: No annotated tags can describe 'fddf7831dc53cce70b7196314cbd0b3aec028350'.
> 	However, there were unannotated tags: try --tags.
> 	-> git describe v2.5.1
> 	v2.5.1
> 	-> git describe v2.5.2
> 	v2.5.1-142-g6b3e8f2
> 	-> git describe v2.5.3
> 	v2.5.1-232-g55bf2d3
> 	-> git describe v2.5.4
> 	v2.5.1-349-gf8fa381
> 
> 
> My recommendation is to always annotate release tags to avoid such
> confusion.  Thanks.

Ok. I annotated 2.5.1 and asked Philippe about it, he told me that he
never annotated 2.4 releases, so I stopped annotating them. In fact
annotating 2.5.1 was the real mistake, but I guess you are right, I
should annotate all of them. Can we change the annotation afterwards?

Anyway, thanks for the remark. If you wonder why I pushed 2.5.4 and did
not announced it, the announce will come tonight.

-- 
					    Gilles.


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

* Re: [Xenomai-core] Misleading git tags
  2010-08-02 15:10 ` Gilles Chanteperdrix
@ 2010-08-02 16:17   ` Gilles Chanteperdrix
  2010-08-02 17:26     ` Philippe Gerum
  2010-08-02 21:12   ` Wolfgang Denk
  1 sibling, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2010-08-02 16:17 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: xenomai

Gilles Chanteperdrix wrote:
> Wolfgang Denk wrote:
>> Dear Gilles,
>>
>> I noticed that "git describe" does not provide helpful information for
>> the Xenomai repository.
>>
>> For the current code (tagged as v2.5.4) I still get:
>>
>> 	-> git describe
>> 	v2.5.1-349-gf8fa381
>>
>> Only with the "--tags" option I get the expected result:
>>
>> 	-> git describe --tags
>> 	v2.5.4
>>
>> The behaviour changes from version to version:
>>
>> 	-> git describe v2.5.0
>> 	fatal: No annotated tags can describe 'fddf7831dc53cce70b7196314cbd0b3aec028350'.
>> 	However, there were unannotated tags: try --tags.
>> 	-> git describe v2.5.1
>> 	v2.5.1
>> 	-> git describe v2.5.2
>> 	v2.5.1-142-g6b3e8f2
>> 	-> git describe v2.5.3
>> 	v2.5.1-232-g55bf2d3
>> 	-> git describe v2.5.4
>> 	v2.5.1-349-gf8fa381
>>
>>
>> My recommendation is to always annotate release tags to avoid such
>> confusion.  Thanks.
> 
> Ok. I annotated 2.5.1 and asked Philippe about it, he told me that he
> never annotated 2.4 releases, so I stopped annotating them. In fact
> annotating 2.5.1 was the real mistake, but I guess you are right, I
> should annotate all of them. Can we change the annotation afterwards?

Actually the 2.4 branch is annotated, except for the two last releases.

-- 
					    Gilles.


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

* Re: [Xenomai-core] Misleading git tags
  2010-08-02 16:17   ` Gilles Chanteperdrix
@ 2010-08-02 17:26     ` Philippe Gerum
  0 siblings, 0 replies; 5+ messages in thread
From: Philippe Gerum @ 2010-08-02 17:26 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

On Mon, 2010-08-02 at 18:17 +0200, Gilles Chanteperdrix wrote:
> Gilles Chanteperdrix wrote:
> > Wolfgang Denk wrote:
> >> Dear Gilles,
> >>
> >> I noticed that "git describe" does not provide helpful information for
> >> the Xenomai repository.
> >>
> >> For the current code (tagged as v2.5.4) I still get:
> >>
> >> 	-> git describe
> >> 	v2.5.1-349-gf8fa381
> >>
> >> Only with the "--tags" option I get the expected result:
> >>
> >> 	-> git describe --tags
> >> 	v2.5.4
> >>
> >> The behaviour changes from version to version:
> >>
> >> 	-> git describe v2.5.0
> >> 	fatal: No annotated tags can describe 'fddf7831dc53cce70b7196314cbd0b3aec028350'.
> >> 	However, there were unannotated tags: try --tags.
> >> 	-> git describe v2.5.1
> >> 	v2.5.1
> >> 	-> git describe v2.5.2
> >> 	v2.5.1-142-g6b3e8f2
> >> 	-> git describe v2.5.3
> >> 	v2.5.1-232-g55bf2d3
> >> 	-> git describe v2.5.4
> >> 	v2.5.1-349-gf8fa381
> >>
> >>
> >> My recommendation is to always annotate release tags to avoid such
> >> confusion.  Thanks.
> > 
> > Ok. I annotated 2.5.1 and asked Philippe about it, he told me that he
> > never annotated 2.4 releases, so I stopped annotating them. In fact
> > annotating 2.5.1 was the real mistake, but I guess you are right, I
> > should annotate all of them. Can we change the annotation afterwards?
> 
> Actually the 2.4 branch is annotated, except for the two last releases.
> 

2.4 was automatically annotated in the process of migrating from svn to
git.

-- 
Philippe.




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

* Re: [Xenomai-core] Misleading git tags
  2010-08-02 15:10 ` Gilles Chanteperdrix
  2010-08-02 16:17   ` Gilles Chanteperdrix
@ 2010-08-02 21:12   ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2010-08-02 21:12 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

Dear Gilles Chanteperdrix,

In message <4C56DFE5.50209@domain.hid> you wrote:
>
> > My recommendation is to always annotate release tags to avoid such
> > confusion.  Thanks.
> 
> Ok. I annotated 2.5.1 and asked Philippe about it, he told me that he
> never annotated 2.4 releases, so I stopped annotating them. In fact
> annotating 2.5.1 was the real mistake, but I guess you are right, I
> should annotate all of them. Can we change the annotation afterwards?

Not without changing the whole history, which you really don't want
to do.

> Anyway, thanks for the remark. If you wonder why I pushed 2.5.4 and did
> not announced it, the announce will come tonight.

I did not wonder, I just happened to notice it :-)

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@domain.hid
"If anything can go wrong, it will."                   - Edsel Murphy


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

end of thread, other threads:[~2010-08-02 21:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02 14:27 [Xenomai-core] Misleading git tags Wolfgang Denk
2010-08-02 15:10 ` Gilles Chanteperdrix
2010-08-02 16:17   ` Gilles Chanteperdrix
2010-08-02 17:26     ` Philippe Gerum
2010-08-02 21:12   ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.