ben-gibson/GitLink

Autodetect platform using domain regex

reda-alaoui opened this issue · 0 comments

Platforms like Bitbucket Server and Gerrit do not have a predefined domain as github.com .
Because of that, the plugin never autodetects these kinds of platform on new cloned projects.

It would be nice to be able to provide a domain regex for such platforms.

For example, for Gerrit platform, the domain regex .*gerrit.* would allow to match gerrit.mycompany.com thus would free mycompany’s users from manually choosing Gerrit as their platform for each mycompany cloned project.