git-xargs icon indicating copy to clipboard operation
git-xargs copied to clipboard

[FEATURE REQUEST] Gitlab API integration

Open CDRO opened this issue 3 years ago • 2 comments

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.

CDRO avatar Apr 21 '21 18:04 CDRO

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.

zackproser avatar Apr 21 '21 18:04 zackproser

This is supported in a similar project I maintain called multi-gitter. You might want to check it out.

lindell avatar Nov 13 '23 05:11 lindell