Closed Bug 983031 Opened 11 years ago Closed 11 years ago

update the bugzilla push script to always pull from HEAD instead of using the current-production tag

Categories

(bugzilla.mozilla.org :: Infrastructure, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Unassigned)

Details

please update the bugzilla push script to always pull from HEAD instead of using the current-production tag. the primary reason for this is tags aren't being mirrored from git to bzr. process-wise i don't think we should change anything now. we should continue to move the current-production tag during the push process (yes, this isn't very git-like, but it isn't bzr-like either, and requires a --force in both systems). we should look at changing the workflow when we move to updating the webheads from git instead of bzr (bug 973298) eg. create a current-production branch.
Ok, I think it's just as simple as: -bzrup="bzr pull --overwrite -rtag:$tag" +bzrup="bzr pull --overwrite" - bzr log -n0 -r ${currev}..tag:${tag} | /root/bin/timestamp | tee -a "$logfile"; + bzr log -n0 -r ${currev}.. | /root/bin/timestamp | tee -a "$logfile"; If you'd prefer we could stick with '-1' in place of 'tag:$tag', but I believe they're equivalent (and appears to have behaved correctly in testing). Commited in r84328. BMO update docs have been updated. May require manually HUP'ing :ashish, though.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: WebOps: Bugzilla → Infrastructure
Product: Infrastructure & Operations → bugzilla.mozilla.org
You need to log in before you can comment on or make changes to this bug.