The utility for building of AlmaLinux distributions (repos, ISO images).
0d306d4964
The mechanisms here are a bit subtle and the kiwibuild phase didn't quite get them right. The arg passed to `util.failable` is supposed to be a boolean, but kiwibuild was passing it the list of failable arches (which will always evaluate True). How this is meant to work is that we only make *the Koji task as a whole* failable (by passing `True` to `util.failable`) if *all* the arches in it are failable. If *any* arch in the task is not failable, the task should not be failable. We allow a subset of arches to fail by passing the Koji task a list of `optional_arches`, later. If an arch is 'optional', that arch failing won't cause the Koji task itself to be considered failed. This commit fixes the logic (I hope), renames all the variables and adds a couple of comments to make it clearer what's going on, and does a bit of making the code simpler. Signed-off-by: Adam Williamson <awilliam@redhat.com> |
||
---|---|---|
contrib | ||
doc | ||
pungi | ||
pungi_utils | ||
share | ||
tests | ||
.gitignore | ||
AUTHORS | ||
COPYING | ||
git-changelog | ||
GPL | ||
Makefile | ||
MANIFEST.in | ||
pungi.spec | ||
README.md | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
TODO | ||
tox.ini |
Pungi
Pungi is a distribution compose tool.
Composes are release snapshots that contain release deliverables such as:
- installation trees
- RPMs
- repodata
- comps
- (bootable) ISOs
- kickstart trees
- anaconda images
- images for PXE boot
Tool overview
Pungi consists of multiple separate executables backed by a common library.
The main entry-point is the pungi-koji
script. It loads the compose
configuration and kicks off the process. Composing itself is done in phases.
Each phase is responsible for generating some artifacts on disk and updating
the compose
object that is threaded through all the phases.
Pungi itself does not actually do that much. Most of the actual work is delegated to separate executables. Pungi just makes sure that all the commands are invoked in the appropriate order and with correct arguments. It also moves the artifacts to correct locations.
Links
- Documentation: https://docs.pagure.org/pungi/
- Upstream GIT: https://pagure.io/pungi/
- Issue tracker: https://pagure.io/pungi/issues
- Questions can be asked in the #fedora-releng IRC channel on irc.libera.chat
or in the matrix room
#releng:fedoraproject.org