diff --git a/bench/app.py b/bench/app.py index 665d5e5cc..a7e5d0def 100755 --- a/bench/app.py +++ b/bench/app.py @@ -61,6 +61,7 @@ class Healthcare(AppConfig): self.on_disk = False self.use_ssh = False self.from_apps = False + self.is_url = False self.branch = branch self.setup_details() @@ -81,6 +82,7 @@ def setup_details(self): # fetch meta for repo from remote git server - traditional get-app url elif is_git_url(self.name): + self.is_url = True if self.name.startswith("git@") or self.name.startswith("ssh://"): self.use_ssh = True self._setup_details_from_git_url() @@ -123,6 +125,9 @@ def url(self): if self.on_disk: return os.path.abspath(self.name) + if self.is_url: + return self.name + if self.use_ssh: return self.get_ssh_url()