Open seanamos opened 2 years ago
@seanamos Would you please send a pull request to this repository? I want to confirm and consider it.
Sure, I can push what I have my side.
Is this still a problem? Currently trying to use subgroup paths (gitlab) and it seems to have the same issue.
@belenkoArrival Yes the problem still exists. I apologize, I haven't had time to push up a PR with the fix (which is quite simple), my youngest son was born just a few days ago so I simply haven't had time.
look forward to solving this problem at an early date...
look forward to solving this problem at an early date...
While github.com only has repos (for now) with the following structure:
github.com/{owner}/{repo}.git
, other hosting services (gitlab.com) can have repos with the following structure:gitlab.com/a/b/c/d/e/f.git
(subgroups).When trying to use a repo like:
gitlab.com/a/b/c/d
as a target, proto-dep will try connect tossh://gitlab.com/a/b.git
.The quick fix is to change
pkg/config/schema.go/Repository()
to return the target as specified. Testing locally, this just works. However, this is technically a breaking change.