Skip to content
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.

Private repository support request #54

Open
ghost opened this issue May 25, 2016 · 1 comment
Open

Private repository support request #54

ghost opened this issue May 25, 2016 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented May 25, 2016

This is a feature request, not a bug report.

It would be nice if GVT added support for private repositories. There's some discussion for git repositories here, and a script for bitbucket here. Russ Cox mentions here that bad private repo support it's a design flaw in Go, but the discussion is an old one.

The issue is in Go; it would be super useful, and extremely relevant to gvt's use case, if a solution were included in gvt.

@ghost
Copy link
Author

ghost commented May 25, 2016

A hack-around that works is to manually edit the manifest and add in the dependencies array, e.g.:

                {
                        "importpath": "bitbucket.org/privateorg/privateproj",
                        "repository": "ssh://hg@bitbucket.org/privateorg/privateproj",
                        "revision": "ab5f07cc4b37",
                        "branch": "default"
                },

Since all contributors access bitbucket as hg@bitbucket.org, this works across development teams. This has to be added only once and committed, then GVT works fine with other debs.

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

No branches or pull requests

1 participant