Commit ef460b22 authored by Paul Sherwood's avatar Paul Sherwood

Merge branch 'tacgomes/ybd-tacgomes/fix-git-mirroring'

parents c24b2c96 75511a19
Pipeline #4646446 passed with stages
in 6 minutes and 57 seconds
......@@ -136,6 +136,7 @@ def mirror(name, repo):
call(['wget', os.path.join(app.config['tar-url'], tar_file)],
stdout=fnull, stderr=fnull)
call(['tar', 'xf', tar_file], stderr=fnull)
call(['git', 'config', 'gc.autodetach', 'false'], stderr=fnull)
os.remove(tar_file)
update_mirror(name, repo, tmpdir)
except:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment