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

More general import paths #19

@tchap

Description

@tchap

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions