Make categories configurable
Allow users to specify their own categories directly in the inventory. They don't need to be hardcoded in GIB, and they reside in the repo directly.
This will allow us to define more complex cases, for example grouping projects by features to create a complete SBOM.
These categories could be defined a yaml file specifying the name of the category and an optional color for the corresponding label.
Specs
- If custom categories are defined, they replace all categories hardcoded in GIB.
- A boilerplate categories file will be generated if it doesn't exit.
- Categories have a name and an optional color (for the labels created in GitLab and the generated static site)
- Categories will accept the same characters as GitLab labels, including scoped labels (
::
)
Edited by Philippe Lafoucrière