Misleading git tags
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
Signature · 6 lines
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: [email protected] 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.
Quoted 30 lines · Wolfgang Denk
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-gf8fa381Only with the "--tags" option I get the expected result:
-> git describe --tags v2.5.4The 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
Quoted 2 lines
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.
Signature · 1 line
Gilles.
Quoted 31 lines · Gilles Chanteperdrix
Quoted 30 lines · Wolfgang Denk
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-gf8fa381Only with the "--tags" option I get the expected result:
-> git describe --tags v2.5.4The 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
Quoted 7 lines
Quoted 2 lines
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.
Signature · 1 line
Gilles.
Quoted 35 lines · Gilles Chanteperdrix
Quoted 34 lines · Gilles Chanteperdrix
Quoted 32 lines · Wolfgang Denk
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-gf8fa381Only with the "--tags" option I get the expected result:
-> git describe --tags v2.5.4The 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-gf8fa381My recommendation is to always annotate release tags to avoid such confusion. Thanks.
Quoted 7 lines
Quoted 4 lines
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.
Signature · 1 line
Philippe.
Dear Gilles Chanteperdrix,
Quoted 8 lines · In message <[email protected]> you wrote:
Quoted 3 lines
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.
Quoted 2 lines
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
Signature · 4 lines
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: [email protected] "If anything can go wrong, it will." - Edsel Murphy