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

Patch submodules to use read-only URL rather than anonymous #217

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

Conversation

rizard
Copy link

@rizard rizard commented Jan 12, 2016

Reviewer: @capveg

@rlane
Copy link
Contributor

rlane commented Jan 12, 2016

You can use SSH even for repositories you can't write to. You do need to have a public key registered with GitHub.

@rizard
Copy link
Author

rizard commented Jan 12, 2016

@rlane Someone on the Indigo list was having trouble running the makefile when it tried to clone the submodules. I had trouble myself even though I have my public key registered.

@rlane
Copy link
Contributor

rlane commented Jan 12, 2016

Try "git clone git@github.com:docker/docker". I'm able to clone that without write access.

@rizard
Copy link
Author

rizard commented Jan 12, 2016

I can't clone that. Let me make sure I'm using the correct public key. Regardless, should we allow people to clone the submodules without having a public key registered?

@rizard
Copy link
Author

rizard commented Jan 12, 2016

@rlane Yep, works now that I'm using the right key pair. But, I'm still wondering if we should require that. The repositories are public.

@capveg
Copy link

capveg commented Jan 13, 2016

@rlane agreed that one can still download this without write access (my fault in being imprecise in the description of the problem to Ryan) but IMHO it's just nicer for folks to be able to download the code without a github account. Particularly since they can download the main repo (e.g., indigo) without an account and instead get a weird error about not having permissions when they try to init the submodules.

It's more of a user experience thing -- we've been trying to be vigilant about this on the ONL side for a bit.

Does that change your thinking?

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.

None yet

3 participants