Skip to content
Browse files

Reverting back permissions fixing to let the nf env be deployable, we…

… should find a better solution for this
  • Loading branch information...
1 parent 09fd9ba commit bb0a97fee72745da20af49fe30b8982ee499ba3a @arthur-debert arthur-debert committed Apr 12, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 deploy/fabfile.py
View
18 deploy/fabfile.py
@@ -404,19 +404,19 @@ def clear_permissions():
def _git_pull():
run('git checkout --force')
run('git pull --ff-only')
- #run('chgrp pcf-web -R .git 2> /dev/null; /bin/true')
- #run('chmod g+w -R .git 2> /dev/null; /bin/true')
- #_clear_permissions('.')
+ run('chgrp pcf-web -R .git 2> /dev/null; /bin/true')
+ run('chmod g+w -R .git 2> /dev/null; /bin/true')
+ _clear_permissions('.')
def _git_checkout(commit, as_sudo=False):
cmd = run
if as_sudo:
cmd = sudo
cmd('git fetch')
cmd('git checkout --force %s' % commit)
- #cmd('chgrp pcf-web -R .git 2> /dev/null; /bin/true')
- #cmd('chmod g+w -R .git 2> /dev/null; /bin/true')
- #_clear_permissions('.')
+ cmd('chgrp pcf-web -R .git 2> /dev/null; /bin/true')
+ cmd('chmod g+w -R .git 2> /dev/null; /bin/true')
+ _clear_permissions('.')
def _git_checkout_branch_and_reset(commit, branch='master', as_sudo=False):
cmd = run
@@ -425,9 +425,9 @@ def _git_checkout_branch_and_reset(commit, branch='master', as_sudo=False):
cmd('git fetch')
cmd('git checkout %s' % branch)
cmd('git reset --hard %s' % commit)
- #cmd('chgrp pcf-web -R .git 2> /dev/null; /bin/true')
- #cmd('chmod g+w -R .git 2> /dev/null; /bin/true')
- #_clear_permissions('.')
+ cmd('chgrp pcf-web -R .git 2> /dev/null; /bin/true')
+ cmd('chmod g+w -R .git 2> /dev/null; /bin/true')
+ _clear_permissions('.')
def _get_optional_repo_version(dir, repo):

0 comments on commit bb0a97f

Please sign in to comment.
Something went wrong with that request. Please try again.