Bug #12823
Provide a rule to construct a JSON formatted mapping of components
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Description
To allow for dependency resolution and batch processing of components based on fmris it would be useful to build a mapping between fmris and component directories.
This mapping consists of a JSON formatted file containing component entries with:
- name
- fmri
- path
The mapping.json
file is constructed by bass-o-matic by iterating on the component directories and reading the pkg5 JSON file holding metadata:
- the file is created using
print-package-names
andprint-required-packages
if it does not exist, - an error is thrown if the list of supplied packages is empty.
No data to display