[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] [opam-devel] opam installext packaged up

Awesome!  I've just cut an installext.1.0.1 with some fixes for Debian and 
CentOS detection (thanks to Dave Scott for the latter).

I think we should maintain both a shell script and an OCaml-based distro 
detection, since they are both of use in different contexts (installation vs 
programmatic use in OPAM).

How about turning the distro detection logic into a separate library called 
os-identify, and then opam-installext can just become a thin shell on top of 
that?  For now though, if you have no objection I'll move avsm/opam-installext 
under the ocaml/ org since it's used by a lot of the bulk build scripts already.

I'm CCing xen-api@xxxxxxxxxxxxx, as the Citrix folk may be interested in having 
the OCaml library as well...


> On 28 Dec 2014, at 03:10, Louis Gesbert <louis.gesbert@xxxxxxxxxxxx> wrote:
> Let's synchronize our efforts! I've been doing the same but in OCaml 
> recently; not handling as many archs though.
> https://github.com/AltGr/opam-installext
> Le 28 dÃcembre 2014 06:06:50 UTC+09:00, Peter Zotov 
> <whitequark@xxxxxxxxxxxxxx> a Ãcrit :
>> On 2014-12-28 00:01, Anil Madhavapeddy wrote:
>>> On 27 Dec 2014, at 19:36, Peter Zotov <whitequark@xxxxxxxxxxxxxx> 
>>> wrote:
>>>> On 2014-12-27 22:20, Anil Madhavapeddy wrote:
>>>>> Hi,
>>>>> I've been cleaning up some of the bulk building infrastructure, and
>>>>> so
>>>>> have packaged up opam-installext into an OPAM package as Thomas
>>>>> Gazagnaire suggested a while back:
>>>>> https://github.com/ocaml/opam-repository/pull/3296
>>>> Nice! The next step is tighter integration with OPAM...
>>> Yep -- I just wanted to get all the hacky shell script and OS distro
>>> detection stuff into a package first, since that will really benefit
>>> from a wider contribution base.  I couldn't find anything out there
>>> for doing distro detection from shell scripts -- does anyone know of
>>> an existing tool to replace the `configure` script in
>> opam-installext?
>> To my knowledge, the mechanism you're using is about the best you can 
>> do.

Xen-api mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.