Open CDRO opened 3 years ago
Hi @CDRO,
Thanks for the question! That is certainly something we could consider - see also my reply to in this issue about what that might look like (though this is an early thought and requires more consideration probably): https://github.com/gruntwork-io/git-xargs/issues/5#issuecomment-824284816
I anticipate we'll get requests to support Gitlab, Bitbucket, etc, so it would make sense to define a central interface for a Version Control provider that we could have concrete implementations of, and some logic and flags to allow users to specify which ones they are using. Perhaps, even, given some of the flatfile reading logic we already have, the tool could optionally infer which VCS is in play and use the correlative plugin.
This is supported in a similar project I maintain called multi-gitter. You might want to check it out.
Is there an interest for having this as a gitlab integration as well?
Formulated differently, is there a need and/or interest for a PR extending the functionality to gitlab (on premise or SaaS). I might be able to scramble something together regarding knowledge of the API but I'm not very well versed in Go atm.