Page 1 of 1

Provide a stable URL for latest binary downloads?

Posted: 2015-08-11T11:13:05-07:00
by timholy
I'm the principal maintainer for the "Images.jl" package for the Julia programming language. We wrap parts of `libmagickwand` for I/O. Our Windows users have episodically had problems installing our package, and usually these failures happen because it fails to download the appropriate ImageMagick binary.

We used to hard-code a particular URL, but since old versions seem to get removed periodically, we've switched to parsing your download page and extracting some valid URL that way. Obviously, this is sensitive to how you format your page, and we've recently had problems crop up again.

I'm wondering, is there some kind of stable URL for "the latest Windows 32/64bit version in series X.Y"? If there isn't, could one be provided? It would definitely make our lives easier. Thanks in advance for your consideration!

Re: Provide a stable URL for latest binary downloads?

Posted: 2015-08-11T12:48:41-07:00
by magick
Stables source releases are found here: ftp://ftp.imagemagick.org/pub/ImageMagick/releases and here: ftp://ftp.imagemagick.org/pub/ImageMagi ... /releases/. We only keep one copy of the Windows and Linux binary distribution.

Re: Provide a stable URL for latest binary downloads?

Posted: 2015-08-11T13:03:24-07:00
by dlemstra
Maybe you could host the files on Github instead (https://help.github.com/articles/distri ... -binaries/)? This way you can force the user to install a specific version of ImageMagick.

Re: Provide a stable URL for latest binary downloads?

Posted: 2015-08-11T14:32:36-07:00
by timholy
We only keep one copy of the Windows and Linux binary distribution.
Right. What I'm asking is this: in addition to the copy that's named `ImageMagick-6.9.1-10-Q16-HDRI-x86-dll.exe`, can you also have a symlink to it with a stable name (url) like `ImageMagick-6.9-latest-Q16-HDRI-x86-dll.exe`? That way when you bump up to the next version, our code doesn't have to do magical incantations to determine the correct URL to download.

Re: Provide a stable URL for latest binary downloads?

Posted: 2015-08-11T14:43:58-07:00
by timholy
But I might look into the GitHub releases thing. Thanks for the tip!