Revert 3 lines from #126 to reinstate support for the current (18.04) Ubuntu LTS `click` package, which is still at 6.x
pull/161/head
Rui Carmo 2019-11-28 11:54:33 +00:00 zatwierdzone przez GitHub
rodzic a4869f371a
commit a98dbd2b43
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1323,7 +1323,7 @@ def cmd_stop(app):
# --- Internal commands ---
@piku.command("git-hook", hidden=True)
@piku.command("git-hook")
@argument('app')
def cmd_git_hook(app):
"""INTERNAL: Post-receive git hook"""
@ -1343,7 +1343,7 @@ def cmd_git_hook(app):
do_deploy(app, newrev=newrev)
@piku.command("git-receive-pack", hidden=True)
@piku.command("git-receive-pack")
@argument('app')
def cmd_git_receive_pack(app):
"""INTERNAL: Handle git pushes for an app"""
@ -1367,7 +1367,7 @@ cat | PIKU_ROOT="{PIKU_ROOT:s}" {PIKU_SCRIPT:s} git-hook {app:s}""".format(**env
call('git-shell -c "{}" '.format(argv[1] + " '{}'".format(app)), cwd=GIT_ROOT, shell=True)
@piku.command("git-upload-pack", hidden=True)
@piku.command("git-upload-pack")
@argument('app')
def cmd_git_upload_pack(app):
"""INTERNAL: Handle git upload pack for an app"""