Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

More general import paths #19

Open
tchap opened this issue Nov 20, 2013 · 0 comments
Open

More general import paths #19

tchap opened this issue Nov 20, 2013 · 0 comments

Comments

@tchap
Copy link

tchap commented Nov 20, 2013

Hi,

I was reading through the source code, wondering how you handle private repositories and stuff. I am not sure it's a good idea to implement private repositories by just prepending git@ or so. That will not work if the hosting service is not GitHub or BitBucket, there can be some other username people might want to use. Or they might feel like cloning over https.

To put it simply, it could make sense to do something similar to what package.json for NPM does:

git://github.com/user/project.git#commit-ish
git+ssh://user@hostname:project.git#commit-ish
git+ssh://user@hostname/project.git#commit-ish
git+http://user@hostname/project/blah.git#commit-ish
git+https://user@hostname/project/blah.git#commit-ish

And something similar for other versioning systems.

What do you think?

Regards,
Ondrej Kupka

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

No branches or pull requests

1 participant