Dlib: Have a release named 'dlib-latest.zip' for use by scripting?

Created on 17 Jul 2017  Â·  6Comments  Â·  Source: davisking/dlib

Hi,

This is such a small feature request that it really only constitutes a change in deployment practice.

I'd just like to put up the idea that there be a dlib-latest.zip file placed in dlib.net/files so that when I write a script (mainly a Dockerfile) to build an environment, I'm always getting the latest version automatically.

I'm open to arguments as to why this may be a bad idea, or potentially the suggestion that I would be better off just running a 'git clone' on this repository?

Andrew

Most helpful comment

Did you want the latest commit in master: https://github.com/davisking/dlib/archive/master.tar.gz ?
Or the latest release: https://github.com/davisking/dlib/releases/latest ?
curl -s https://api.github.com/repos/davisking/dlib/releases/latest | grep tarball_url | cut -d '"' -f 4

All 6 comments

Why don't you just grab the latest copy from github?

Did you want the latest commit in master: https://github.com/davisking/dlib/archive/master.tar.gz ?
Or the latest release: https://github.com/davisking/dlib/releases/latest ?
curl -s https://api.github.com/repos/davisking/dlib/releases/latest | grep tarball_url | cut -d '"' -f 4

Hi Davis,

Good point - so would you expect that the latest version from Github would
be as stable as a 'release version' placed on the website?

The basis of my feature request was probably incorrectly assuming that this
may not be the case.

Apologies,
Andrew

On Mon, Jul 17, 2017 at 8:07 PM, Davis E. King notifications@github.com
wrote:

Why don't you just grab the latest copy from github?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/davisking/dlib/issues/712#issuecomment-315715171, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYHjvalwTYTNDXVBAcA_FMSXrYnhqe5Bks5sOzJ9gaJpZM4OZkzO
.

No, it won't be as stable. The whole point of a release is that it's specifically a good stable reference point.

That's not to say that dlib isn't generally stable all the time. But really, stability is pretty much the defining feature of a 'release'.

If you want the latest release you can get it out of the html on the web page, or write a rule about getting the latest file, or release from github. There are a lot of options.

Sorry, I'm a bit new to GitHub - didn't realize it was that easy.

No worries.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ardamavi picture ardamavi  Â·  3Comments

joeking11829 picture joeking11829  Â·  5Comments

maromcik picture maromcik  Â·  4Comments

jackweiwang picture jackweiwang  Â·  4Comments

AeroClassics picture AeroClassics  Â·  4Comments