コード例 #1
0
def update_info(ref='origin/master'):
    helpers.git_info(ADDON_REGISTRATION)
    with lcd(ADDON_REGISTRATION):
        local("/bin/bash -c "
              "'source /etc/bash_completion.d/git && __git_ps1'")
        local('git show -s {0} --pretty="format:%h" '
              '> media/git-rev.txt'.format(ref))
コード例 #2
0
ファイル: fabfile.py プロジェクト: aditbiswas1/olympia
def update_info(ref='origin/master'):
    helpers.git_info(OLYMPIA)
    with lcd(OLYMPIA):
        local("/bin/bash -c "
              "'source /etc/bash_completion.d/git && __git_ps1'")
        local('git show -s {0} --pretty="format:%h" '
              '> media/git-rev.txt'.format(ref))
コード例 #3
0
ファイル: fabfile.py プロジェクト: ngokevin/zamboni
def update_info(ref="origin/master"):
    helpers.git_info(ZAMBONI)
    with lcd(ZAMBONI):
        local("/bin/bash -c " "'source /etc/bash_completion.d/git && __git_ps1'")
        local('git show -s {0} --pretty="format:%h" ' "> media/git-rev.txt".format(ref))
コード例 #4
0
ファイル: fabfile.py プロジェクト: mozilla/trunion
def update_info(ref='origin/master'):
    helpers.git_info(TRUNION)
    with lcd(TRUNION):
        local("/bin/bash -c "
              "'source /etc/bash_completion.d/git && __git_ps1'")
コード例 #5
0
def update_info(ref='origin/master'):
    helpers.git_info(TRUNION)
    with lcd(TRUNION):
        local("/bin/bash -c "
              "'source /etc/bash_completion.d/git && __git_ps1'")