Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vbs dependancy has been deleted #97

Closed
jc21 opened this issue Jun 23, 2019 · 2 comments
Closed

vbs dependancy has been deleted #97

jc21 opened this issue Jun 23, 2019 · 2 comments
Milestone

Comments

@jc21
Copy link

jc21 commented Jun 23, 2019

Description

http://github.com/variadico/vbs not found when installing deps

Use case

building your package

Steps to reproduce

build your package

Expected behavior

successful build

Actual behavior

dep ensure

Solving failure: 
        (1) failed to list versions for https://github.com/variadico/vbs: fatal: could not read Username for 'https://github.com': terminal prompts disabled
: exit status 128
        (2) failed to list versions for ssh://git@github.com/variadico/vbs: Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
: exit status 128
        (3) failed to list versions for git://github.com/variadico/vbs: fatal: remote error: 
  Repository not found.
: exit status 128
        (4) failed to list versions for http://github.com/variadico/vbs: fatal: could not read Username for 'https://github.com': terminal prompts disabled
: exit status 128

Version

golang 1.12

Side note

go module support would be nice

@variadico variadico added this to the 3.2.0 milestone Jun 25, 2019
@variadico
Copy link
Owner

Noti uses a vendor directory. Unfortunately, modules still have some bugs with vendoring, which aparently may not be fixed until Go 1.14. 😢

In order to build this project with Go 1.12, you need to set an environment variable.

export GOFLAGS="-mod=vendor"
make build

If this has impacted you, the Go team would like to hear an experience report. Maybe you could comment on one of these tickets or create a new one.

The whole point of vendoring is to avoid situations like these. It sucks that modules have broken this behavior.

By the way, I've moved over the dev branch to modules. You still have the same problem, but if you need to build from source, then you can just do make build. https://github.com/variadico/noti/tree/dev

Otherwise, if you just need a binary, then you can grab one from the releases page.
https://github.com/variadico/noti/releases

@variadico
Copy link
Owner

I'm gonna close this for now because there's not much else we can do until 1.14. The code does build when you set the vendor flag and modules is coming in noti 3.2.0.

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

No branches or pull requests

2 participants