Release:Release Automation on Mercurial:Troubleshooting: Difference between revisions

Jump to navigation Jump to search
Line 52: Line 52:
#* The [[Releases/Firefox_3.6b4/BuildNotes#updates|Build Notes for 3.6b4]] show an example of how this is done.
#* The [[Releases/Firefox_3.6b4/BuildNotes#updates|Build Notes for 3.6b4]] show an example of how this is done.
# Re-run the update verify builder from the waterfall.
# Re-run the update verify builder from the waterfall.
=== Undoing a Pushsnip ===
If snippets are pushed early by mistake, use these steps to recover.
* Cancel the pushsnip if it is already running (via CTRL+c)
* Turn off AUS updates
<pre>
$ chmod 700 /opt/aus2/incoming/3/Thunderbird
</pre>
* Restore from the full nightly backup of the snippets (since the incremental misses old releases).
<pre>
# For Thunderbird.  Adjust command-line arguments as needed.
$ cd /opt/aus2/snippets/backup
$ mkdir 15.0b1-restore2 && cd mkdir 15.0b1-restore2
$ tar --exclude=Firefox -jvxf ../20120718-nightly-1.tar.bz2
# Inspect the output from the following command before running it without the --dry-run argument
$ rsync -av --dry-run --delete --exclude=1\.5* --exclude=2.0* --exclude=3.0* Thunderbird/ /opt/aus2/incoming/3/Thunderbird/ > /home/tbirdbld/changes.txt
</pre>
* Re-push desired snippets that were pushed since the nightly backup was taken (minus the accidental push, of course).
<pre>
$ cd /opt/aus2/snippets/staging/
$ ~/bin/pushsnip Thunderbird-15.0b1-build1-test
</pre>
Known issue: rsync will reset the permissions from 700 to 755.  You will need to set them back to 700 if you want to continue to not allow AUS updates.


=== Overwriting files that have been pushed to releases/ ===
=== Overwriting files that have been pushed to releases/ ===
canmove, Confirmed users
6,441

edits

Navigation menu