Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CFP] Ability to change GitHub for other platform? #126

Open
vrom911 opened this issue Dec 4, 2019 · 1 comment
Open

[CFP] Ability to change GitHub for other platform? #126

vrom911 opened this issue Dec 4, 2019 · 1 comment
Labels
question Further information is requested

Comments

@vrom911
Copy link
Member

vrom911 commented Dec 4, 2019

There are only a few places where we using the GitHub platform itself. It's mostly Git oriented. So in order to make the tool more flexible we can allow user to specify the platform they prefer through the , for example, env variable.

Potential places to use different platforms

GitHub only features

  • hit new with assignment
  • hit new with the issue creation

Any comment, suggestions or problems with this one (cc @chshersh )?

@vrom911 vrom911 added the question Further information is requested label Dec 4, 2019
@chshersh
Copy link
Contributor

chshersh commented Dec 4, 2019

@vrom911 That's an excellent proposal! I like the idea of making this tool to support more platforms, especially if this can be done without much pain. And I also think that the environment variable (with GitHub being the default) would be the most convenient way to implement it. You can specify it in your ~/.bashrc file if you use some platform more often than others.

I would also add that hit issue command currently works only with GitHub. So it looks like that for some commands we need to implement some failure mode where they display red error text saying that this command is not supported for this platform. But in theory it should be possible to implement some of them for GitLab at least because there's a Haskell library for it:

But definitely not in the first version, I guess in the first version we only should tell about non-supported operations and support everything we can do easily (like clone command).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants