bareos: master fbad192e

Author Committer Branch Timestamp Parent
arogge Bareos Bot master 2024-09-24 16:02 master 16665b22 Pending
Changeset devtools: improve update-license

update-license will now fetch the licenses from the CPM packages we
consume.
To achieve this we run `cmake -DCPM_ONLY=ON -DUSE_LOCAL_PACKAGES=OFF`,
consume the resulting cpm-packages.yaml to find the license files and
reformat them into debian copyright format.

On a source tree that doesn't support CPM_ONLY (i.e. Bareos 23 and
older) the old behaviour is retained.
mod - devtools/pip-tools/license_utils/__init__.py Diff File
mod - devtools/pip-tools/license_utils/update_license.py Diff File
mod - devtools/pip-tools/pr_tool/main.py Diff File
add - devtools/update-license Diff File