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

Replacing git:// scheme with https:// #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Replacing git:// scheme with https:// #64

wants to merge 1 commit into from

Conversation

zepag
Copy link

@zepag zepag commented Jul 11, 2012

Hello,

I know it's not an important requirement, though this allows people in a restricted network configuration (allowing only access to http/https for instance) to checkout recursively everything needed to build couch using your great wrapper.

Thanks in advance.

@clayzermk1
Copy link

I agree https is the way to go.

As a work-around for anyone having trouble with the git protocol:

git clone https://github.com/iriscouch/build-couchdb
cd build-couchdb
vi .gitmodules
#change all "git:" to "https:", save and quit
git submodule init
git submodule update

This worked for me.

@zepag
Copy link
Author

zepag commented Oct 18, 2012

Yes this can definitely be solved with a checkout and a sed, though it would be better to work out of the box ;)

@gmaggess
Copy link

gmaggess commented May 4, 2013

Tried your suggestion but still can't access https://git.sv.gnu.org/autoconf/info/refs. Any hints?

@jhs
Copy link
Member

jhs commented May 4, 2013

I am willing to change any protocols as long as they are officially supported by their hosts.

On the other hand, I sort of feel like choosing the correct network protocol is out of scope for this project. If you can't clone from an (any!) official Git repository, then you have your own problems.

However, I would not enforce this belief of mine until we had another feature I have always wanted, which is all-in-one downloadable .zip or .tar.gz files. I do not want to restrict people's ability to get CouchDB, I just want to reduce the scope of this project so it is manageable.

@gmaggess
Copy link

gmaggess commented May 4, 2013

Hi Jason,

I found a workaround for that matter here: http://www.emilsit.net/blog/archives/how-to-use-the-git-protocol-through-a-http-connect-proxy/

It works like a charm.

Cheers,

@zepag
Copy link
Author

zepag commented May 10, 2013

Jason, In the precise case, I propose replacing protocols for github.com repositories with their https counterpart, which I think is fully supported. Am I missing something?

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

Successfully merging this pull request may close these issues.

4 participants