[cc-commits] [SCM] Remote deployment commands for CC stuff; fabric, etc. (branch master) updated. 0b32798b7fad796365f497009f47d5c7737a1a37

Gitosis User git at gandi0.creativecommons.org
Fri Sep 9 13:54:36 EDT 2011


The branch, master has been updated
       via  0b32798b7fad796365f497009f47d5c7737a1a37 (commit)
       via  03c3ba5a82100eb82b0961242fe038c439fb05f1 (commit)
      from  4fe2b15ee95fdc7988f666f6fdbe70361557a6b5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0b32798b7fad796365f497009f47d5c7737a1a37
Author: Christopher Allan Webber <cwebber at dustycloud.org>
Date:   Fri Sep 9 12:55:39 2011 -0500

    Moving the dependency checkouts and also doing setup.py develop in those
    
    ... this way they donn't get bumped off the import path by eggs.

commit 03c3ba5a82100eb82b0961242fe038c439fb05f1
Author: Christopher Allan Webber <cwebber at dustycloud.org>
Date:   Wed Sep 7 16:55:18 2011 -0500

    Add an extra command to be sure that cc.i18n updates

-----------------------------------------------------------------------

Summary of changes (followed by patch):
 fabfile.py |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/fabfile.py b/fabfile.py
index 5543895..d36b02e 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -57,16 +57,20 @@ def update_ccengine():
     else:
         ccengine_basedir = CCENGINE_LIVE_DIR
 
-    # update dependency checkouts
-    if _on_what() == 'devel':
-        with cd(os.path.join(ccengine_basedir, 'src/license.rdf')):
-            run('git pull')
-        with cd(os.path.join(ccengine_basedir, 'src/cc.license')):
-            run('git pull')
-
     with cd(os.path.join(ccengine_basedir, 'src/cc.engine')):
         run('git pull')
+        # Why not update everything, and then cc.i18n.
+        # What a waste of cycles.  Oh well, it works!
         run(ccengine_basedir + 'bin/python setup.py develop -U')
+        run(ccengine_basedir + 'bin/easy_install --find-links http://code.creativecommons.org/basket/ -UaZ cc.i18n')
+
+    # update dependency checkouts
+    with cd(os.path.join(ccengine_basedir, 'src/cc.license')):
+        run('git pull')
+        run(ccengine_basedir + 'bin/python setup.py develop')
+    with cd(os.path.join(ccengine_basedir, 'src/license.rdf')):
+        run('git pull')
+        run(ccengine_basedir + 'bin/python setup.py develop')
 
     run('sudo /etc/init.d/apache2 reload')
 


hooks/post-receive
-- 
Remote deployment commands for CC stuff; fabric, etc.


More information about the cc-commits mailing list