urlparse urljoin will not work it is a bit stupid urlparse urljoin git http url  chromite project i e git  is dropped  oops urlparse urljoin git http url chromite project  works though  but a bit unintuitive that you have to add a slash to do the right thing