diff options
Diffstat (limited to 'lorry')
-rwxr-xr-x | lorry | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,5 @@ #!/usr/bin/python -# Copyright (C) 2013 Codethink Limited +# Copyright (C) 2013-2014 Codethink Limited # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -299,6 +299,10 @@ class Lorry(cliapp.Application): return dest def mirror_git(self, project_name, dirname, gitdir, spec): + # Turn off git's SSL/TLS certificate verification, until Baserock + # has an CA management infrastructure. + os.environ['GIT_SSL_NO_VERIFY'] = 'true' + if not os.path.exists(gitdir): self.progress('.. initialising git dir') self.run_program(['git', 'init', '--bare', gitdir]) |