azurecopy-go icon indicating copy to clipboard operation
azurecopy-go copied to clipboard

build and vendor package management

Open sentient opened this issue 7 years ago • 4 comments

How do you build this code? And how do you resolve the vendor packages?

I took all the code, and playing around to use glide for package management, but that did not got me very far. I was wondering you you create your releases

thanks,

sentient avatar Sep 12 '17 03:09 sentient

Hi

Previously I've simply downloaded the various packages "go get ......." then I just run gox to create all the various binaries I want. I haven't looked into a way of downloading all my dependencies in a single command (that is something I want to do, but no real urgency yet).

Cheers

Ken

kpfaulkner avatar Sep 13 '17 05:09 kpfaulkner

Have a look at glide

sentient avatar Sep 13 '17 05:09 sentient

hm, I'm somehow not able to build this package on Linux.

go get github.com/kpfaulkner/azurecopy-go/azurecopy does not download dependencies.

# go get github.com/kpfaulkner/azurecopy-go/azurecopy
package azurecopy/azurecopy/handlers: unrecognized import path "azurecopy/azurecopy/handlers" (import path does not begin with hostname)
package azurecopy/azurecopy/models: unrecognized import path "azurecopy/azurecopy/models" (import path does not begin with hostname)
package azurecopy/azurecopy/utils: unrecognized import path "azurecopy/azurecopy/utils" (import path does not begin with hostname)
package azurecopy/azurecopy/utils/misc: unrecognized import path "azurecopy/azurecopy/utils/misc" (import path does not begin with hostname)

So using dep init I was able to download dependencies however it still does not properly resolve those local imports.

tbugfinder avatar Nov 22 '18 21:11 tbugfinder

Hi

I haven't setup up dependencies automatically yet. You'll need to "go get" the list of packages manually for now. I'll eventually get to it... but just not there yet.

Cheers

Ken

kpfaulkner avatar Nov 23 '18 02:11 kpfaulkner