On 29. 01. 21 15:02, Richard W.M. Jones wrote:
On Fri, Jan 29, 2021 at 12:44:58PM +0100, Miro Hrončok wrote:
For Koji, you cannot install arbitrary packages.
What if instead, Koji allowed to set arbitrary macros on builds (and
it keeps their definition for further reference). That way, you will
be able to do:
$ fedpkg build --with bootstrap
$ koji wait-repo ...
$ fedpkg build
From the same commit. No package installation required.
How would it "keep their definition"? It sounds like it could be a
trap making it hard to understand how to reproduce a build issue /
reproduce a build at all.
Having said that, it's something I've wanted in the past and it'd be a
nice feature.
Currently a Koji task says:
Source:
git+https://src.fedoraproject.org/rpms/python3.9.git#563b4f4b59a9f81095acfe30899fdc4b040c1b9b
Build Target: f34-rebuild
Options:
fail_fast = True
wait_builds =
Example taken from https://koji.fedoraproject.org/koji/taskinfo?taskID=60654655
With this feature, it would say:
Source:
git+https://src.fedoraproject.org/rpms/python3.9.git#563b4f4b59a9f81095acfe30899fdc4b040c1b9b
Build Target: f34-rebuild
Options:
fail_fast = True
wait_builds =
Macro overrides:
_with_bootstrap: 1
And when reproducing, you'd just run the same command, e.g.
$ koji build f34-rebuild --fail-fast --macro '_with_bootstrap 1'
'git+https://src.fedoraproject.org/rpms/python3.9.git#563b4f4b59a9f81095acfe30899fdc4b040c1b9b'
The Koji web interface could even display the command.
That's very much as reproduce as now.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx