Closed
Bug 860038
Opened 11 years ago
Closed 11 years ago
investigate moving git tags
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mozilla, Assigned: mozilla)
References
Details
The issue here is that we explicitly choose to move hg tags on a regular recurring basis, and git attempts to make moving tags as difficult as possible. https://www.kernel.org/pub/software/scm/git/docs/git-tag.html#_on_re_tagging We need to either figure out a solution as to how to move git tags, or make that explicitly out of scope for the converted repos.
Assignee | ||
Comment 1•11 years ago
|
||
I: * created a dev repo git init dev * created a ror repo git init --bare ror/.git * added a file to dev/ and committed cd dev vi plan git add plan git commit * tagged git tag tag1 * edited file vi plan git add plan git commit * pushed to ror git push ../ror/.git master tag1 * mirrored ror cd .. git clone ror rem1 * verified tags: git --git-dir dev show tag1 git --git-dir ror/.git show tag1 git --git-dir rem1 show tag1 (all the same) * moved tag cd dev git tag -f tag1 git show tag1 # tag moved! * pushed tag git push ../ror/.git tag1 git --git-dir ../ror/.git show tag1 # tag moved! * pulled tag in rem1 cd ../rem1 # try various permutations of |git pull| and |git fetch| without actually succeeding (tag doesn't move), then: git pull -t # note that git suggests |git fetch --tags| git show tag1 # tag moved!
Assignee | ||
Comment 2•11 years ago
|
||
Solved.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•