[opam-devel] How to manage a package manager (Was: Re: [opam] Build clarification (#1149))
daniel.buenzli at erratique.ch
Sat Feb 1 22:45:46 GMT 2014
Le samedi, 1 février 2014 à 23:31, Daniel Bünzli a écrit :
> Here's what my naivety says. Why not just have the latest version written in a text file you can GET e.g. at http://opam.ocaml.org/latest-version and on `opam update` check that url too. If there's a mismatch between the user's version and the one in http://opam.ocaml.org/latest-version propose to automatically upgrade by downloading the latest tarball in /tmp configure build and install (at the same previous location opam used to be).
Well of course this should be done if you installed it manually in the first place I guess OS package manager would not be that happy with auto updating binaries.
More information about the opam-devel