gbp.scripts.clone
gbp.scripts
Clone a Git repository and set it up for gbp
>>> repo_to_url("https://foo.example.com") 'https://foo.example.com' >>> repo_to_url("salsa:agx/git-buildpackage") 'https://salsa.debian.org/agx/git-buildpackage.git' >>> repo_to_url("github:agx/git-buildpackage") 'https://github.com/agx/git-buildpackage.git'