howtowhale / dvm

Docker Version Manager
https://howtowhale.github.io/dvm/
Apache License 2.0
522 stars 50 forks source link

dvm uses wrong import path for archiver/extractor and no longer compiles from source #193

Open Bo98 opened 4 years ago

Bo98 commented 4 years ago

What didn't work?

Installing dvm from source no longer works.

$ brew install -s dvm

...

dvm-helper/internal/downloader/downloader.go:14:2: code in directory /private/tmp/dvm-20200322-44150-8mhegy/dvm-1.0.2/src/github.com/howtowhale/dvm/vendor/github.com/pivotal-golang/archiver/extractor expects import "code.cloudfoundry.org/archiver/extractor"

archiver/extractor should be vendored as code.cloudfoundry.org/archiver/extractor and imported as such instead of github.com/pivotal-golang/archiver/extractor. This is documented in their README.

What should it have done?

Successfully build from source.

Helpful Context

What version of dvm are you using? 1.0.2

What is your Operating System? macOS Mojave 10.14.6

What is your shell (bash/powershell/cmd/fish)? Bash

How did you install dvm (command-line,chocolatey,homebrew)? Homebrew

Do you like kittens? :smile_cat:

carolynvs commented 4 years ago

Thanks for the heads up!