[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building a software toolchain that works
From: |
Ludovic Courtès |
Subject: |
Re: Building a software toolchain that works |
Date: |
Tue, 15 Mar 2022 09:19:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
"David Arroyo" <david@aqwari.net> skribis:
> One could develop a `guix contribute <package>` subcommand or standalone
> script that would implement the following workflow:
>
> 1. Obtain the source and unpack it into a writable working directory,
> skipping downstream patches and snippets.
> 2. Drop the user into a shell with the build and test inputs present.
> Perhaps with the scripts $PWD/.guix/test and $PWD/.guix/build added
> to run the build and test actions as needed.
> 3. After the user has made changes, and maybe signalled completion
> somehow, run the tests and build all outputs.
> 4. Once the user exits, output a diff that's suitable for git send-email.
I like that idea, that’d be a great tool to have! And indeed, we have
all the building blocks.
Ludo’.
Re: Building a software toolchain that works, Olivier Dion, 2022/03/14