1
0
Fork 0
Commit graph

7 commits

Author SHA1 Message Date
ba7827d83b
generate: generate: Add a identifying header to generated scripts
Add a header stating that the script was generated, which version
generated it and where to send bug reports.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-29 09:38:39 +02:00
ff663f7835
generate: generate: Handle empty control scripts
When a given control script is empty, because the current config is
missing a value for said script or is malformed, a script with only
the shebang was written. Change it, so that it now executes true.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-29 09:31:52 +02:00
83a2a38180
reuse: Add reuse information
Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-26 19:04:27 +02:00
2216bf68da
generate: generate: Remove debug statements
No longer needed.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-22 16:49:55 +02:00
6963fdea2a
generate: generate: Explicitly catch ConfigError
Catch ConfigError instead of Exception, which also renders noqa BLE001
obsolete.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-22 16:17:46 +02:00
b0df681fea
generate: generate: Implement writing the control scripts
Implement writing all control scripts and making them executable.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-22 14:45:52 +02:00
995a66c753
generate: Add python script to generate control scripts
Generates control scripts from a given container config. For now the
actual generate.py does nothing.

Signed-off-by: Enno Tensing <tenno@suij.in>
2025-07-22 13:00:41 +02:00