canmove, Confirmed users
6,441
edits
| Line 93: | Line 93: | ||
====Generate updates and push betatest snippets==== | ====Generate updates and push betatest snippets==== | ||
'''not done yet''' | '''not done yet''' | ||
Like rc2, had to modify the patcher config to get correct snippets for the betas. Additionally, I modified the test snippets for rc1 and rc2 to use 'extv=3.5' while backupsnip was running (so we don't have to have a second set of snippet dirs to fix them, again). | Like rc2, had to modify the patcher config to get correct snippets for the betas. Additionally, I modified the test snippets for rc1 and rc2 to use 'extv=3.5' while backupsnip was running (so we don't have to have a second set of snippet dirs to fix them, again). Did that with the following: | ||
# bhearsum @ aus2-staging | |||
# fix test snippets | |||
cd ~/ | |||
rsync -av /opt/aus2/snippets/staging/20090624-Firefox-3.5rc3-test/ 20090624-Firefox-3.5rc3-test/ | |||
cd 20090624-Firefox-3.5rc3-test/Firefox | |||
rm -rf 3.1a1 3.1a2 3.1b1 3.1b2 3.1b3 3.5b4 3.5b99 | |||
find . -type f -exec sed -i -e 's/extv=3.5rc3/extv=3.5/' {} \; | |||
# this next command should print out a bunch of 'extv=3.5' lines | |||
find . -type f -exec grep extv {} \; | |||
# now, beta+release channel | |||
cd ~/ | |||
rsync -av /opt/aus2/snippets/staging/20090624-Firefox-3.5rc3/ 20090624-Firefox-3.5rc3/ | |||
cd 20090624-Firefox-3.5rc3/Firefox | |||
rm -rf 3.1a1 3.1a2 3.1b1 3.1b2 3.1b3 3.5b4 3.5b99 | |||
find . -type f -exec sed -i -e 's/extv=3.5rc3/extv=3.5/' {} \; | |||
# this next command should print out a bunch of 'extv=3.5' lines | |||
find . -type f -exec grep extv {} \; | |||
# rsync the modified snippets incoming the staging snippet dirs | |||
# test first | |||
cd ~ | |||
# should only see 'Firefox/' | |||
rsync -n -av 20090624-Firefox-3.5rc3-test/ /opt/aus2/snippets/staging/20090624-Firefox-3.5rc3-test/ | grep -v '\(3.1a*\|3.1b*\|3.5b*\)' | |||
rsync -n -av 20090624-Firefox-3.5rc3/ /opt/aus2/snippets/staging/20090624-Firefox-3.5rc3/ | grep -v '\(3.1a*\|3.1b*\|3.5b*\)' | |||
# cltbld @ aus2-staging | |||
# backup original snippets | |||
cd /opt/aus2/snippets/staging | |||
rsync -av 20090624-Firefox-3.5rc3/ 20090624-Firefox-3.5rc3-bad-rc-snippets/ | |||
rsync -av 20090624-Firefox-3.5rc3-test/ 20090624-Firefox-3.5rc3-test-bad-rc-snippets/ | |||
# bhearsum @ aus2-staging again | |||
# push fixed snippets into the staging dirs | |||
cd ~ | |||
rsync -av 20090624-Firefox-3.5rc3-test/ /opt/aus2/snippets/staging/20090624-Firefox-3.5rc3-test/ | |||
rsync -av 20090624-Firefox-3.5rc3/ /opt/aus2/snippets/staging/20090624-Firefox-3.5rc3/ | |||
====Update verify==== | ====Update verify==== | ||