@Daniel git:// URLs should already be autodetected. For git+ssh:// URLs, I would like to see a use case of an anonymous clone of a source (which is what Snapcraft does) with that URL prefix, because imho it's not common enough (if even present) to autodetect.
As for https://git.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/tpm , we could have a solution of autodetecting http(s)://git* URLs. Another possibility would be to autodetect http(s)://git.launchpad.net* URLs, which I don't like because that would mean we have to add every exception out there to Snapcraft, which isn't feasable. So I would prefer the http(s)://git* solution.
@Daniel git:// URLs should already be autodetected. For git+ssh:// URLs, I would like to see a use case of an anonymous clone of a source (which is what Snapcraft does) with that URL prefix, because imho it's not common enough (if even present) to autodetect.
As for https:/ /git.launchpad. net/~snappy- hwe-team/ snappy- hwe-snaps/ +git/tpm , we could have a solution of autodetecting http(s)://git* URLs. Another possibility would be to autodetect http(s) ://git. launchpad. net* URLs, which I don't like because that would mean we have to add every exception out there to Snapcraft, which isn't feasable. So I would prefer the http(s)://git* solution.
Thoughts from anyone?