Closed
Bug 687179
Opened 13 years ago
Closed 13 years ago
tagging should use one tagging operation per tagged revision
Categories
(Release Engineering :: General, defect, P2)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhford, Assigned: Callek)
References
Details
Attachments
(1 file)
(deleted),
patch
|
rail
:
review+
Callek
:
checked-in+
|
Details | Diff | Splinter Review |
What we are doing now:
$ hg tag -u ffxbld -r 71b88e2d1010 -m 'Added tag FIREFOX_7_0b6_RELEASE for changeset 71b88e2d1010. CLOSED TREE a=release' -f FIREFOX_7_0b6_RELEASE
$ hg tag -u ffxbld -r 71b88e2d1010 -m 'Added tag FIREFOX_7_0b6_BUILD1 for changeset 71b88e2d1010. CLOSED TREE a=release' -f FIREFOX_7_0b6_BUILD1
What we should be doing:
hg tag -u ffxbld -r 71b88e2d1010 -m 'Added tag FIREFOX_7_0b6_BUILD1 and FIREFOX_7_0b6_RELEASE for changeset 71b88e2d1010. CLOSED TREE a=release' -f FIREFOX_7_0b6_BUILD1 FIREFOX_7_0b6_RELEASE
Doing this makes hg logs much easier to look
Reporter | ||
Comment 1•13 years ago
|
||
at
Updated•13 years ago
|
Blocks: hg-automation
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → bugspam.Callek
OS: Mac OS X → All
Priority: P3 → P2
Hardware: x86 → All
Assignee | ||
Comment 2•13 years ago
|
||
Pluck some low hanging fruit
Attachment #594949 -
Flags: review?(rail)
Comment 3•13 years ago
|
||
Comment on attachment 594949 [details] [diff] [review]
[tools] v1
The patch looks good. The same approach works fine in preproduction.
A nit. Could you change the following line:
> + return "Added tag(s) (" + ", ".join(tags) + ") for changeset " + revision + \
so it uses
return "Added " + " ".join(tags) + " tags(s) for ......
In this case it's easier to copy/paste from logs if you want to do a similar thing manually.
Attachment #594949 -
Flags: review?(rail) → review+
Assignee | ||
Updated•13 years ago
|
Attachment #594949 -
Flags: checked-in+
Assignee | ||
Comment 4•13 years ago
|
||
My first push missed the nits from c#3, pushed a followup to grab those.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 5•13 years ago
|
||
I pushed a bustage fix: http://hg.mozilla.org/build/tools/rev/d65f6d7a1507 for:
retry: Giving up on <function apply_and_push at 0xb7cf5bfc>
Traceback (most recent call last):
File "/builds/slave/rel-m-beta-fennec-tag-source/scripts/scripts/release/tag-release.py", line 240, in <module>
repo['bumpFiles'], relbranch, options.attempts)
File "/builds/slave/rel-m-beta-fennec-tag-source/scripts/scripts/release/tag-release.py", line 128, in tagRepo
ssh_key=config['hgSshKey']))
File "/builds/slave/rel-m-beta-fennec-tag-source/scripts/scripts/release/../../lib/python/util/retry.py", line 27, in retry
return action(*args, **kwargs)
File "/builds/slave/rel-m-beta-fennec-tag-source/scripts/scripts/release/../../lib/python/util/hg.py", line 431, in apply_and_push
changer(localrepo, 1)
File "/builds/slave/rel-m-beta-fennec-tag-source/scripts/scripts/release/tag-release.py", line 121, in bump_and_tag_wrapper
bump_and_tag(r, n, config, relbranch, revision, tags, defaultBranch)
File "/builds/slave/rel-m-beta-fennec-tag-source/scripts/scripts/release/tag-release.py", line 115, in bump_and_tag
raise Exception("Incorrect number of revisions on %s" % relbranch)
Exception: Incorrect number of revisions on MOBILE110_2012021419_RELBRANCH
Comment 6•13 years ago
|
||
Typo fix: http://hg.mozilla.org/build/tools/rev/3edfbc945069
s/tags(s)/tag(s)/
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•