The utility for building of AlmaLinux distributions (repos, ISO images).
a209bda73c
When modules are used, there are lot of small package sets. These package sets have usually less than 500 packages. The createrepo part of `MaterializedPackageSet.create` executed for such small set of packages takes around 1 second. Most of this time the createrepo_c runs in single thread. It does the initialization, it writes the XML files, ... The parts of createrepo which can be run in parallel and therefore would use all the CPUs are quite small for very small package sets. This commit therefore executes multiple threads with `MaterializedPackageSet.create` for these very small package sets. This saves around 40 seconds from pkgset phase for RHEL compose. Signed-off-by: Jan Kaluza <jkaluza@redhat.com> |
||
---|---|---|
contrib/yum-dnf-compare | ||
doc | ||
pungi | ||
pungi_utils | ||
share | ||
tests | ||
.gitignore | ||
AUTHORS | ||
COPYING | ||
git-changelog | ||
GPL | ||
Makefile | ||
MANIFEST.in | ||
pungi.spec | ||
README.md | ||
setup.py | ||
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 on #fedora-releng IRC channel on FreeNode