Skip to content

Conversation

takai
Copy link

@takai takai commented Apr 5, 2012

Now only HTTPS scheme is allow to checkout pull request. We use GitHub Enterprise with non-SSL environment. This patch allows hub to checkout pull reuqest with HTTP.

@mislav
Copy link
Owner

mislav commented Apr 5, 2012

The existing hub.protocol config is for git cloning, not API access. But I see what you mean: I didn't anticipate API access that is not over HTTPS (unless your ruby is not compiled with OpenSSL and it can't use HTTPS, then it falls back to HTTP). I'll try to do something about this.

@takai
Copy link
Author

takai commented Apr 6, 2012

I see, thanks 😄

@danielhopkins
Copy link

Can this patch still be merged? It would be very helpful.

@mislav
Copy link
Owner

mislav commented Jun 15, 2012

Yes, it would be useful, but I don't have an idea how to configure a specific Enterprise host to be accessed over HTTP instead HTTPS. As I said in my previous comment, hub.protocol config is not for this purpose. I have to think about this.

@amaltson
Copy link

The github_api gem allows you to specify the whole host URL, could hub not do the same? Thanks!

@kumavis
Copy link

kumavis commented May 14, 2013

👍 This issue is preventing me from integrating hub into my daily workflow. Very interested in a fix.

@Yeraze
Copy link

Yeraze commented Jan 13, 2014

Likewise.. I just found hub, and it looks awesome, but I can't deploy it in my organization until this is fixed.

@mislav
Copy link
Owner

mislav commented Feb 28, 2014

This is now possible via protocol option in ~/.config/hub. 7944d63

Release pending.

@mislav mislav closed this Feb 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants