ocaml-installer icon indicating copy to clipboard operation
ocaml-installer copied to clipboard

more reliable hosting?

Open andyli opened this issue 9 years ago • 2 comments

I've been trying to download and run the installers in AppVeyor. From my observation, the download process has a 50-50 chance of failure with the error message:

curl -fsS -o ocaml-installer.exe --retry 3 http://gallium.inria.fr/~protzenk/caml-installer/ocaml-4.02.3-i686-mingw64-installer4-opam.exe
curl: (18) transfer closed with 77220558 bytes remaining to read

Is it possible for the installer to be hosted in a more reliable place?

One solution is to use Bintray, which is free for open source projects. You may create an organization and host the installers there.

Another solution is to use Github's releases, which allow attaching binaries to a tagged release.

andyli avatar May 13 '16 20:05 andyli

Alright, so if I understand correctly, for GitHub releases, I would have to create a tag wherein the repository contains a single file (the generated installer). Then, the GitHub release would be a .zip file containing an .exe file?

There's my personal server which runs at protzenko.fr and is hosted by OVH, so it's reliable, but probably only gives good bandwidth in Europe.

Bintray seems like quite a decent solution, then. Thanks for the tip, I'll try to use that when I refresh the installer for 4.03.0!

protz avatar May 16 '16 11:05 protz

For GitHub releases, no. You just create a tag in this repo, and then click the "Draft a new release" button. It will take you to a page where you can attach arbitrary files.

But yeah, using either Github or Bintray will be great!

andyli avatar May 16 '16 13:05 andyli