mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] don't need those debug prints anymore
This commit is contained in:
parent
5d208f1ff0
commit
1e453c29fc
1 changed files with 0 additions and 2 deletions
2
run.py
2
run.py
|
@ -73,11 +73,9 @@ async def monitor_apps_lists():
|
|||
|
||||
# only support github for now :(
|
||||
async def get_master_commit_sha(url):
|
||||
print(f">>>>>>>>>>>>>>>>>>>>>>>>>>>>> git ls-remote {url} master")
|
||||
command = await asyncio.create_subprocess_shell(f"git ls-remote {url} master", stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE)
|
||||
data = await command.stdout.read()
|
||||
commit_sha = data.decode().strip().replace("\t", " ").split(" ")[0]
|
||||
print(f">>>>>>>>>>>>>>>>>>>>>>>>>>>>> {commit_sha}")
|
||||
return commit_sha
|
||||
|
||||
for app_list_name, url in APPS_LISTS.items():
|
||||
|
|
Loading…
Add table
Reference in a new issue