Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Just release binaries to github #957

Closed
amacneil opened this issue Aug 5, 2017 · 2 comments · Fixed by #996
Closed

Just release binaries to github #957

amacneil opened this issue Aug 5, 2017 · 2 comments · Fixed by #996

Comments

@amacneil
Copy link

amacneil commented Aug 5, 2017

Thanks for creating versioned releases of dep! This will be helpful as changes are introduced to the file format & tool over time. I have a suggest to make them easier to use.

Current process to install a released verison of dep (inside a container or other):

apt-get update
apt-get install -y unzip
curl -fsSL -o dep.zip https://github.com/golang/dep/releases/download/v0.3.0/dep-linux-amd64.zip
unzip dep.zip
rm dep.zip
mv dep /usr/local/bin/dep
chmod +x /usr/local/bin/dep

Instead, if you simply published the binary to github (do not zip it):

curl -fsSL -o /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.3.0/dep-linux-amd64
chmod +x /usr/local/bin/dep

Many other go projects do this (publish the binaries directly to the github release), it would be awesome if dep can too.

@sdboyer
Copy link
Member

sdboyer commented Aug 5, 2017

Thanks for creating versioned releases of dep!

💯 💯 👍

Instead, if you simply published the binary to github (do not zip it):

this seems fair, we don't actually have multiple files to zip up there.

are there any drawbacks to doing this, other than the minor increase in file size?

@amacneil
Copy link
Author

amacneil commented Aug 5, 2017

are there any drawbacks to doing this, other than the minor increase in file size?

Not that I know of. gosu uses this approach, and I've used it for personal projects.

I was hoping the increase in file size would be moot with http gzip encoding, but it seems github static files (served from s3) do not support this. Either way, we're talking about a relatively small amount of data.

mattbostock added a commit to mattbostock/timbala that referenced this issue Oct 29, 2017
Upgrade dep to take advantage of bug fixes and performance improvements:
https://github.com/golang/dep/releases/tag/v0.3.2
https://github.com/golang/dep/releases/tag/v0.3.1

Versions 3.1 and later are no longer zipped:
golang/dep#957
mattbostock added a commit to mattbostock/timbala that referenced this issue Oct 29, 2017
Upgrade dep to take advantage of bug fixes and performance improvements:
https://github.com/golang/dep/releases/tag/v0.3.2
https://github.com/golang/dep/releases/tag/v0.3.1

Versions 3.1 and later are no longer zipped:
golang/dep#957
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants