As a user I want to have a starting point for my signatures.json file so that I can spend less time modifying the defaults.
The questionary dialogue defined in import_menu_questions should receive a new option that states Built-In.
When this option is chosen then the built-in v2 schema (data/v2/distro_signatures.json) should be loaded via importlib resources. The code should utilize either the backport (already defined in setup.py) or the standard library.
Under no circumstance, it should be possible to overwrite the built-in config file.
As a user
I want to have a starting point for my signatures.json file
so that I can spend less time modifying the defaults.
The questionary dialogue defined in
import_menu_questions
should receive a new option that statesBuilt-In
.When this option is chosen then the built-in v2 schema (
data/v2/distro_signatures.json
) should be loaded via importlib resources. The code should utilize either the backport (already defined in setup.py) or the standard library.Under no circumstance, it should be possible to overwrite the built-in config file.
Hint: The method to react correctly for the menu can be found here. https://github.com/cobbler/libcobblersignatures/blob/c5ca25fbe23a7916a9745788f5f9f158dc87d00d/libcobblersignatures/cli.py#L422