Re: source code distribution

Thomas Leonard <[email protected]> Sat, 10 Jul 2021 10:06:31 +0000
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy8Y7WWR1v1am2kTRs0JGDsf80WgqTBEA4wzV0wLkUrYNA@mail.gmail.com>
On Thu, 8 Jul 2021 at 17:23, Dirk Muysers <[email protected]> wrote:
>
> I am currently pondering about different software deployment methods. If I envisage to deploy my open software libraries and apps through 0install, sure one can run the code, but how can users peruse the source code? I found only a 0compile command to compile the source locally. So far I use 0install only to download foreign apps.

If they just want to look at it, this will download the source (and
build dependencies) and display where it put them:

$ 0install download --show --source URL

To change it, use 0compile, e.g. to modify the opam package:

$ 0compile setup http://0install.net/tests/GNU-Hello.xml
$ cd GNU-Hello
$ 0compile copy-src
Copied as '.../GNU-Hello/src'


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