Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diracdeltas/6440856 to your computer and use it in GitHub Desktop.
Save diracdeltas/6440856 to your computer and use it in GitHub Desktop.
#!/bin/sh
PWD=`pwd`
git clone https://github.com/diracdeltas/https-everywhere.git ./tmp/https-everywhere
cd ./tmp/https-everywhere
git checkout deterministic
git log --abbrev-commit -n 1
# TODO: replace the following with Python that does unicode normalization
find ./src/ -type f -print0 | LC_ALL=C sort -z | xargs -0 cat | shasum
./makexpi.sh
shasum pkg/https-everywhere-4.0development.11~pre.xpi
cd $PWD
#!/bin/sh
PWD=`pwd`
git clone https://github.com/diracdeltas/https-everywhere.git ./tmp/https-everywhere
cd ./tmp/https-everywhere
git checkout deterministic
git log --abbrev-commit -n 1
# TODO: replace the following with Python that does unicode normalization
find ./src/ -type f -print0 | LC_ALL=C sort -z | xargs -0 cat | sha1sum
./makecrx.sh
shasum pkg/https-everywhere-2013.8.16~pre.crx
cd $PWD
#!/bin/sh
PWD=`pwd`
git clone https://github.com/diracdeltas/https-everywhere.git ./tmp/https-everywhere
cd ./tmp/https-everywhere
git checkout master
git log --abbrev-commit -n 1
# TODO: replace the following with Python that does unicode normalization
find ./src/ -type f -print0 | LC_ALL=C sort -z | xargs -0 cat | shasum
./makexpi.sh
shasum pkg/https-everywhere-4.0development.12~pre.xpi
cd $PWD
#!/bin/sh
PWD=`pwd`
git clone https://github.com/diracdeltas/https-everywhere.git ./tmp/https-everywhere
cd ./tmp/https-everywhere
git checkout 3.0
git log --abbrev-commit -n 1
# TODO: replace the following with Python that does unicode normalization
find ./src/ -type f -print0 | LC_ALL=C sort -z | xargs -0 cat | shasum
./makexpi.sh
shasum pkg/https-everywhere-3.4.1~pre.xpi
cd $PWD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment