Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Use stable import paths #17

Open
andyone opened this issue Apr 5, 2016 · 3 comments
Open

Use stable import paths #17

andyone opened this issue Apr 5, 2016 · 3 comments

Comments

@andyone
Copy link

andyone commented Apr 5, 2016

Hi! Currently cpustat import latest versions of packages (master branch in repo). If some imported package change public API, installation by go get command will be broken.

I highly recommend to use import proxy for "freezing" imported version (gopkg.in or pkg.re).

@mranney
Copy link
Contributor

mranney commented Apr 5, 2016

I was about to convert to glide. Does that work for you?

@mranney
Copy link
Contributor

mranney commented Apr 6, 2016

I just added glide files to pin the dependencies. This still doesn't address the fact that "go get" might blow up in the future if something breaks.

@andyone
Copy link
Author

andyone commented Apr 6, 2016

Does that work for you?

So-so. We doesn't use go get for installing golang apps. In most cases we pack all sources with gopack utility (it freeze all deps and protect as from deleting repo by owner) and build rpm packages.

Anyway go get is most popular way for installing golang apps and you find out that something's wrong with deps only from issues.

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

No branches or pull requests

2 participants