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

Handle the case when revision is wrong/non-existant #129

Open
knl opened this issue Sep 27, 2019 · 0 comments
Open

Handle the case when revision is wrong/non-existant #129

knl opened this issue Sep 27, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@knl
Copy link
Contributor

knl commented Sep 27, 2019

When running the following:

niv update terraform-provider-github -a rev=v2.21.0

I got:

Update terraform-provider-github
  Reading sources file
Could not read the output of 'nix-prefetch-url'. This is a bug. Please create a
ticket:

  https://github.com/nmattia/niv/issues/new

Thanks! I'll buy you a beer.
stdout:

stderr:
error: unable to download 'https://github.com/terraform-providers/terraform-provider-github/archive/v2.21.0.tar.gz': HTTP error 404


One or more packages failed to update:
terraform-provider-github: ExitFailure 1

ERROR: ExitFailure 1

The problem is that v2.21.0 doesn't exist (I made a typo).

@nmattia nmattia added the bug Something isn't working label Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants