ingydotnet / git-hub

Do GitHub operations from the `git` command
MIT License
794 stars 62 forks source link

Feature Request: Add support for other similar services. (ie. gitlab, bitbucket, sourceforge) #253

Open loren-osborn opened 6 years ago

loren-osborn commented 6 years ago

I realize this may be a major headache, depending on how this project is designed, and the web API's these services offer, so this is more of an inquiry than an outright request.

How viable would it be to decouple the web API schema from this git extension to swap out when hosting on another similar system is detected?

BTW, just saw your talk on git-hub and git-subrepo. Both are quite impressive. Great job, Thanks!

perlpunk commented 6 years ago

Agreed, it would be nice to have that. I actually started to work on this in 2016 I think. There's a bitbucket branch in my fork. It's not trivial, especially since we're dealing with bash here. On the other hand, it's already designed in a way that the code in the actual subcommand functions is minimal. The easiest approach would probably be to have a complete set of different subcommands for each service.