Confirmed users
3,104
edits
m (→Build/Repack) |
|||
| Line 398: | Line 398: | ||
*[http://people.mozilla.org/~coop/completes_as_partials.bash completes_as_partial.bash] | *[http://people.mozilla.org/~coop/completes_as_partials.bash completes_as_partial.bash] | ||
* [http://people.mozilla.org/~coop/4.0b7_completes_as_partials.log output log] | * [http://people.mozilla.org/~coop/4.0b7_completes_as_partials.log output log] | ||
=== Post repack 3 snippet fixes === | |||
<pre> | |||
#cltbld@aus-staging | |||
cd /opt/aus2/snippets/staging/ | |||
rsync -a 20101214-Firefox-4.0b8-test/ 20101214-Firefox-4.0b8-test-fixed3/ | |||
cd 20101214-Firefox-4.0b8-test-fixed3/Firefox | |||
# Fix mac platform name | |||
mkdir -p 3.7a1/Darwin_Universal-gcc3/20100208064157 | |||
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 3.7a1/Darwin_Universal-gcc3/20100208064157 | |||
mkdir -p 3.7a2/Darwin_Universal-gcc3/20100228155422 | |||
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 3.7a2/Darwin_Universal-gcc3/20100228155422/ | |||
mkdir -p 3.7a3/Darwin_Universal-gcc3/20100315065900 | |||
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 3.7a3/Darwin_Universal-gcc3/20100315065900/ | |||
mkdir -p 3.7a4/Darwin_Universal-gcc3/20100407105356 | |||
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 3.7a4/Darwin_Universal-gcc3/20100407105356/ | |||
mkdir -p 3.7a5/Darwin_Universal-gcc3/20100610053455 | |||
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 3.7a5/Darwin_Universal-gcc3/20100610053455 | |||
mkdir -p 4.0b1/Darwin_Universal-gcc3/20100630131607 | |||
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 4.0b1/Darwin_Universal-gcc3/20100630131607/ | |||
mkdir -p 4.0b2/Darwin_Universal-gcc3/20100720175703 | |||
rsync -av --exclude partial.txt 4.0b2/Darwin_x86_64-gcc3/20100720180051/ 4.0b2/Darwin_Universal-gcc3/20100720175703/ | |||
mkdir -p 4.0b3/Darwin_Universal-gcc3/20100805181943/ | |||
rsync -av --exclude partial.txt 4.0b3/Darwin_x86_64-gcc3/20100805182338/ 4.0b3/Darwin_Universal-gcc3/20100805181943/ | |||
mkdir -p 4.0b4/Darwin_Universal-gcc3/20100818121614 | |||
rsync -av --exclude partial.txt 4.0b4/Darwin_x86_64-gcc3/20100818121922/ 4.0b4/Darwin_Universal-gcc3/20100818121614/ | |||
mkdir -p 4.0b5/Darwin_x86-gcc3-u-ppc-i386/20100831070010 | |||
rsync -av --exclude partial.txt 4.0b5/Darwin_x86_64-gcc3/20100831070403/ 4.0b5/Darwin_x86-gcc3-u-ppc-i386/20100831070010/ | |||
mkdir -p 4.0b6/Darwin_x86-gcc3-u-ppc-i386/20100914072643 | |||
rsync -av --exclude partial.txt 4.0b6/Darwin_x86_64-gcc3/20100914073111/ 4.0b6/Darwin_x86-gcc3-u-ppc-i386/20100914072643/ | |||
# Generate ja-JP-mac snippet | |||
mkdir -p 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/{beta,release}test | |||
cat > 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/releasetest/complete.txt << EOF | |||
version=1 | |||
type=complete | |||
url=http://download.mozilla.org/?product=firefox-4.0b8-complete&os=osx64&lang=ja-JP-mac | |||
hashFunction=SHA512 | |||
hashValue=fea614985261dc8e0cae6f05d19a55375b49f0560222b2892d703ad7b555a6fe2ad884a3fd8e876ca87ab5ccd1cdf338932af13977b2c61173815e9eeb6a0c5b | |||
size=27373799 | |||
build=20101214165004 | |||
appv=4.0 Beta 8 | |||
extv=4.0b8 | |||
detailsUrl=http://www.mozilla.com/ja-JP-mac/firefox/4.0b8/releasenotes/ | |||
EOF | |||
sed -e 's!^url=.*!url=http://stage-old.mozilla.org/pub/mozilla.org/firefox/nightly/4.0b8-candidates/build1/update/mac64/ja-JP-mac/firefox-4.0b8.complete.mar!' \ | |||
4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/releasetest/complete.txt \ | |||
> 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/betatest/complete.txt | |||
# copy to other locations, ja was added at b5 | |||
dirs=`find 4.0b{4,5,6,7} -maxdepth 1 -mindepth 1 -type d -name '*Darwin*' ! -wholename '4.0b7/Darwin_x86_64-gcc3' | sort` | |||
for d in $dirs; do | |||
rsync -av 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac $d/*/ | |||
done | |||
# fix paths/os | |||
find */Darwin* -type f -exec sed -i -e 's!update/mac64/!update/mac/!' -e 's!os=osx64!os=osx!' {} \; | |||
# Generate ja linux64 snippet | |||
mkdir -p 4.0b7/Linux_x86_64-gcc3/20101104131204/ja/{beta,release}test | |||
# setup snippet | |||
cat > 4.0b7/Linux_x86_64-gcc3/20101104131204/ja/releasetest/complete.txt << EOF | |||
version=1 | |||
type=complete | |||
url=http://download.mozilla.org/?product=firefox-4.0b8-complete&os=linux64&lang=ja | |||
hashFunction=SHA512 | |||
hashValue=482d120eebecccafce5e870e8a9e3fc1295d964960d21523c8cf7a1079c6a55d830b39eaa992f36e372f19998e920ce601a866849f9001a8aac5bafdd14a41e1 | |||
size=15996568 | |||
build=20101214180840 | |||
appv=4.0 Beta 8 | |||
extv=4.0b8 | |||
detailsUrl=http://www.mozilla.com/ja/firefox/4.0b8/releasenotes/ | |||
EOF | |||
sed -e 's!^url=.*!url=http://stage-old.mozilla.org/pub/mozilla.org/firefox/nightly/4.0b8-candidates/build1/update/linux-x86_64/ja/firefox-4.0b8.complete.mar!' \ | |||
4.0b7/Linux_x86_64-gcc3/20101104131204/ja/releasetest/complete.txt \ | |||
> 4.0b7/Linux_x86_64-gcc3/20101104131204/ja/betatest/complete.txt | |||
# copy to other locations, ja was added at b5 | |||
dirs=`find 4.0b{4,5,6,7} -maxdepth 1 -mindepth 1 -type d -name '*Linux_x86_64-gcc3*' ! -wholename '4.0b7/Linux_x86_64-gcc3' | sort` | |||
for d in $dirs; do | |||
rsync -av 4.0b7/Linux_x86_64-gcc3/20101104131204/ja $d/*/ | |||
done | |||
# win beta7 partial -> complete | |||
dirs=`find 4.0b7/WINNT_x86-msvc/20101104142426 -maxdepth 1 -mindepth 1 -type d | sort` | |||
for d in $dirs; do | |||
rsync -av $d/betatest/complete.txt $d/betatest/partial.txt | |||
rsync -av $d/releasetest/complete.txt $d/releasetest/partial.txt | |||
sed -i 's/type=complete/type=partial/' $d/{beta,release}test/partial.txt | |||
done | |||
cd ../../ | |||
rsync -a 20101214-Firefox-4.0b8-test-fixed3/ 20101214-Firefox-4.0b8-fixed3/ | |||
cd 20101214-Firefox-4.0b8-fixed3/Firefox | |||
find . -depth -name 'betatest' -type d -exec rm -rf {} \; | |||
find . -mindepth 4 -maxdepth 4 -type d -exec mv {}/{releasetest,beta} \; | |||
~/bin/backupsnip 20101214-Firefox-4.0b8-test-fixed3 | |||
~/bin/pushsnip 20101214-Firefox-4.0b8-test-fixed3 | |||
</pre> | |||
=== Add ja-JP-mac and swap to mac in dir names === | === Add ja-JP-mac and swap to mac in dir names === | ||