vsts-mirror-git-repository
vsts-mirror-git-repository copied to clipboard
Allow Service Endpoints Use
We should allow the task configuration to point to existing service endpoints for specifying the git repo and authentication info (for example the GitHub and Bitbucket service endpoints).
This would provide an option for folks to use existing connections.
I agree. I think this would be a good thing to add. It makes a lot sense.
In terms of endpoints, I think we can support some of the already existing service endpoints (I'm thinking Github specifically), but should we also include a Generic Git service endpoint with the task?
And if we do that, would that completely replace the "in task" repository endpoint, or would that just be another option?
I know we can do it either way, but I want to hear other opinions before I go do it ;)
It may not make sense to do them all at once (can add support incrementally), but I would think we should support all of them eventually.
All VSTS accounts should automatically and already have existing Service Endpoint types for GitHub, Bitbucket, as well as a generic Git endpoint type, so I don't think we'll have to make a custom endpoint type.
[Edit - fixed minor typos]