def detectKnownRepo(self, url):
		"""
		For given import path detect provider.
		"""
		if url.startswith('github.com'):
			return GITHUB
		if url.startswith('code.google.com/p'):
			return GOOGLECODE
		if url.startswith('golang.org/x'):
			return GOLANGORG
		if url.startswith('gopkg.in'):
			return GOPKG
		if url.startswith('bitbucket.org'):
			return BITBUCKET
		if url.startswith('google.golang.org'):
			return GOOGLEGOLANGORG

		return UNKNOWN
For given import path detect provider.