The utility for building of AlmaLinux distributions (repos, ISO images).
c93207addb
When a property has 'alias' defined, and it's not present in instance, if the alias property is present, add the property with value from alias property before remove the alias property from instance. Examples: with schema: { "$schema": "http://json-schema.org/draft-04/schema#", "title": "Pungi Configuration", "type": "object", "properties": { "release_name": {"type": "string", "alias": "product_name"}, }, "required": ["release_name"], "additionalProperties": False, } 1. config = {"release_name": "dummy product"}: validate pass, config not changed after validation. 2. config = {"product_name": "dummy product"}: validate pass, config updated to the following after validation: config: {"release_name": "dummy product"} 3. config = {"name": "dummy product"}: validate fail, errror message is "Failed validation in : 'release_name' is a required property", and warning message is "WARNING: Unrecognized config option: name." 4. config = {"product_name": "dummy product", "release_name": "dummy product"} validate fail, error message is "Failed validation in : product_name is an alias of release_name, only one can be used." Signed-off-by: Qixiang Wan <qwan@redhat.com> |
||
---|---|---|
bin | ||
doc | ||
pungi | ||
pungi_utils | ||
share | ||
tests | ||
.gitignore | ||
AUTHORS | ||
COPYING | ||
git-changelog | ||
GPL | ||
Makefile | ||
MANIFEST.in | ||
pungi.spec | ||
README.md | ||
RELEASE-NOTES | ||
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
- Upstream GIT: https://pagure.io/pungi/
- Issue tracker: https://pagure.io/pungi/issues
- Questions can be asked on #fedora-releng IRC channel on FreeNode