Re: Produce extra build artifacts during package builds

2024-08-03 Thread Simon McVittie
On Fri, 02 Aug 2024 at 21:03:05 +0200, Niels Thykier wrote: > I think it is more of a question whether [artifacts in /tmp] will be supported > initially (might require a per-source TMPDIR too for buildd support, so > artifacts does not get tainted because the buildd was running two builds at > the

Re: Produce extra build artifacts during package builds

2024-08-03 Thread Simon McVittie
On Sat, 03 Aug 2024 at 15:15:10 +0900, Mattia Rizzolo wrote: > Consider that in my mind, most packages wouldn't have needed to write > any imperative code. > I was considering it for example within dh_auto_configure and > dh_auto_test, etc, those tools would be responsible for copying the > relevan

Re: Produce extra build artifacts during package builds

2024-08-02 Thread Mattia Rizzolo
On Fri, Aug 02, 2024 at 11:01:24AM +0100, Simon McVittie wrote: > I also did some more concrete design and wrote a prototype - > as revised > in , and >

Re: Produce extra build artifacts during package builds

2024-08-02 Thread Niels Thykier
Simon McVittie: On Fri, 02 Aug 2024 at 18:17:52 +0200, Niels Thykier wrote: Simon McVittie: In the design that I prototyped, it's declarative, loosely inspired by the equivalent Gitlab-CI feature: - the maintainer can write patterns into debian/build-artifacts for package-specific quirks l

Re: Produce extra build artifacts during package builds

2024-08-02 Thread Simon McVittie
On Fri, 02 Aug 2024 at 18:17:52 +0200, Niels Thykier wrote: > Simon McVittie: > > In the design that I prototyped, it's declarative, loosely inspired by > > the equivalent Gitlab-CI feature: > > > > - the maintainer can write patterns into debian/build-artifacts for > >package-specific quirks

Re: Produce extra build artifacts during package builds

2024-08-02 Thread Niels Thykier
Simon McVittie: On Fri, 02 Aug 2024 at 16:40:15 +0900, Mattia Rizzolo wrote: [...] * decide on a directory name (`./debian/export_artifacts/`?) * the build process will dump any files that could be interesting to export in there (no decision if/how to define the structure within t

Re: Produce extra build artifacts during package builds

2024-08-02 Thread Simon McVittie
On Fri, 02 Aug 2024 at 16:40:15 +0900, Mattia Rizzolo wrote: > Lastly I think https://lists.debian.org/debian-devel/2022/02/msg00216.html > to which Simon had a quite nice answer. I also did some more concrete design and wrote a prototype -

Produce extra build artifacts during package builds

2024-08-02 Thread Mattia Rizzolo
Hello people, just now at DebConf we had a small BOF to discuss this problem, that has several times come up. Lastly I think https://lists.debian.org/debian-devel/2022/02/msg00216.html to which Simon had a quite nice answer. This is what we came up with: https://wiki.debian.org/BuildArtifacts#D