Skip to content

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

@Bo98

Description

@Bo98

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? 😸

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions