Provide a stable URL for latest binary downloads?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
timholy
Posts: 13
Joined: 2013-03-04T07:34:13-07:00
Authentication code: 6789

Provide a stable URL for latest binary downloads?

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Provide a stable URL for latest binary downloads?

Post 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.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Provide a stable URL for latest binary downloads?

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
timholy
Posts: 13
Joined: 2013-03-04T07:34:13-07:00
Authentication code: 6789

Re: Provide a stable URL for latest binary downloads?

Post 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.
timholy
Posts: 13
Joined: 2013-03-04T07:34:13-07:00
Authentication code: 6789

Re: Provide a stable URL for latest binary downloads?

Post by timholy »

But I might look into the GitHub releases thing. Thanks for the tip!
Post Reply