You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
I ran into issues with dep and a private bitbucket instance. Dep generated errors along the lines of
unable to deduce repository and source type
I found a similar incident. #1551 (closed and linked to #860) had a comment from Sam ("bitbucket doesn't implement go-get metadata correctly") that led me to a workaround.
We set up a vanity server that returns the expected format for bitbucket repos. After updating our import statements (which was easy because they all pointed to that private instance), Dep's working as expected.
The text was updated successfully, but these errors were encountered:
Our Bitbucket server was prefixing the metadata with /scm/and not adding .git as a suffix. The vanity hack sets them before redirecting to Bitbucket.
You can find the server at https://github.com/mdhender/vango. It's just a light wrapper around Kare Nuorteva's vanity package. The only significant change was adding a response to remind our developers to update their .gitconfig and .ssh. The .ssh change is needed only if the Bitbucket repo's not public (most of our internal repos are private and require an SSH key).
Thanks for this! Be sure to try out tip which I think may offer more help here - @theckman added custom Bitbucket logic to try to distinguish these cases.
Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!
I ran into issues with dep and a private bitbucket instance. Dep generated errors along the lines of
unable to deduce repository and source type
I found a similar incident. #1551 (closed and linked to #860) had a comment from Sam ("bitbucket doesn't implement go-get metadata correctly") that led me to a workaround.
We set up a vanity server that returns the expected format for bitbucket repos. After updating our import statements (which was easy because they all pointed to that private instance), Dep's working as expected.
The text was updated successfully, but these errors were encountered: