Add a new `info` property that holds the `meta.ModuleInfo` info for the stage. This gives each instance of a stage access to meta (or class) information about it, i.e. its schema, docs but, more importantly, also its name and path to the executable. Thefore the `name` property is coverted into a transient property which access the `name` member of `info`. Change the `formats/v1` load mechanism to carry a new `index` argument which is used to load the `ModuleInfo` for each stage. Adapt all tests to load the info as well when creating stages. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_api.py | ||
| test_buildroot.py | ||
| test_monitor.py | ||
| test_objectstore.py | ||
| test_osbuild.py | ||
| test_util_ctx.py | ||
| test_util_jsoncomm.py | ||
| test_util_linux.py | ||
| test_util_osrelease.py | ||
| test_util_ostree.py | ||
| test_util_rmrf.py | ||
| test_util_selinux.py | ||