Skip to content

Instantly share code, notes, and snippets.

@phihag
Created May 8, 2012 11:32
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 phihag/2634366 to your computer and use it in GitHub Desktop.
Save phihag/2634366 to your computer and use it in GitHub Desktop.
diff -r 9d3609c787c4 build_debian.sh
--- a/build_debian.sh Tue May 08 12:35:21 2012 +0200
+++ b/build_debian.sh Tue May 08 13:32:19 2012 +0200
@@ -144,6 +144,11 @@
bin/python bootstrap.py -c buildout_${buildout_variant}.cfg
bin/buildout -Nc buildout_${buildout_variant}.cfg
+# Pull and update adhocracy changes.
+# Since this script is targeting test users / new developers, we do want this.
+# Because experienced developers may not want the behavior, we do *not* set always-update = true for all users in buildout_development.cfg
+(cd src/adhocracy && hg pull -u)
+
bin/paster setup-app etc/adhocracy.ini --name=content
ln -sf adhocracy_buildout/adhocracy.buildout/etc/paster_interactive.sh "$ORIGINAL_PWD"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment