Re: Update Hombrew install instructions on the web site

Thomas Leonard <[email protected]>
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy-BnGsNvdTyKwWXZKRQMzzqmj6deNH2znV6HWA6H70zkQ@mail.gmail.com>
On 2 August 2015 at 23:12, Anders F Björklund <[email protected]> wrote:
> Anders F Björklund wrote:
>> So the whole idea of "locally vendoring" the opam modules sounds
>> like it won't work. OPAM is too high-level, and too "easy-to-use".
>>
>> And the whole artificial problem isn't worthy of solving anyway.
>>
>>
>> The two reasonable solutions is either to require (depends_on)
>> the modules, and the user uses opam. Or just use "opam install".
>>
>> And since neither is "allowed" by the upstream, there just won't
>> be any binary package. Current build instructions will have to do.
>>
>
> Hmm, maybe I spoke too soon. I think this is a nice compromise:
> https://github.com/Homebrew/homebrew/compare/master...afb:0install
>
> It will allow you to install the latest and greatest from 0install
> and from OPAM, or it will resource the modules at time of release:
>
> 484K    zero-install-2.8.tar.bz2
> 24K     zero-install--biniou-1.0.9.tar.gz
> 24K     zero-install--cppo-1.1.2.tar.gz
> 16K     zero-install--easy-format-1.0.2.tar.gz
> 72K     zero-install--extlib-1.6.1.tar.gz
> 808K    zero-install--lablgtk-2.18.3.tar.gz
> 304K    zero-install--lwt-2.4.6.tar.gz
> 108K    zero-install--ocurl-0.7.2.tar.gz
> 104K    zero-install--ounit-2.0.0.tar.gz
> 92K     zero-install--react-1.2.0.tar.gz
> 16K     zero-install--sha-1.9.tar.gz
> 52K     zero-install--xmlm-1.2.0.tar.gz
> 28K     zero-install--yojson-1.1.8.tar.gz
> 2.1M    total
>
> In the end, it was just about telling opam which versions to use...
> It will still try to download any missing parts, so that it works.
>
> And now it is easy to update the modules, for 0install 2.9 and on.
> Since they are all statically linked, no need to "vendor" anything.
>
>
> This variant should be able to make it into the official brew repo ?
> The linuxbrew install is reasonable, so the bottles should be small.
>
> $ brew install 0install
> Cellar/zero-install/2.8: 34 files, 11M, built in 107 seconds
>
> --anders
>
>
> PS. In the end I made do without any fancy opam scripts.
> Just reset the opam-repository to the time of release...

Looks good :-)


-- 
Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------
_______________________________________________
Zero-install-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zero-install-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.