sourcegraph / srclib

srclib is a polyglot code analysis library, built for hackability. It consists of language analysis toolchains (currently for Go and Java, with Python, JavaScript, and Ruby in beta) with a common output format, and a CLI tool for running the analysis.
https://srclib.org
Other
942 stars 62 forks source link

SCM URL support #242

Closed alexsaveliev closed 8 years ago

alexsaveliev commented 8 years ago

I think that srclib should be able to parse the following URL:

Please see more samples here: https://confluence.jetbrains.com/display/TCD9/Guess+Settings+from+Repository+URL

Current implementation

func TryMakeURI(cloneURL string) (string, error)

in repo.go doesn't