continuous-delivery-scripts 4.6.0__tar.gz → 4.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {continuous_delivery_scripts-4.6.0/continuous_delivery_scripts.egg-info → continuous_delivery_scripts-4.7.0}/PKG-INFO +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/_version.py +3 -3
- continuous_delivery_scripts-4.7.0/continuous_delivery_scripts/check_project_config.py +36 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/spdx_summary.py +17 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/templates/third_party_IP_report.html.jinja2 +4 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/github_helpers.py +13 -1
- continuous_delivery_scripts-4.7.0/continuous_delivery_scripts/utils/project_config_schema.py +280 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0/continuous_delivery_scripts.egg-info}/PKG-INFO +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts.egg-info/SOURCES.txt +2 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts.egg-info/entry_points.txt +1 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/setup.py +1 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/GitPython.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/Jinja2.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/Mako.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/Markdown.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/MarkupSafe.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/PyYAML.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/Pygments.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/SecretStorage.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/beartype.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/boolean.py.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/boto3.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/botocore.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/bracex.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/certifi.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/cffi.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/charset-normalizer.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/click.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/continuous-delivery-scripts.spdx +94 -76
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/cryptography.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/detect-secrets.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/docutils.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/gibberish-detector.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/gitdb.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/id.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/idna.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/jaraco.classes.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/jaraco.context.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/jaraco.functools.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/jeepney.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/jellyfish.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/jmespath.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/keyring.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/license-expression.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/licenseheaders.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/markdown-it-py.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/mdurl.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/more-itertools.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/nh3.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/packaging.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/pdoc3.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/ply.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/pyautoversion.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/pycparser.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/pyparsing.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/python-dateutil.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/python-dotenv.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/rdflib.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/readme_renderer.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/regex.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/requests-toolbelt.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/requests.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/rfc3986.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/rich.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/s3transfer.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/semantic-version.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/semver.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/setuptools.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/six.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/smmap.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/spdx-tools.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/toml.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/towncrier.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/twine.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/uritools.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/urllib3.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/wcmatch.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/xmltodict.spdx +1 -1
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/LICENSE +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/MANIFEST.in +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/README.md +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/__init__.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/assert_news.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/check_licence_compliance.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/create_news_file.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/describe_licence_obligations.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/detect_secrets.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/generate_docs.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/generate_news.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/get_config.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/get_version.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/language_specifics.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/license_files.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/BASIC.MD +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/CI.MD +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/GITHUB_ACTIONS.MD +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/GOLAND.MD +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/NOOP.MD +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/PYTHON.MD +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/__init__.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/basic.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/ci.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/docker.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/github_actions.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/golang.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/noop.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/plugins/python.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/report_third_party_ip.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/__init__.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/data/licence_assessment.toml +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/licence_assessment.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/project_licensing.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/scancode_licence_db.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/spdx_dependency.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/spdx_document.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/spdx_file.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/spdx_helpers.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/spdx_package.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/spdx_project.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/templates/licence_obligations_report.txt.jinja2 +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/templates/third_party_IP_report.csv.jinja2 +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/spdx_report/templates/third_party_IP_report.txt.jinja2 +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/sync_project_licence.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/tag_and_release.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/templates/documentation_landing.html.jinja2 +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/templates/documentation_page.html.jinja2 +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/templates/llms-full.txt.jinja2 +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/templates/llms.txt.jinja2 +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/templates/robots.txt.jinja2 +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/update_secrets_registry.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/__init__.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/aws_helpers.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/changelog.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/configuration.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/definitions.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/documentation_discovery.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/documentation_templates.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/filesystem_helpers.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/git_helpers.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/hash_helpers.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/language_specifics_base.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/logging.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/news_file.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/noop/__init__.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/noop/package_helpers.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/package_helpers.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/python/__init__.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/python/package_helpers.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/python/python_helpers.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/string_helpers.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/third_party_licences.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts/utils/versioning.py +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts.egg-info/dependency_links.txt +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts.egg-info/requires.txt +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/continuous_delivery_scripts.egg-info/top_level.txt +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/pyproject.toml +0 -0
- {continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/setup.cfg +0 -0
|
@@ -11,8 +11,8 @@ References
|
|
|
11
11
|
This file is autogenerated, do not modify by hand.
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
-
__version__ = "4.
|
|
15
|
-
COMMIT = "
|
|
14
|
+
__version__ = "4.7.0"
|
|
15
|
+
COMMIT = "2104a26a45705dc269c3be66b6c65a00947a2ecd"
|
|
16
16
|
MAJOR = 4
|
|
17
|
-
MINOR =
|
|
17
|
+
MINOR = 7
|
|
18
18
|
PATCH = 0
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
#
|
|
5
|
+
"""Validate the project's CDS ``[ProjectConfig]`` section."""
|
|
6
|
+
|
|
7
|
+
import argparse
|
|
8
|
+
import logging
|
|
9
|
+
import sys
|
|
10
|
+
|
|
11
|
+
from continuous_delivery_scripts.utils.logging import log_exception, set_log_level
|
|
12
|
+
from continuous_delivery_scripts.utils.project_config_schema import validate_project_config
|
|
13
|
+
|
|
14
|
+
logger = logging.getLogger(__name__)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def main() -> int:
|
|
18
|
+
"""Create a CLI for validating the project's CDS configuration."""
|
|
19
|
+
parser = argparse.ArgumentParser(description="Validate CDS ProjectConfig values in pyproject.toml.")
|
|
20
|
+
parser.add_argument("-f", "--config-file", help="Optional path to a pyproject.toml file.")
|
|
21
|
+
parser.add_argument("-v", "--verbose", action="count", default=0, help="Increase logging verbosity.")
|
|
22
|
+
args = parser.parse_args()
|
|
23
|
+
set_log_level(args.verbose)
|
|
24
|
+
try:
|
|
25
|
+
errors = validate_project_config(args.config_file)
|
|
26
|
+
if errors:
|
|
27
|
+
raise ValueError("Project configuration is invalid:\n- " + "\n- ".join(errors))
|
|
28
|
+
print("Project configuration is valid.")
|
|
29
|
+
return 0
|
|
30
|
+
except Exception as error:
|
|
31
|
+
log_exception(logger, error)
|
|
32
|
+
return 1
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
if __name__ == "__main__":
|
|
36
|
+
sys.exit(main())
|
|
@@ -15,6 +15,8 @@ from continuous_delivery_scripts.spdx_report.spdx_helpers import (
|
|
|
15
15
|
get_package_manual_check,
|
|
16
16
|
get_package_manual_licence,
|
|
17
17
|
)
|
|
18
|
+
from continuous_delivery_scripts.utils.git_helpers import get_project_remote_url
|
|
19
|
+
from continuous_delivery_scripts.utils.github_helpers import github_blob_url
|
|
18
20
|
from continuous_delivery_scripts.spdx_report.spdx_package import SpdxPackage
|
|
19
21
|
from continuous_delivery_scripts.spdx_report.licence_assessment import (
|
|
20
22
|
LicenceAssessment,
|
|
@@ -104,6 +106,20 @@ def generate_file_based_on_template(
|
|
|
104
106
|
output_filename.write_text(rendered, encoding="utf8")
|
|
105
107
|
|
|
106
108
|
|
|
109
|
+
def _project_licence_href() -> Optional[str]:
|
|
110
|
+
project_root = Path(str(configuration.get_value(ConfigurationVariable.PROJECT_ROOT))).resolve()
|
|
111
|
+
remote = get_project_remote_url(project_root)
|
|
112
|
+
if not remote:
|
|
113
|
+
return None
|
|
114
|
+
licence_path = Path(str(configuration.get_value(ConfigurationVariable.LICENCE_FILE_PATH)))
|
|
115
|
+
try:
|
|
116
|
+
relative_path = licence_path.relative_to(project_root) if licence_path.is_absolute() else licence_path
|
|
117
|
+
except ValueError:
|
|
118
|
+
return None
|
|
119
|
+
branch = str(configuration.get_value(ConfigurationVariable.MASTER_BRANCH))
|
|
120
|
+
return github_blob_url(remote, branch, str(relative_path).replace("\\", "/"))
|
|
121
|
+
|
|
122
|
+
|
|
107
123
|
class SummaryGenerator:
|
|
108
124
|
"""Licensing summary generator."""
|
|
109
125
|
|
|
@@ -154,6 +170,7 @@ class SummaryGenerator:
|
|
|
154
170
|
arguments["project"] = {
|
|
155
171
|
"name": self.project.name,
|
|
156
172
|
"licence": self.project.main_licence,
|
|
173
|
+
"licence_href": _project_licence_href(),
|
|
157
174
|
"accepted_licences": _configured_licence_policy(),
|
|
158
175
|
"compliance": global_compliance,
|
|
159
176
|
"compliance_points": compliance_points,
|
|
@@ -145,7 +145,11 @@
|
|
|
145
145
|
<span class="status status--error">Not compliant</span>
|
|
146
146
|
{% endif %}
|
|
147
147
|
<div class="summary-copy">
|
|
148
|
+
{% if project.licence_href %}
|
|
149
|
+
<p>The project is licensed under the <a href="{{ project.licence_href }}"><strong>{{ project.licence }}</strong></a> licence.</p>
|
|
150
|
+
{% else %}
|
|
148
151
|
<p>The project is licensed under the <strong>{{ project.licence }}</strong> licence.</p>
|
|
152
|
+
{% endif %}
|
|
149
153
|
{% for point in project.compliance_points %}
|
|
150
154
|
<p>{{ point }}</p>
|
|
151
155
|
{% else %}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import re
|
|
8
8
|
from functools import lru_cache
|
|
9
9
|
from urllib.error import HTTPError, URLError
|
|
10
|
-
from urllib.parse import urlsplit, urlunsplit
|
|
10
|
+
from urllib.parse import quote, urlsplit, urlunsplit
|
|
11
11
|
from urllib.request import Request, urlopen
|
|
12
12
|
|
|
13
13
|
|
|
@@ -73,3 +73,15 @@ def github_pages_url(remote: str) -> str | None:
|
|
|
73
73
|
"""Find a verified public Pages site, including a redirected custom domain."""
|
|
74
74
|
candidate = github_pages_candidate(remote)
|
|
75
75
|
return _verified_pages_url(candidate) if candidate else None
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def github_blob_url(remote: str, branch: str, path: str) -> str | None:
|
|
79
|
+
"""Build a GitHub blob URL for a repository-relative file path."""
|
|
80
|
+
repository = _github_repository_path(remote)
|
|
81
|
+
if not repository:
|
|
82
|
+
return None
|
|
83
|
+
cleaned = path.replace("\\", "/").strip("/")
|
|
84
|
+
if not cleaned:
|
|
85
|
+
return None
|
|
86
|
+
encoded_path = "/".join(quote(part, safe="") for part in cleaned.split("/"))
|
|
87
|
+
return f"https://github.com/{repository}/blob/{quote(branch, safe='')}/{encoded_path}"
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
#
|
|
2
|
+
# Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
#
|
|
5
|
+
"""Schema-based validation for ``[ProjectConfig]`` entries in ``pyproject.toml``."""
|
|
6
|
+
|
|
7
|
+
import re
|
|
8
|
+
import urllib.parse
|
|
9
|
+
import uuid
|
|
10
|
+
from dataclasses import dataclass
|
|
11
|
+
from importlib import resources
|
|
12
|
+
from pathlib import Path
|
|
13
|
+
from typing import Any, Callable, Dict, Optional
|
|
14
|
+
|
|
15
|
+
import toml
|
|
16
|
+
|
|
17
|
+
from continuous_delivery_scripts.language_specifics import all_language_plugins
|
|
18
|
+
from continuous_delivery_scripts.spdx_report.licence_assessment import LicenceAssessmentPolicy
|
|
19
|
+
from continuous_delivery_scripts.utils.configuration import ConfigurationVariable, FileConfig
|
|
20
|
+
from continuous_delivery_scripts.utils.news_file import NewsType
|
|
21
|
+
from continuous_delivery_scripts.utils.third_party_licences import simplify_licence_expression
|
|
22
|
+
|
|
23
|
+
Validator = Callable[[str, Any, Path], list[str]]
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
@dataclass(frozen=True)
|
|
27
|
+
class FieldSchema:
|
|
28
|
+
"""Validation rules for one ``ProjectConfig`` key."""
|
|
29
|
+
|
|
30
|
+
validator: Validator
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def validate_project_config(config_file: Optional[str] = None) -> list[str]:
|
|
34
|
+
"""Validate the project's ``[ProjectConfig]`` section against CDS' schema."""
|
|
35
|
+
config_path = FileConfig._find_config_file(config_file)
|
|
36
|
+
if not config_path:
|
|
37
|
+
return ["Could not find pyproject.toml."]
|
|
38
|
+
raw = toml.load(config_path)
|
|
39
|
+
project_config = raw.get(FileConfig.CONFIG_SECTION)
|
|
40
|
+
if project_config is None:
|
|
41
|
+
return [f"{config_path}: missing [{FileConfig.CONFIG_SECTION}] section."]
|
|
42
|
+
if not isinstance(project_config, dict):
|
|
43
|
+
return [f"{config_path}: [{FileConfig.CONFIG_SECTION}] must be a TOML table."]
|
|
44
|
+
|
|
45
|
+
project_dir = Path(config_path).resolve().parent
|
|
46
|
+
errors = []
|
|
47
|
+
known_keys = set(PROJECT_CONFIG_SCHEMA)
|
|
48
|
+
for key in sorted(set(project_config) - known_keys):
|
|
49
|
+
errors.append(f"Unknown ProjectConfig key: {key}")
|
|
50
|
+
for key, schema in PROJECT_CONFIG_SCHEMA.items():
|
|
51
|
+
if key not in project_config:
|
|
52
|
+
continue
|
|
53
|
+
errors.extend(schema.validator(key, project_config[key], project_dir))
|
|
54
|
+
errors.extend(_validate_licence_assessment_policy(project_config, project_dir))
|
|
55
|
+
return errors
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def _validate_non_empty_string(key: str, value: Any, _project_dir: Path) -> list[str]:
|
|
59
|
+
if isinstance(value, str) and value.strip():
|
|
60
|
+
return []
|
|
61
|
+
return [f"{key} must be a non-empty string."]
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def _validate_boolean(key: str, value: Any, _project_dir: Path) -> list[str]:
|
|
65
|
+
return [] if isinstance(value, bool) else [f"{key} must be true or false."]
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def _validate_integer(key: str, value: Any, _project_dir: Path) -> list[str]:
|
|
69
|
+
return [] if isinstance(value, int) and not isinstance(value, bool) else [f"{key} must be an integer."]
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def _validate_regex(key: str, value: Any, _project_dir: Path) -> list[str]:
|
|
73
|
+
errors = _validate_non_empty_string(key, value, _project_dir)
|
|
74
|
+
if errors:
|
|
75
|
+
return errors
|
|
76
|
+
try:
|
|
77
|
+
re.compile(value)
|
|
78
|
+
except re.error as error:
|
|
79
|
+
return [f"{key} is not a valid regular expression: {error}"]
|
|
80
|
+
return []
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def _validate_uuid(key: str, value: Any, _project_dir: Path) -> list[str]:
|
|
84
|
+
errors = _validate_non_empty_string(key, value, _project_dir)
|
|
85
|
+
if errors:
|
|
86
|
+
return errors
|
|
87
|
+
try:
|
|
88
|
+
uuid.UUID(value)
|
|
89
|
+
except ValueError:
|
|
90
|
+
return [f"{key} must be a valid UUID string."]
|
|
91
|
+
return []
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
def _validate_url(key: str, value: Any, _project_dir: Path) -> list[str]:
|
|
95
|
+
errors = _validate_non_empty_string(key, value, _project_dir)
|
|
96
|
+
if errors:
|
|
97
|
+
return errors
|
|
98
|
+
parts = urllib.parse.urlsplit(value)
|
|
99
|
+
if parts.scheme not in {"http", "https"} or not parts.netloc:
|
|
100
|
+
return [f"{key} must be an absolute http or https URL."]
|
|
101
|
+
return []
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def _validate_language(key: str, value: Any, project_dir: Path) -> list[str]:
|
|
105
|
+
errors = _validate_non_empty_string(key, value, project_dir)
|
|
106
|
+
if errors:
|
|
107
|
+
return errors
|
|
108
|
+
languages = sorted(all_language_plugins())
|
|
109
|
+
return [] if value.lower().strip() in languages else [f"{key} must be one of: {', '.join(languages)}"]
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def _validate_news_type(key: str, value: Any, project_dir: Path) -> list[str]:
|
|
113
|
+
errors = _validate_non_empty_string(key, value, project_dir)
|
|
114
|
+
if errors:
|
|
115
|
+
return errors
|
|
116
|
+
choices = {item.name for item in NewsType}
|
|
117
|
+
return [] if value in choices else [f"{key} must be one of: {', '.join(sorted(choices))}"]
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
def _validate_licence_expression(key: str, value: Any, project_dir: Path) -> list[str]:
|
|
121
|
+
errors = _validate_non_empty_string(key, value, project_dir)
|
|
122
|
+
if errors:
|
|
123
|
+
return errors
|
|
124
|
+
try:
|
|
125
|
+
simplify_licence_expression(value)
|
|
126
|
+
except Exception as error:
|
|
127
|
+
return [f"{key} is not a valid SPDX licence expression: {error}"]
|
|
128
|
+
return []
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
def _validate_string_or_list_of_strings(key: str, value: Any, project_dir: Path) -> list[str]:
|
|
132
|
+
if isinstance(value, str):
|
|
133
|
+
return _validate_non_empty_string(key, value, project_dir)
|
|
134
|
+
if isinstance(value, list) and all(isinstance(item, str) and item.strip() for item in value):
|
|
135
|
+
return []
|
|
136
|
+
return [f"{key} must be a string or a list of non-empty strings."]
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
def _validate_checked_licences(key: str, value: Any, project_dir: Path) -> list[str]:
|
|
140
|
+
if isinstance(value, str):
|
|
141
|
+
return []
|
|
142
|
+
if isinstance(value, list) and all(isinstance(item, str) and item.strip() for item in value):
|
|
143
|
+
return []
|
|
144
|
+
if not isinstance(value, dict):
|
|
145
|
+
return [f"{key} must be a string, a list of strings, or a table."]
|
|
146
|
+
errors = []
|
|
147
|
+
for package_name, entry in value.items():
|
|
148
|
+
if not isinstance(package_name, str) or not package_name.strip():
|
|
149
|
+
errors.append(f"{key} package names must be non-empty strings.")
|
|
150
|
+
continue
|
|
151
|
+
if isinstance(entry, str):
|
|
152
|
+
continue
|
|
153
|
+
if not isinstance(entry, dict) or set(entry) - {"licence", "reason"}:
|
|
154
|
+
errors.append(f"{key}.{package_name} must be a string or a table with only 'licence' and 'reason'.")
|
|
155
|
+
continue
|
|
156
|
+
for nested_key, nested_value in entry.items():
|
|
157
|
+
if not isinstance(nested_value, str) or not nested_value.strip():
|
|
158
|
+
errors.append(f"{key}.{package_name}.{nested_key} must be a non-empty string.")
|
|
159
|
+
return errors
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
def _validate_manual_reviews(key: str, value: Any, _project_dir: Path) -> list[str]:
|
|
163
|
+
if not isinstance(value, dict):
|
|
164
|
+
return [f"{key} must be a table of package names and review reasons."]
|
|
165
|
+
errors = []
|
|
166
|
+
for package_name, entry in value.items():
|
|
167
|
+
if not isinstance(package_name, str) or not package_name.strip():
|
|
168
|
+
errors.append(f"{key} package names must be non-empty strings.")
|
|
169
|
+
continue
|
|
170
|
+
if isinstance(entry, str):
|
|
171
|
+
if not entry.strip():
|
|
172
|
+
errors.append(f"{key}.{package_name} must not be empty.")
|
|
173
|
+
continue
|
|
174
|
+
if not isinstance(entry, dict) or set(entry) - {"reason", "licence", "version"}:
|
|
175
|
+
errors.append(f"{key}.{package_name} has invalid fields.")
|
|
176
|
+
continue
|
|
177
|
+
reason = entry.get("reason")
|
|
178
|
+
if not isinstance(reason, str) or not reason.strip():
|
|
179
|
+
errors.append(f"{key}.{package_name}.reason must be a non-empty string.")
|
|
180
|
+
licence = entry.get("licence")
|
|
181
|
+
if licence is not None and _validate_licence_expression(f"{key}.{package_name}.licence", licence, _project_dir):
|
|
182
|
+
errors.extend(_validate_licence_expression(f"{key}.{package_name}.licence", licence, _project_dir))
|
|
183
|
+
version = entry.get("version")
|
|
184
|
+
if version is not None and (not isinstance(version, str) or not version.strip()):
|
|
185
|
+
errors.append(f"{key}.{package_name}.version must be a non-empty string.")
|
|
186
|
+
return errors
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
def _validate_path_string(key: str, value: Any, project_dir: Path) -> list[str]:
|
|
190
|
+
errors = _validate_non_empty_string(key, value, project_dir)
|
|
191
|
+
if errors:
|
|
192
|
+
return errors
|
|
193
|
+
path = Path(value)
|
|
194
|
+
if path.is_absolute():
|
|
195
|
+
return []
|
|
196
|
+
try:
|
|
197
|
+
project_dir.joinpath(path)
|
|
198
|
+
except Exception as error:
|
|
199
|
+
return [f"{key} is not a usable path: {error}"]
|
|
200
|
+
return []
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
def _validate_licence_assessment_policy(project_config: dict, project_dir: Path) -> list[str]:
|
|
204
|
+
if not any(
|
|
205
|
+
key in project_config
|
|
206
|
+
for key in (
|
|
207
|
+
ConfigurationVariable.LICENCE_ASSESSMENT_RULES.name,
|
|
208
|
+
ConfigurationVariable.LICENCE_ASSESSMENT_RULES_PATH.name,
|
|
209
|
+
ConfigurationVariable.LICENCE_ASSESSMENT_FAIL_ON.name,
|
|
210
|
+
)
|
|
211
|
+
):
|
|
212
|
+
return []
|
|
213
|
+
try:
|
|
214
|
+
resource = resources.files("continuous_delivery_scripts.spdx_report").joinpath(
|
|
215
|
+
"data", "licence_assessment.toml"
|
|
216
|
+
)
|
|
217
|
+
default = toml.loads(resource.read_text(encoding="utf8"))
|
|
218
|
+
override_path = project_config.get(ConfigurationVariable.LICENCE_ASSESSMENT_RULES_PATH.name)
|
|
219
|
+
override = toml.load(project_dir / override_path) if override_path else None
|
|
220
|
+
inline_override = project_config.get(ConfigurationVariable.LICENCE_ASSESSMENT_RULES.name)
|
|
221
|
+
policy = LicenceAssessmentPolicy(default, override, inline_override)
|
|
222
|
+
fail_on = project_config.get(ConfigurationVariable.LICENCE_ASSESSMENT_FAIL_ON.name)
|
|
223
|
+
if fail_on is not None:
|
|
224
|
+
policy._set_fail_on(fail_on, "ProjectConfig.LICENCE_ASSESSMENT_FAIL_ON")
|
|
225
|
+
except Exception as error:
|
|
226
|
+
return [f"LICENCE_ASSESSMENT configuration is invalid: {error}"]
|
|
227
|
+
return []
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
PROJECT_CONFIG_SCHEMA: Dict[str, FieldSchema] = {
|
|
231
|
+
ConfigurationVariable.PROJECT_ROOT.name: FieldSchema(_validate_path_string),
|
|
232
|
+
ConfigurationVariable.PROJECT_CONFIG.name: FieldSchema(_validate_path_string),
|
|
233
|
+
ConfigurationVariable.NEWS_DIR.name: FieldSchema(_validate_path_string),
|
|
234
|
+
ConfigurationVariable.VERSION_FILE_PATH.name: FieldSchema(_validate_path_string),
|
|
235
|
+
ConfigurationVariable.CHANGELOG_FILE_PATH.name: FieldSchema(_validate_path_string),
|
|
236
|
+
ConfigurationVariable.MODULE_TO_DOCUMENT.name: FieldSchema(_validate_non_empty_string),
|
|
237
|
+
ConfigurationVariable.DOCUMENTATION_DEFAULT_OUTPUT_PATH.name: FieldSchema(_validate_path_string),
|
|
238
|
+
ConfigurationVariable.DOCUMENTATION_PRODUCTION_OUTPUT_PATH.name: FieldSchema(_validate_path_string),
|
|
239
|
+
ConfigurationVariable.GIT_TOKEN.name: FieldSchema(_validate_non_empty_string),
|
|
240
|
+
ConfigurationVariable.BETA_BRANCH.name: FieldSchema(_validate_non_empty_string),
|
|
241
|
+
ConfigurationVariable.MASTER_BRANCH.name: FieldSchema(_validate_non_empty_string),
|
|
242
|
+
ConfigurationVariable.RELEASE_BRANCH_PATTERN.name: FieldSchema(_validate_regex),
|
|
243
|
+
ConfigurationVariable.REMOTE_ALIAS.name: FieldSchema(_validate_non_empty_string),
|
|
244
|
+
ConfigurationVariable.LOGGER_FORMAT.name: FieldSchema(_validate_non_empty_string),
|
|
245
|
+
ConfigurationVariable.BOT_USERNAME.name: FieldSchema(_validate_non_empty_string),
|
|
246
|
+
ConfigurationVariable.BOT_EMAIL.name: FieldSchema(_validate_non_empty_string),
|
|
247
|
+
ConfigurationVariable.ORGANISATION.name: FieldSchema(_validate_non_empty_string),
|
|
248
|
+
ConfigurationVariable.ORGANISATION_EMAIL.name: FieldSchema(_validate_non_empty_string),
|
|
249
|
+
ConfigurationVariable.AWS_BUCKET.name: FieldSchema(_validate_non_empty_string),
|
|
250
|
+
ConfigurationVariable.PROJECT_NAME.name: FieldSchema(_validate_non_empty_string),
|
|
251
|
+
ConfigurationVariable.PROJECT_UUID.name: FieldSchema(_validate_uuid),
|
|
252
|
+
ConfigurationVariable.PACKAGE_NAME.name: FieldSchema(_validate_non_empty_string),
|
|
253
|
+
ConfigurationVariable.SOURCE_DIR.name: FieldSchema(_validate_path_string),
|
|
254
|
+
ConfigurationVariable.IGNORE_REPOSITORY_TEST_UPLOAD.name: FieldSchema(_validate_boolean),
|
|
255
|
+
ConfigurationVariable.FILE_LICENCE_IDENTIFIER.name: FieldSchema(_validate_licence_expression),
|
|
256
|
+
ConfigurationVariable.COPYRIGHT_START_DATE.name: FieldSchema(_validate_integer),
|
|
257
|
+
ConfigurationVariable.ACCEPTED_THIRD_PARTY_LICENCES.name: FieldSchema(_validate_string_or_list_of_strings),
|
|
258
|
+
ConfigurationVariable.PACKAGES_WITH_CHECKED_LICENCE.name: FieldSchema(_validate_checked_licences),
|
|
259
|
+
ConfigurationVariable.PROGRAMMING_LANGUAGE.name: FieldSchema(_validate_language),
|
|
260
|
+
ConfigurationVariable.AUTOGENERATE_NEWS_FILE_ON_DEPENDENCY_UPDATE.name: FieldSchema(_validate_boolean),
|
|
261
|
+
ConfigurationVariable.DEPENDENCY_UPDATE_BRANCH_PATTERN.name: FieldSchema(_validate_regex),
|
|
262
|
+
ConfigurationVariable.DEPENDENCY_UPDATE_NEWS_MESSAGE.name: FieldSchema(_validate_non_empty_string),
|
|
263
|
+
ConfigurationVariable.DEPENDENCY_UPDATE_NEWS_TYPE.name: FieldSchema(_validate_news_type),
|
|
264
|
+
ConfigurationVariable.TAG_LATEST.name: FieldSchema(_validate_boolean),
|
|
265
|
+
ConfigurationVariable.TAG_VERSION_SHORTCUTS.name: FieldSchema(_validate_boolean),
|
|
266
|
+
ConfigurationVariable.SECRETS_BASELINE_FILENAME.name: FieldSchema(_validate_non_empty_string),
|
|
267
|
+
ConfigurationVariable.DOCUMENTATION_GUIDES_DIR.name: FieldSchema(_validate_path_string),
|
|
268
|
+
ConfigurationVariable.DOCUMENTATION_GUIDES_OUTPUT_FOLDER.name: FieldSchema(_validate_path_string),
|
|
269
|
+
ConfigurationVariable.FAIL_ON_INCOMPLETE_LICENCE_AUDIT.name: FieldSchema(_validate_boolean),
|
|
270
|
+
ConfigurationVariable.GENERATE_LICENSING_SUMMARY_ON_RELEASE.name: FieldSchema(_validate_boolean),
|
|
271
|
+
ConfigurationVariable.LICENCE_ASSESSMENT_RULES_PATH.name: FieldSchema(_validate_path_string),
|
|
272
|
+
ConfigurationVariable.LICENCE_ASSESSMENT_RULES.name: FieldSchema(
|
|
273
|
+
lambda key, value, _dir: [] if isinstance(value, dict) else [f"{key} must be a table."]
|
|
274
|
+
),
|
|
275
|
+
ConfigurationVariable.REVIEWED_LICENCE_ASSESSMENTS.name: FieldSchema(_validate_manual_reviews),
|
|
276
|
+
ConfigurationVariable.LICENCE_ASSESSMENT_FAIL_ON.name: FieldSchema(_validate_string_or_list_of_strings),
|
|
277
|
+
ConfigurationVariable.SKIP_DEPENDENCY_DOWNLOAD_FOR_LICENSING.name: FieldSchema(_validate_boolean),
|
|
278
|
+
ConfigurationVariable.DOCUMENTATION_SITE_URL.name: FieldSchema(_validate_url),
|
|
279
|
+
ConfigurationVariable.LICENCE_FILE_PATH.name: FieldSchema(_validate_path_string),
|
|
280
|
+
}
|
|
@@ -8,6 +8,7 @@ continuous_delivery_scripts/__init__.py
|
|
|
8
8
|
continuous_delivery_scripts/_version.py
|
|
9
9
|
continuous_delivery_scripts/assert_news.py
|
|
10
10
|
continuous_delivery_scripts/check_licence_compliance.py
|
|
11
|
+
continuous_delivery_scripts/check_project_config.py
|
|
11
12
|
continuous_delivery_scripts/create_news_file.py
|
|
12
13
|
continuous_delivery_scripts/describe_licence_obligations.py
|
|
13
14
|
continuous_delivery_scripts/detect_secrets.py
|
|
@@ -77,6 +78,7 @@ continuous_delivery_scripts/utils/language_specifics_base.py
|
|
|
77
78
|
continuous_delivery_scripts/utils/logging.py
|
|
78
79
|
continuous_delivery_scripts/utils/news_file.py
|
|
79
80
|
continuous_delivery_scripts/utils/package_helpers.py
|
|
81
|
+
continuous_delivery_scripts/utils/project_config_schema.py
|
|
80
82
|
continuous_delivery_scripts/utils/string_helpers.py
|
|
81
83
|
continuous_delivery_scripts/utils/third_party_licences.py
|
|
82
84
|
continuous_delivery_scripts/utils/versioning.py
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
[console_scripts]
|
|
2
2
|
cd-assert-news = continuous_delivery_scripts.assert_news:main
|
|
3
3
|
cd-check-licence-compliance = continuous_delivery_scripts.check_licence_compliance:main
|
|
4
|
+
cd-check-project-config = continuous_delivery_scripts.check_project_config:main
|
|
4
5
|
cd-create-news-file = continuous_delivery_scripts.create_news_file:main
|
|
5
6
|
cd-describe-licence-obligations = continuous_delivery_scripts.describe_licence_obligations:main
|
|
6
7
|
cd-detect-secrets = continuous_delivery_scripts.detect_secrets:main
|
|
@@ -48,6 +48,7 @@ setup(
|
|
|
48
48
|
f"cd-generate-docs={SOURCE_DIR}.generate_docs:main",
|
|
49
49
|
f"cd-tag-and-release={SOURCE_DIR}.tag_and_release:main",
|
|
50
50
|
f"cd-get-config={SOURCE_DIR}.get_config:main",
|
|
51
|
+
f"cd-check-project-config={SOURCE_DIR}.check_project_config:main",
|
|
51
52
|
f"cd-license-files={SOURCE_DIR}.license_files:main",
|
|
52
53
|
f"cd-sync-project-licence={SOURCE_DIR}.sync_project_licence:main",
|
|
53
54
|
f"cd-describe-licence-obligations={SOURCE_DIR}.describe_licence_obligations:main",
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/GitPython.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: unknown (Sebastian Thiel <byronimo@gmail.com>, Michael Trier <mtrier@gmail.com>)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:14Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: GitPython
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/Jinja2.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: unknown (unknown)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:14Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: Jinja2
|
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: unknown (Mike Bayer <mike@zzzcomputing.com>)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:14Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: Mako
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/Markdown.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: Manfred Stienstra, Yuri Takhteyev (Waylan limberg <python.markdown@gmail.com>)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:14Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: Markdown
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/MarkupSafe.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: unknown (unknown)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:14Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: MarkupSafe
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/PyYAML.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: Kirill Simonov (xi@resolvent.net)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:16Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: PyYAML
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/Pygments.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: unknown (Georg Brandl <georg@python.org>)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:15Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: Pygments
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/SecretStorage.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: unknown (Dmitry Shachnev <mitya57@gmail.com>)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:15Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: SecretStorage
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/beartype.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: unknown (Cecil Curry <leycec@gmail.com>)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:17Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: beartype
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/boolean.py.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: Sebastian Kraemer (basti.kr@gmail.com)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:17Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: boolean.py
|
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: Amazon Web Services (unknown)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:16Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: boto3
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/botocore.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: Amazon Web Services (unknown)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:16Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: botocore
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/bracex.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: unknown (Isaac Muse <Isaac.Muse@gmail.com>)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:17Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: bracex
|
{continuous_delivery_scripts-4.6.0 → continuous_delivery_scripts-4.7.0}/spdx-tmp/certifi.spdx
RENAMED
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: Kenneth Reitz (me@kennethreitz.com)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:15Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: certifi
|
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: Armin Rigo, Maciej Fijalkowski (unknown)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:15Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: cffi
|
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: unknown ("Ahmed R. TAHRI" <tahri.ahmed@proton.me>)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:15Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: charset-normalizer
|
|
@@ -9,7 +9,7 @@ DocumentComment: This document was created automatically using available project
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: unknown (unknown)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-10-
|
|
12
|
+
Created: 2026-10-14T14:15:14Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: click
|