zuul/zuul/driver/git
Monty Taylor 1779565108
Use os.path.join for git driver getGitUrl
The current code uses a format string with an unconditional injection
of a /. This can result in a double-slash which can then cause git to
be unable to clone things. That in turn can lead to an indefinite hang
of a job trying to use the repo from the git driver.

Replace the format string with os.path.join which will correctly join
the project to the baseurl whether it's a url or a bare path, and
whether or not it has a trailing slash.

Change-Id: Id0e529b916ff75d6b6df98d978d2349f6037499c
2019-01-15 11:52:04 +00:00
..
__init__.py Git driver 2017-12-15 14:32:40 +01:00
gitconnection.py Use os.path.join for git driver getGitUrl 2019-01-15 11:52:04 +00:00
gitmodel.py Git driver 2017-12-15 14:32:40 +01:00
gitsource.py Fix flake 3.6.0 warnings 2018-10-28 16:39:30 +01:00
gittrigger.py Git driver 2017-12-15 14:32:40 +01:00