diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-09-24 11:29:31 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-24 11:29:31 +0100 |
commit | d8deb8418b4cd26c68eb1301959e156c19b111e2 (patch) | |
tree | 99c346db95d17be9c5105ce47d5f3ac8e943e952 /script | |
parent | 8459314b691f5b02277035219cd58f510d100a77 (diff) | |
parent | 75542416a1cc36b353ade557b1bc4f729b02423a (diff) |
Merge branch 'release/0.14'0.14
Conflicts:
locale/bg/app.po
locale/fr/app.po
locale/fr_CA/app.po
locale/he_IL/app.po
locale/hr/app.po
locale/it/app.po
locale/nb_NO/app.po
locale/pl/app.po
locale/sv/app.po
locale/vi/app.po
Diffstat (limited to 'script')
-rwxr-xr-x | script/generate_pot.sh | 22 | ||||
-rwxr-xr-x | script/rails-post-deploy | 6 | ||||
-rwxr-xr-x | script/update-public-body-stats | 4 |
3 files changed, 4 insertions, 28 deletions
diff --git a/script/generate_pot.sh b/script/generate_pot.sh deleted file mode 100755 index c0540c3d9..000000000 --- a/script/generate_pot.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -echo "This is NOT a completed script! Just use it as reference for what to do from the command line, or fix it until it works!" -exit 1 - -cd `dirname $0` -# grab latest po files from Transifex -tx pull -a -f -git status | grep app.po | awk '{print $3}' | xargs git add -git commit -m "Backup latest po files from Transifex" - -# now regenerate POT and PO files from Alaveteli source -bundle exec rake gettext:store_model_attributes -bundle exec rake gettext:findpot - -# upload the result to Transifex -tx push -t - -# re-download (it removes the fuzzy strings and normalises it to the format last committed) -tx pull -a -f -git status | grep app.po | awk '{print $3}' | xargs git add -git commit -m "Updated POT" diff --git a/script/rails-post-deploy b/script/rails-post-deploy index 6eca2f68f..de950311c 100755 --- a/script/rails-post-deploy +++ b/script/rails-post-deploy @@ -46,12 +46,6 @@ else fi mkdir -p log fi -# link the "downloads" directory in the cache to somewhere it can be served -if [ ! -e "$TOP_DIR/public/download" ] -then - mkdir -p "$TOP_DIR/cache/zips/download" - ln -s "../cache/zips/download" "$TOP_DIR/public/" -fi cd log touch development.log fastcgi.crash.log production.log test.log diff --git a/script/update-public-body-stats b/script/update-public-body-stats new file mode 100755 index 000000000..71c2d248c --- /dev/null +++ b/script/update-public-body-stats @@ -0,0 +1,4 @@ +#!/bin/bash + +cd `dirname $0` +bundle exec rake --silent stats:update_public_bodies_stats |