2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 08:16:28 +00:00

Merge pull request #1227 from Alchez/fix-ssh-git-url

fix: process SSH git URLs
This commit is contained in:
Ankush Menat 2021-12-08 16:05:02 +05:30 committed by GitHub
commit cd1e191b5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,8 @@ class AppMeta:
# fetch meta for repo from remote git server - traditional get-app url
elif is_git_url(self.name):
if self.name.startswith("git@") or self.name.startswith("ssh://"):
self.use_ssh = True
self._setup_details_from_git_url()
# fetch meta from new styled name tags & first party apps on github