The -a convenience option is intended to execute the full Patchman maintenance workflow, including errata processing.
However, the CLI currently appears to set:
while the later processing code checks:
Expected behaviour:
-a should set all of the same internal arguments as the documented group of individual maintenance options.
Suggested fix:
Change args.errata = True to args.update_errata = True, or otherwise ensure that -a uses the same argument consumed by downstream processing.
Impact:
Scheduled jobs using patchman -a may appear to complete successfully while not performing all documented maintenance operations.
The
-aconvenience option is intended to execute the full Patchman maintenance workflow, including errata processing.However, the CLI currently appears to set:
while the later processing code checks:
Expected behaviour:
-ashould set all of the same internal arguments as the documented group of individual maintenance options.Suggested fix:
Change
args.errata = Truetoargs.update_errata = True, or otherwise ensure that-auses the same argument consumed by downstream processing.Impact:
Scheduled jobs using
patchman -amay appear to complete successfully while not performing all documented maintenance operations.