Handle homepages for packages hosted on gitlab

This commit is contained in:
Steve Purcell 2015-03-13 08:09:24 +00:00
parent 7aa74d349e
commit 6f6b22d59a

View file

@ -111,6 +111,7 @@
};
return (urlMatch(/(bitbucket\.org\/[^\/]+\/[^\/\?]+)/, "https://") ||
urlMatch(/(gitorious\.org\/[^\/]+\/[^.]+)/, "https://") ||
urlMatch(/(gitlab\.com\/[^\/]+\/[^.]+)/, "https://") ||
urlMatch(/^lp:(.*)/, "https://launchpad.net/") ||
urlMatch(/^(https?:\/\/code\.google\.com\/p\/[^\/]+\/)/) ||
urlMatch(/^(https?:\/\/[^.]+\.googlecode\.com\/)/));