Closed (fixed)
Project:
Git on Drupal.org
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2011 at 18:55 UTC
Updated:
5 Jul 2020 at 11:59 UTC
Docs at http://drupal.org/node/1066342 / http://git-dev.drupal.org/node/1066342 are not in sync with "Git instructions" tab under projects.
Should tags be created as "Git instructions" tab say:
git tag 7.x-1.0
or how the docs http://drupal.org/node/1066342 say, using annotated tags?
git tag -a 7.x-1.0 -m 'release 1.0'
Comments
Comment #1
eliza411 commentedReconciling this in favor of Git's default, non-annotated, in part because its the default, also because we don't have any best practice recommendations for the use of them, and ultimately, because I know some corners of our systems aren't very smart about them.
Comment #2
eliza411 commentedP.S. Thanks for pointing it out!
Comment #3
dwwRelated:
#1073690: Use real tags instead of lightweight ones
#1023638: Use tag annotation for the default release node body.
I'm fine with lightweight tags for now, but it'd be good to consider documenting annotated tags in the future when we have better support for them...
Cheers,
-Derek
Comment #4
marvil07 commentedI can confirm annotated tags works fine in the workflow, actually I have just released vote_up_down 6.x-2.4 with an annotated tag.
Comment #6
langworthy commentedAs mentioned in #1073690: Use real tags instead of lightweight ones tags should be annotated. Git does the wrong thing by default.
Comment #7
sdboyer commented@marvil07 - yeah, we can parse them, but we don't actually record any tag metadata. And I'm not actually certain if we properly dereference the tag into its underlying commit or not - do we?