Re: Selecting a mix of source and binary implementations

Thomas Leonard <[email protected]> Fri, 5 May 2017 07:41:01 +0100
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy93x5ETK5aLCo73q_SWmxea-ZDyX4xHvieJGudCXKCGjw@mail.gmail.com>
On 3 May 2017 at 22:33, Tim Diels <[email protected]> wrote:
> Dear all,
>
> How do you 0launch an interface which requires a mix of source and binary
> implementations to be selected? Plain `0launch` only uses binaries, `0launch
> --source` only uses source implementations. Consider a mixed_interface.xml
> with an implementation which requires both interface1 and interface2. The
> former only has binary implementations, the latter only has source
> implementations. How do I 0launch mixed_interface.xml such that a source
> implementation of interface2 is compiled and its resulting binary
> implementation is selected along with a binary implementation from
> interface1.
>
> This is useful for PyPI to 0install feed conversion. Without this, hosting
> of about 0.5 to 1TB of binary implementations would need to be found for it
> to work.

Currently, you can't. "0install select --may-compile" will select both
source and binary implementations, but you then have to compile the
source ones yourself (with 0compile). The plan was to extend "0install
run" to do that. Tim made a PR a while back, but it needs updating:
https://github.com/0install/0install/pull/29


-- 
talex5 (GitHub/Twitter)        http://roscidus.com/blog/
GPG: 5DD5 8D70 899C 454A 966D  6A51 7513 3C8F 94F6 E0CC

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot