continuous-delivery-scripts 4.8.0__tar.gz → 4.8.2__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.8.0/continuous_delivery_scripts.egg-info → continuous_delivery_scripts-4.8.2}/PKG-INFO +33 -3
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/README.md +32 -2
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/_version.py +3 -3
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/generate_docs.py +77 -12
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/license_files.py +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/templates/documentation_landing.html.jinja2 +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/templates/llms.txt.jinja2 +2 -2
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/documentation_discovery.py +36 -16
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2/continuous_delivery_scripts.egg-info}/PKG-INFO +33 -3
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/GitPython.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/Jinja2.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/Mako.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/Markdown.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/MarkupSafe.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/PyYAML.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/Pygments.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/SecretStorage.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/beartype.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/boolean.py.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/boto3.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/botocore.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/bracex.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/certifi.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/cffi.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/charset-normalizer.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/click.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/continuous-delivery-scripts.spdx +299 -299
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/cryptography.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/detect-secrets.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/docutils.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/gibberish-detector.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/gitdb.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/id.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/idna.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/jaraco.classes.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/jaraco.context.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/jaraco.functools.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/jeepney.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/jellyfish.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/jmespath.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/keyring.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/license-expression.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/licenseheaders.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/markdown-it-py.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/mdurl.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/more-itertools.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/nh3.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/packaging.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/pdoc3.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/ply.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/pyautoversion.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/pycparser.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/pyparsing.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/python-dateutil.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/python-dotenv.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/rdflib.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/readme_renderer.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/regex.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/requests-toolbelt.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/requests.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/rfc3986.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/rich.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/s3transfer.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/semantic-version.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/semver.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/setuptools.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/six.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/smmap.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/spdx-tools.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/toml.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/towncrier.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/twine.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/uritools.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/urllib3.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/wcmatch.spdx +4 -4
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/xmltodict.spdx +1 -1
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/LICENSE +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/MANIFEST.in +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/__init__.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/assert_news.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/check_licence_compliance.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/check_project_config.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/create_news_file.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/describe_licence_obligations.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/detect_secrets.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/generate_news.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/get_config.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/get_version.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/language_specifics.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/BASIC.MD +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/CI.MD +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/GITHUB_ACTIONS.MD +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/GOLAND.MD +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/NOOP.MD +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/PYTHON.MD +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/__init__.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/basic.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/ci.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/docker.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/github_actions.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/golang.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/noop.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/plugins/python.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/report_third_party_ip.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/__init__.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/data/licence_assessment.toml +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/licence_assessment.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/project_licensing.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/scancode_licence_db.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/spdx_dependency.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/spdx_document.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/spdx_file.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/spdx_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/spdx_package.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/spdx_project.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/spdx_summary.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/templates/licence_obligations_report.txt.jinja2 +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/templates/third_party_IP_report.csv.jinja2 +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/templates/third_party_IP_report.html.jinja2 +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/spdx_report/templates/third_party_IP_report.txt.jinja2 +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/sync_project_licence.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/tag_and_release.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/templates/documentation_page.html.jinja2 +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/templates/llms-full.txt.jinja2 +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/templates/robots.txt.jinja2 +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/update_secrets_registry.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/__init__.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/aws_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/changelog.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/configuration.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/definitions.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/documentation_templates.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/filesystem_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/git_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/github_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/hash_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/language_specifics_base.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/logging.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/news_file.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/noop/__init__.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/noop/package_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/package_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/project_config_schema.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/python/__init__.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/python/package_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/python/python_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/string_helpers.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/third_party_licences.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts/utils/versioning.py +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts.egg-info/SOURCES.txt +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts.egg-info/dependency_links.txt +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts.egg-info/entry_points.txt +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts.egg-info/requires.txt +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/continuous_delivery_scripts.egg-info/top_level.txt +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/pyproject.toml +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/setup.cfg +0 -0
- {continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: continuous-delivery-scripts
|
|
3
|
-
Version: 4.8.
|
|
3
|
+
Version: 4.8.2
|
|
4
4
|
Summary: Git-based CI/CD tools for releases, changelogs, SPDX SBOMs and licence reporting
|
|
5
5
|
Home-page: https://github.com/ARMmbed/continuous-delivery-scripts
|
|
6
6
|
Author: Arm
|
|
@@ -82,7 +82,8 @@ SPDX-License-Identifier: Apache-2.0
|
|
|
82
82
|
`continuous-delivery-scripts` provides Git-based CI/CD commands for release
|
|
83
83
|
automation, semantic versioning, changelog generation, SPDX SBOMs,
|
|
84
84
|
third-party IP (TPIP) and licence reports, source licence headers and secret
|
|
85
|
-
checks.
|
|
85
|
+
checks. It is designed as a CI-agnostic set of composable delivery tools rather
|
|
86
|
+
than a Git-history-driven release system.
|
|
86
87
|
|
|
87
88
|
## Overview
|
|
88
89
|
|
|
@@ -95,7 +96,9 @@ a release. The shared project delivery definition lives in one place:
|
|
|
95
96
|
including paths, versioning rules and the selected `PROGRAMMING_LANGUAGE`,
|
|
96
97
|
regardless of the project's language or CI system. The selected plugin then
|
|
97
98
|
uses appropriate ecosystem tools: for example, GoReleaser for Go releases or
|
|
98
|
-
wheel and Twine for Python packages.
|
|
99
|
+
wheel and Twine for Python packages. CDS also builds on tools such as
|
|
100
|
+
Towncrier, pdoc, detect-secrets and SPDX data sources where they are the best
|
|
101
|
+
fit for a specific delivery task. Consult the
|
|
99
102
|
[plugin guides](./guides/plugin-guides.md) for language-specific
|
|
100
103
|
requirements, including the [Go plugin guides](./guides/plugin-golang.md);
|
|
101
104
|
native build manifests and credentials may still be needed. See
|
|
@@ -107,6 +110,30 @@ the project's Git repository and install the required tools. This avoids
|
|
|
107
110
|
infrastructure lock-in: the team can decide which CI system suits its project,
|
|
108
111
|
including after the delivery workflow has been defined.
|
|
109
112
|
|
|
113
|
+
## Why Continuous Delivery Scripts?
|
|
114
|
+
|
|
115
|
+
CDS takes a different approach to release automation by deliberately separating
|
|
116
|
+
development history from consumer-facing release information.
|
|
117
|
+
|
|
118
|
+
Unlike commit-driven tools such as
|
|
119
|
+
[release-please](https://github.com/googleapis/release-please) or
|
|
120
|
+
[semantic-release](https://semantic-release.gitbook.io/), CDS follows
|
|
121
|
+
Towncrier's philosophy: Git commits document technical changes for maintainers,
|
|
122
|
+
while explicit news fragments describe their significance to consumers.
|
|
123
|
+
|
|
124
|
+
Beyond changelog generation, CDS provides composable, CI-agnostic tools for
|
|
125
|
+
versioning, coordinated releases, licensing, SBOM generation, documentation and
|
|
126
|
+
other delivery responsibilities. CDS often uses specialised tools rather than
|
|
127
|
+
replacing them outright: for example, Towncrier for release notes, GoReleaser
|
|
128
|
+
for Go packaging, wheel and Twine for Python publication, pdoc for Python API
|
|
129
|
+
documentation, and detect-secrets for secret scanning.
|
|
130
|
+
|
|
131
|
+
This makes it particularly suitable for projects seeking consistent release
|
|
132
|
+
practices across languages and CI/CD platforms without imposing a particular
|
|
133
|
+
commit convention or release workflow.
|
|
134
|
+
|
|
135
|
+
Learn more in [Why choose Continuous Delivery Scripts?](./guides/why-continuous-delivery-scripts.md).
|
|
136
|
+
|
|
110
137
|
## Usage and documentation
|
|
111
138
|
|
|
112
139
|
Start with the [common use cases](#common-use-cases) below, then follow the
|
|
@@ -245,11 +272,14 @@ same commands whichever CI system the team chooses.
|
|
|
245
272
|
| [`cd-determine-version`](./guides/previewing-versions.md) | Calculates and prints the **project's prospective release version** without generating a changelog. | Required `--release-type` (`-t`) | Developer preview or CI |
|
|
246
273
|
| [`cd-generate-news`](./guides/managing-changelogs.md) | Updates the project version and, for beta or production releases, builds the changelog from news fragments; prints the resulting version. | Required `--release-type` (`-t`) | CI release flow |
|
|
247
274
|
| [`cd-get-config`](./guides/reading-project-configuration.md) | Prints a project configuration value. | Either `--key` (`-k`) or `--config-variable` (`-c`) | Developer or CI |
|
|
275
|
+
| [`cd-check-project-config`](./guides/checking-project-configuration.md) | Validates CDS-specific `ProjectConfig` values before other commands run. | Optional `--config-file` (`-f`), `--verbose` (`-v`) | Developer setup or CI gate |
|
|
248
276
|
| [`cd-tag-and-release`](./guides/automating-releases.md) | Runs the release flow, including documentation, licensing summaries, Git tagging, packaging and publication through the selected [language plugin](./continuous_delivery_scripts/plugins). | Required `--release-type` (`-t`); optional `--current-branch` (`-b`) | CI release flow |
|
|
249
277
|
| [`cd-generate-docs`](./guides/generating-code-documentation.md) | Generates code documentation in the configured output directory (or one specified on the command line). | `--output_directory` | Developer preview or CI |
|
|
250
278
|
| [`cd-generate-spdx`](./guides/generating-an-spdx-sbom.md) | Generates SPDX documents and third-party licence summaries, then checks licence compliance when project metadata is available. | Required `--output-dir` (`-o`); optional `--lookup-scancode`, `--skip-dependency-download` | CI audit; developer review also possible |
|
|
251
279
|
| [`cd-check-licence-compliance`](./guides/checking-licence-compliance.md) | Checks project and dependency licences without creating SPDX documents; optionally writes third-party IP summaries. | Optional `--output-dir` (`-o`) for reports, `--lookup-scancode`, `--skip-dependency-download` | CI gate or developer review |
|
|
252
280
|
| [`cd-license-files`](./guides/licence-header-management.md) | Adds or updates source-file licence and copyright headers when the language plugin supports them. | `--verbose` (`-v`) | Developer or CI |
|
|
281
|
+
| [`cd-sync-project-licence`](./guides/syncing-project-licence.md) | Creates or refreshes the top-level project licence file from the configured SPDX identifier. | `--verbose` (`-v`) | Developer setup or CI compliance prep |
|
|
282
|
+
| [`cd-describe-licence-obligations`](./guides/describing-project-licence-obligations.md) | Prints a human-readable summary of obligations for the configured project licence. | `--verbose` (`-v`) | Developer review or CI reporting |
|
|
253
283
|
| [`cd-record-secrets`](./guides/recording-secrets.md) | Records accepted findings in the project's [detect-secrets](https://github.com/Yelp/detect-secrets) registry. | `--registry-file` (`-r`); defaults to the configured registry | Developer (registry maintenance) |
|
|
254
284
|
| [`cd-detect-secrets`](./guides/checking-for-secrets.md) | Checks Git-tracked files against that registry and fails if new secrets are found. | `--registry-file` (`-r`); defaults to the configured registry | CI; developer checks also possible |
|
|
255
285
|
|
|
@@ -21,7 +21,8 @@ SPDX-License-Identifier: Apache-2.0
|
|
|
21
21
|
`continuous-delivery-scripts` provides Git-based CI/CD commands for release
|
|
22
22
|
automation, semantic versioning, changelog generation, SPDX SBOMs,
|
|
23
23
|
third-party IP (TPIP) and licence reports, source licence headers and secret
|
|
24
|
-
checks.
|
|
24
|
+
checks. It is designed as a CI-agnostic set of composable delivery tools rather
|
|
25
|
+
than a Git-history-driven release system.
|
|
25
26
|
|
|
26
27
|
## Overview
|
|
27
28
|
|
|
@@ -34,7 +35,9 @@ a release. The shared project delivery definition lives in one place:
|
|
|
34
35
|
including paths, versioning rules and the selected `PROGRAMMING_LANGUAGE`,
|
|
35
36
|
regardless of the project's language or CI system. The selected plugin then
|
|
36
37
|
uses appropriate ecosystem tools: for example, GoReleaser for Go releases or
|
|
37
|
-
wheel and Twine for Python packages.
|
|
38
|
+
wheel and Twine for Python packages. CDS also builds on tools such as
|
|
39
|
+
Towncrier, pdoc, detect-secrets and SPDX data sources where they are the best
|
|
40
|
+
fit for a specific delivery task. Consult the
|
|
38
41
|
[plugin guides](./guides/plugin-guides.md) for language-specific
|
|
39
42
|
requirements, including the [Go plugin guides](./guides/plugin-golang.md);
|
|
40
43
|
native build manifests and credentials may still be needed. See
|
|
@@ -46,6 +49,30 @@ the project's Git repository and install the required tools. This avoids
|
|
|
46
49
|
infrastructure lock-in: the team can decide which CI system suits its project,
|
|
47
50
|
including after the delivery workflow has been defined.
|
|
48
51
|
|
|
52
|
+
## Why Continuous Delivery Scripts?
|
|
53
|
+
|
|
54
|
+
CDS takes a different approach to release automation by deliberately separating
|
|
55
|
+
development history from consumer-facing release information.
|
|
56
|
+
|
|
57
|
+
Unlike commit-driven tools such as
|
|
58
|
+
[release-please](https://github.com/googleapis/release-please) or
|
|
59
|
+
[semantic-release](https://semantic-release.gitbook.io/), CDS follows
|
|
60
|
+
Towncrier's philosophy: Git commits document technical changes for maintainers,
|
|
61
|
+
while explicit news fragments describe their significance to consumers.
|
|
62
|
+
|
|
63
|
+
Beyond changelog generation, CDS provides composable, CI-agnostic tools for
|
|
64
|
+
versioning, coordinated releases, licensing, SBOM generation, documentation and
|
|
65
|
+
other delivery responsibilities. CDS often uses specialised tools rather than
|
|
66
|
+
replacing them outright: for example, Towncrier for release notes, GoReleaser
|
|
67
|
+
for Go packaging, wheel and Twine for Python publication, pdoc for Python API
|
|
68
|
+
documentation, and detect-secrets for secret scanning.
|
|
69
|
+
|
|
70
|
+
This makes it particularly suitable for projects seeking consistent release
|
|
71
|
+
practices across languages and CI/CD platforms without imposing a particular
|
|
72
|
+
commit convention or release workflow.
|
|
73
|
+
|
|
74
|
+
Learn more in [Why choose Continuous Delivery Scripts?](./guides/why-continuous-delivery-scripts.md).
|
|
75
|
+
|
|
49
76
|
## Usage and documentation
|
|
50
77
|
|
|
51
78
|
Start with the [common use cases](#common-use-cases) below, then follow the
|
|
@@ -184,11 +211,14 @@ same commands whichever CI system the team chooses.
|
|
|
184
211
|
| [`cd-determine-version`](./guides/previewing-versions.md) | Calculates and prints the **project's prospective release version** without generating a changelog. | Required `--release-type` (`-t`) | Developer preview or CI |
|
|
185
212
|
| [`cd-generate-news`](./guides/managing-changelogs.md) | Updates the project version and, for beta or production releases, builds the changelog from news fragments; prints the resulting version. | Required `--release-type` (`-t`) | CI release flow |
|
|
186
213
|
| [`cd-get-config`](./guides/reading-project-configuration.md) | Prints a project configuration value. | Either `--key` (`-k`) or `--config-variable` (`-c`) | Developer or CI |
|
|
214
|
+
| [`cd-check-project-config`](./guides/checking-project-configuration.md) | Validates CDS-specific `ProjectConfig` values before other commands run. | Optional `--config-file` (`-f`), `--verbose` (`-v`) | Developer setup or CI gate |
|
|
187
215
|
| [`cd-tag-and-release`](./guides/automating-releases.md) | Runs the release flow, including documentation, licensing summaries, Git tagging, packaging and publication through the selected [language plugin](./continuous_delivery_scripts/plugins). | Required `--release-type` (`-t`); optional `--current-branch` (`-b`) | CI release flow |
|
|
188
216
|
| [`cd-generate-docs`](./guides/generating-code-documentation.md) | Generates code documentation in the configured output directory (or one specified on the command line). | `--output_directory` | Developer preview or CI |
|
|
189
217
|
| [`cd-generate-spdx`](./guides/generating-an-spdx-sbom.md) | Generates SPDX documents and third-party licence summaries, then checks licence compliance when project metadata is available. | Required `--output-dir` (`-o`); optional `--lookup-scancode`, `--skip-dependency-download` | CI audit; developer review also possible |
|
|
190
218
|
| [`cd-check-licence-compliance`](./guides/checking-licence-compliance.md) | Checks project and dependency licences without creating SPDX documents; optionally writes third-party IP summaries. | Optional `--output-dir` (`-o`) for reports, `--lookup-scancode`, `--skip-dependency-download` | CI gate or developer review |
|
|
191
219
|
| [`cd-license-files`](./guides/licence-header-management.md) | Adds or updates source-file licence and copyright headers when the language plugin supports them. | `--verbose` (`-v`) | Developer or CI |
|
|
220
|
+
| [`cd-sync-project-licence`](./guides/syncing-project-licence.md) | Creates or refreshes the top-level project licence file from the configured SPDX identifier. | `--verbose` (`-v`) | Developer setup or CI compliance prep |
|
|
221
|
+
| [`cd-describe-licence-obligations`](./guides/describing-project-licence-obligations.md) | Prints a human-readable summary of obligations for the configured project licence. | `--verbose` (`-v`) | Developer review or CI reporting |
|
|
192
222
|
| [`cd-record-secrets`](./guides/recording-secrets.md) | Records accepted findings in the project's [detect-secrets](https://github.com/Yelp/detect-secrets) registry. | `--registry-file` (`-r`); defaults to the configured registry | Developer (registry maintenance) |
|
|
193
223
|
| [`cd-detect-secrets`](./guides/checking-for-secrets.md) | Checks Git-tracked files against that registry and fails if new secrets are found. | `--registry-file` (`-r`); defaults to the configured registry | CI; developer checks also possible |
|
|
194
224
|
|
|
@@ -11,8 +11,8 @@ References
|
|
|
11
11
|
This file is autogenerated, do not modify by hand.
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
-
__version__ = "4.8.
|
|
15
|
-
COMMIT = "
|
|
14
|
+
__version__ = "4.8.2"
|
|
15
|
+
COMMIT = "32e30df48e7e6deb060b01b5d64800c71fdff469"
|
|
16
16
|
MAJOR = 4
|
|
17
17
|
MINOR = 8
|
|
18
|
-
PATCH =
|
|
18
|
+
PATCH = 2
|
|
@@ -12,6 +12,7 @@ import re
|
|
|
12
12
|
import shutil
|
|
13
13
|
import sys
|
|
14
14
|
from pathlib import Path
|
|
15
|
+
from urllib.parse import SplitResult, urlsplit
|
|
15
16
|
|
|
16
17
|
import markdown
|
|
17
18
|
|
|
@@ -28,9 +29,50 @@ from continuous_delivery_scripts.utils.logging import log_exception
|
|
|
28
29
|
logger = logging.getLogger(__name__)
|
|
29
30
|
|
|
30
31
|
|
|
31
|
-
def
|
|
32
|
-
"""
|
|
33
|
-
return
|
|
32
|
+
def _guide_html_path(source: Path, guide_sources: Path) -> Path:
|
|
33
|
+
"""Map a guide source file to its published HTML path beneath the guide output."""
|
|
34
|
+
return source.relative_to(guide_sources).with_suffix(".html")
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def _guide_sort_key(source: Path, guide_sources: Path) -> tuple[bool, str]:
|
|
38
|
+
"""Keep the top-level index first and sort the rest by relative path."""
|
|
39
|
+
relative = source.relative_to(guide_sources)
|
|
40
|
+
return relative != Path("index.md"), relative.as_posix()
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def _rewrite_guide_link_target(parts: SplitResult, source: Path, guide_sources: Path) -> str | None:
|
|
44
|
+
"""Rewrite only relative Markdown links that point to published guides."""
|
|
45
|
+
if (
|
|
46
|
+
parts.scheme
|
|
47
|
+
or parts.netloc
|
|
48
|
+
or not parts.path
|
|
49
|
+
or parts.path.startswith("/")
|
|
50
|
+
or not parts.path.lower().endswith(".md")
|
|
51
|
+
):
|
|
52
|
+
return None
|
|
53
|
+
target = (source.parent / Path(parts.path)).resolve()
|
|
54
|
+
root = guide_sources.resolve()
|
|
55
|
+
if not target.is_file() or not target.is_relative_to(root):
|
|
56
|
+
return None
|
|
57
|
+
return parts._replace(path=f"{parts.path[:-3]}.html").geturl()
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
def _rewrite_rendered_guide_links(body: str, source: Path, guide_sources: Path) -> str:
|
|
61
|
+
"""Retarget rendered guide links to the published HTML pages."""
|
|
62
|
+
|
|
63
|
+
def replace(match: re.Match[str]) -> str:
|
|
64
|
+
href = match.group(1)
|
|
65
|
+
rewritten = _rewrite_guide_link_target(urlsplit(href), source, guide_sources)
|
|
66
|
+
if rewritten is None:
|
|
67
|
+
return match.group(0)
|
|
68
|
+
return f'href="{escape(rewritten, quote=True)}"'
|
|
69
|
+
|
|
70
|
+
return re.sub(r'href="([^"]+)"', replace, body)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def _guide_navigation_prefix(guide_folder: Path, relative_html_path: Path) -> str:
|
|
74
|
+
"""Build the route from a guide page back to the documentation root."""
|
|
75
|
+
return "/".join(".." for _ in (guide_folder / relative_html_path.parent).parts)
|
|
34
76
|
|
|
35
77
|
|
|
36
78
|
def _html_page(
|
|
@@ -127,15 +169,32 @@ def _guide_settings() -> tuple[Path, Path, Path, str] | None:
|
|
|
127
169
|
|
|
128
170
|
|
|
129
171
|
def _render_guide(
|
|
130
|
-
source: Path,
|
|
172
|
+
source: Path,
|
|
173
|
+
destination: Path,
|
|
174
|
+
guide_sources: Path,
|
|
175
|
+
guide_folder: Path,
|
|
176
|
+
project_name: str,
|
|
177
|
+
has_api_index: bool,
|
|
178
|
+
page_url: str | None,
|
|
131
179
|
) -> str:
|
|
132
180
|
"""Render one Markdown guide to an HTML page and return its title."""
|
|
133
181
|
text = source.read_text(encoding="utf8")
|
|
134
182
|
title = next((line[2:].strip() for line in text.splitlines() if line.startswith("# ")), source.stem)
|
|
135
183
|
body: str = markdown.markdown(text, extensions=["fenced_code", "tables"])
|
|
136
|
-
body =
|
|
184
|
+
body = _rewrite_rendered_guide_links(body, source, guide_sources)
|
|
137
185
|
description = f"{title} — {project_name}."
|
|
138
|
-
destination.
|
|
186
|
+
destination.parent.mkdir(parents=True, exist_ok=True)
|
|
187
|
+
destination.write_text(
|
|
188
|
+
_html_page(
|
|
189
|
+
title,
|
|
190
|
+
description,
|
|
191
|
+
body,
|
|
192
|
+
_guide_navigation_prefix(guide_folder, _guide_html_path(source, guide_sources)),
|
|
193
|
+
has_api_index,
|
|
194
|
+
page_url,
|
|
195
|
+
),
|
|
196
|
+
encoding="utf8",
|
|
197
|
+
)
|
|
139
198
|
return title
|
|
140
199
|
|
|
141
200
|
|
|
@@ -144,16 +203,22 @@ def _render_guides(
|
|
|
144
203
|
) -> list[tuple[str, str]]:
|
|
145
204
|
"""Render all guides and return links for the documentation landing page."""
|
|
146
205
|
guide_output.mkdir(parents=True, exist_ok=True)
|
|
147
|
-
navigation_prefix = "/".join(".." for _ in guide_folder.parts)
|
|
148
206
|
site_url = documentation_site_url()
|
|
149
207
|
links = []
|
|
150
|
-
for source in sorted(guide_sources.
|
|
151
|
-
|
|
208
|
+
for source in sorted(guide_sources.rglob("*.md"), key=lambda path: _guide_sort_key(path, guide_sources)):
|
|
209
|
+
relative_html_path = _guide_html_path(source, guide_sources)
|
|
210
|
+
page_url = f"{site_url}{(guide_folder / relative_html_path).as_posix()}" if site_url else None
|
|
152
211
|
title = _render_guide(
|
|
153
|
-
source,
|
|
212
|
+
source,
|
|
213
|
+
guide_output / relative_html_path,
|
|
214
|
+
guide_sources,
|
|
215
|
+
guide_folder,
|
|
216
|
+
project_name,
|
|
217
|
+
has_api_index,
|
|
218
|
+
page_url,
|
|
154
219
|
)
|
|
155
|
-
if source.
|
|
156
|
-
links.append((title,
|
|
220
|
+
if source.relative_to(guide_sources) != Path("index.md"):
|
|
221
|
+
links.append((title, relative_html_path.as_posix()))
|
|
157
222
|
return links
|
|
158
223
|
|
|
159
224
|
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
{% if licence %}<p>Project licence: {{ licence }}</p>{% endif %}
|
|
4
4
|
<p><a href="{{ guide_folder }}/index.html">All task guides</a>{% if has_api_index %} · <a href="api.html">API reference</a>{% endif %}</p>
|
|
5
5
|
<ul>
|
|
6
|
-
{% for title,
|
|
6
|
+
{% for title, href in links %}<li><a href="{{ guide_folder }}/{{ href }}">{{ title }}</a></li>
|
|
7
7
|
{% endfor %}</ul>
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
7
7
|
- [Overview]({{ site_url }})
|
|
8
|
-
{% for source, title in guides if folder -%}
|
|
9
|
-
- [{{ title }}]({{ site_url }}{{ folder.as_posix() }}/{{
|
|
8
|
+
{% for source, title, href in guides if folder -%}
|
|
9
|
+
- [{{ title }}]({{ site_url }}{{ folder.as_posix() }}/{{ href }})
|
|
10
10
|
{% endfor -%}
|
|
11
11
|
{% if has_api -%}
|
|
12
12
|
- [API reference]({{ site_url }}api.html)
|
|
@@ -48,14 +48,16 @@ def structured_data_script(title: str, description: str, url: str, schema_type:
|
|
|
48
48
|
return f'<script type="application/ld+json">{encoded}</script>'
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
def _annotate_existing_pages(
|
|
51
|
+
def _annotate_existing_pages(
|
|
52
|
+
output: Path, site_url: str, guides: list[tuple[Path, str, str]], folder: Path | None
|
|
53
|
+
) -> None:
|
|
52
54
|
"""Annotate already-rendered landing and guide pages without rebuilding the API."""
|
|
53
55
|
if not guides or folder is None:
|
|
54
56
|
return
|
|
55
57
|
pages = [(output / "index.html", site_url, "WebSite")]
|
|
56
58
|
pages.extend(
|
|
57
|
-
(output / folder /
|
|
58
|
-
for
|
|
59
|
+
(output / folder / relative_html_path, f"{site_url}{folder.as_posix()}/{relative_html_path}", "TechArticle")
|
|
60
|
+
for _source, _title, relative_html_path in guides
|
|
59
61
|
)
|
|
60
62
|
for page, url, schema_type in pages:
|
|
61
63
|
text = page.read_text(encoding="utf8")
|
|
@@ -75,13 +77,26 @@ def _guide_title(source: Path) -> str:
|
|
|
75
77
|
)
|
|
76
78
|
|
|
77
79
|
|
|
78
|
-
def
|
|
80
|
+
def _guide_html_path(source: Path, sources: Path) -> Path:
|
|
81
|
+
"""Map a guide source file to its published HTML path beneath the guide folder."""
|
|
82
|
+
return source.relative_to(sources).with_suffix(".html")
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def _guide_sort_key(source: Path, sources: Path) -> tuple[bool, str]:
|
|
86
|
+
"""Keep the guide overview first and sort all nested guides by path."""
|
|
87
|
+
relative = source.relative_to(sources)
|
|
88
|
+
return relative != Path("index.md"), relative.as_posix()
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def _published_guides(output: Path, sources: Path | None, folder: Path | None) -> list[tuple[Path, str, str]]:
|
|
79
92
|
if sources is None or folder is None:
|
|
80
93
|
return []
|
|
94
|
+
guide_sources = sources
|
|
81
95
|
return [
|
|
82
|
-
(source, _guide_title(source))
|
|
83
|
-
for source in sorted(
|
|
84
|
-
|
|
96
|
+
(source, _guide_title(source), relative_html_path.as_posix())
|
|
97
|
+
for source in sorted(guide_sources.rglob("*.md"), key=lambda path: _guide_sort_key(path, guide_sources))
|
|
98
|
+
for relative_html_path in [_guide_html_path(source, guide_sources)]
|
|
99
|
+
if (output / folder / relative_html_path).is_file()
|
|
85
100
|
]
|
|
86
101
|
|
|
87
102
|
|
|
@@ -100,7 +115,7 @@ def _render_sitemap(output: Path, site_url: str) -> str:
|
|
|
100
115
|
|
|
101
116
|
|
|
102
117
|
def _render_llms_index(
|
|
103
|
-
output: Path, site_url: str, name: str, guides: list[tuple[Path, str]], folder: Path | None
|
|
118
|
+
output: Path, site_url: str, name: str, guides: list[tuple[Path, str, str]], folder: Path | None
|
|
104
119
|
) -> str:
|
|
105
120
|
"""Render the concise index from pages that were actually published."""
|
|
106
121
|
rendered = str(
|
|
@@ -111,19 +126,24 @@ def _render_llms_index(
|
|
|
111
126
|
return rendered.rstrip() + "\n"
|
|
112
127
|
|
|
113
128
|
|
|
114
|
-
def _render_llms_full(output: Path, site_url: str, name: str, guides: list[tuple[Path, str]], folder: Path) -> str:
|
|
129
|
+
def _render_llms_full(output: Path, site_url: str, name: str, guides: list[tuple[Path, str, str]], folder: Path) -> str:
|
|
115
130
|
"""Consolidate only the Markdown guides which have corresponding published pages."""
|
|
116
|
-
published = {source.
|
|
117
|
-
|
|
118
|
-
def published_link(match: re.Match[str]) -> str:
|
|
119
|
-
stem, fragment = match.group(1), match.group(2) or ""
|
|
120
|
-
return f"]({site_url}{folder.as_posix()}/{stem}.html{fragment})" if stem in published else match.group(0)
|
|
131
|
+
published = {source.resolve(): relative_html_path for source, _title, relative_html_path in guides}
|
|
121
132
|
|
|
122
133
|
sections: list[tuple[str, str]] = []
|
|
123
|
-
for source, title in guides:
|
|
134
|
+
for source, title, _relative_html_path in guides:
|
|
124
135
|
text = source.read_text(encoding="utf8")
|
|
125
136
|
text = re.sub(r"^# .*(?:\n|$)", "", text, count=1, flags=re.MULTILINE)
|
|
126
|
-
|
|
137
|
+
|
|
138
|
+
def published_link(match: re.Match[str]) -> str:
|
|
139
|
+
destination = match.group(1)
|
|
140
|
+
fragment = match.group(2) or ""
|
|
141
|
+
target = (source.parent / Path(destination)).resolve()
|
|
142
|
+
if target not in published:
|
|
143
|
+
return match.group(0)
|
|
144
|
+
return f"]({site_url}{folder.as_posix()}/{published[target]}{fragment})"
|
|
145
|
+
|
|
146
|
+
text = re.sub(r"\]\(([^)#]+\.md)(#[^)]*)?\)", published_link, text)
|
|
127
147
|
in_code = False
|
|
128
148
|
body = []
|
|
129
149
|
for line in text.strip().splitlines():
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: continuous-delivery-scripts
|
|
3
|
-
Version: 4.8.
|
|
3
|
+
Version: 4.8.2
|
|
4
4
|
Summary: Git-based CI/CD tools for releases, changelogs, SPDX SBOMs and licence reporting
|
|
5
5
|
Home-page: https://github.com/ARMmbed/continuous-delivery-scripts
|
|
6
6
|
Author: Arm
|
|
@@ -82,7 +82,8 @@ SPDX-License-Identifier: Apache-2.0
|
|
|
82
82
|
`continuous-delivery-scripts` provides Git-based CI/CD commands for release
|
|
83
83
|
automation, semantic versioning, changelog generation, SPDX SBOMs,
|
|
84
84
|
third-party IP (TPIP) and licence reports, source licence headers and secret
|
|
85
|
-
checks.
|
|
85
|
+
checks. It is designed as a CI-agnostic set of composable delivery tools rather
|
|
86
|
+
than a Git-history-driven release system.
|
|
86
87
|
|
|
87
88
|
## Overview
|
|
88
89
|
|
|
@@ -95,7 +96,9 @@ a release. The shared project delivery definition lives in one place:
|
|
|
95
96
|
including paths, versioning rules and the selected `PROGRAMMING_LANGUAGE`,
|
|
96
97
|
regardless of the project's language or CI system. The selected plugin then
|
|
97
98
|
uses appropriate ecosystem tools: for example, GoReleaser for Go releases or
|
|
98
|
-
wheel and Twine for Python packages.
|
|
99
|
+
wheel and Twine for Python packages. CDS also builds on tools such as
|
|
100
|
+
Towncrier, pdoc, detect-secrets and SPDX data sources where they are the best
|
|
101
|
+
fit for a specific delivery task. Consult the
|
|
99
102
|
[plugin guides](./guides/plugin-guides.md) for language-specific
|
|
100
103
|
requirements, including the [Go plugin guides](./guides/plugin-golang.md);
|
|
101
104
|
native build manifests and credentials may still be needed. See
|
|
@@ -107,6 +110,30 @@ the project's Git repository and install the required tools. This avoids
|
|
|
107
110
|
infrastructure lock-in: the team can decide which CI system suits its project,
|
|
108
111
|
including after the delivery workflow has been defined.
|
|
109
112
|
|
|
113
|
+
## Why Continuous Delivery Scripts?
|
|
114
|
+
|
|
115
|
+
CDS takes a different approach to release automation by deliberately separating
|
|
116
|
+
development history from consumer-facing release information.
|
|
117
|
+
|
|
118
|
+
Unlike commit-driven tools such as
|
|
119
|
+
[release-please](https://github.com/googleapis/release-please) or
|
|
120
|
+
[semantic-release](https://semantic-release.gitbook.io/), CDS follows
|
|
121
|
+
Towncrier's philosophy: Git commits document technical changes for maintainers,
|
|
122
|
+
while explicit news fragments describe their significance to consumers.
|
|
123
|
+
|
|
124
|
+
Beyond changelog generation, CDS provides composable, CI-agnostic tools for
|
|
125
|
+
versioning, coordinated releases, licensing, SBOM generation, documentation and
|
|
126
|
+
other delivery responsibilities. CDS often uses specialised tools rather than
|
|
127
|
+
replacing them outright: for example, Towncrier for release notes, GoReleaser
|
|
128
|
+
for Go packaging, wheel and Twine for Python publication, pdoc for Python API
|
|
129
|
+
documentation, and detect-secrets for secret scanning.
|
|
130
|
+
|
|
131
|
+
This makes it particularly suitable for projects seeking consistent release
|
|
132
|
+
practices across languages and CI/CD platforms without imposing a particular
|
|
133
|
+
commit convention or release workflow.
|
|
134
|
+
|
|
135
|
+
Learn more in [Why choose Continuous Delivery Scripts?](./guides/why-continuous-delivery-scripts.md).
|
|
136
|
+
|
|
110
137
|
## Usage and documentation
|
|
111
138
|
|
|
112
139
|
Start with the [common use cases](#common-use-cases) below, then follow the
|
|
@@ -245,11 +272,14 @@ same commands whichever CI system the team chooses.
|
|
|
245
272
|
| [`cd-determine-version`](./guides/previewing-versions.md) | Calculates and prints the **project's prospective release version** without generating a changelog. | Required `--release-type` (`-t`) | Developer preview or CI |
|
|
246
273
|
| [`cd-generate-news`](./guides/managing-changelogs.md) | Updates the project version and, for beta or production releases, builds the changelog from news fragments; prints the resulting version. | Required `--release-type` (`-t`) | CI release flow |
|
|
247
274
|
| [`cd-get-config`](./guides/reading-project-configuration.md) | Prints a project configuration value. | Either `--key` (`-k`) or `--config-variable` (`-c`) | Developer or CI |
|
|
275
|
+
| [`cd-check-project-config`](./guides/checking-project-configuration.md) | Validates CDS-specific `ProjectConfig` values before other commands run. | Optional `--config-file` (`-f`), `--verbose` (`-v`) | Developer setup or CI gate |
|
|
248
276
|
| [`cd-tag-and-release`](./guides/automating-releases.md) | Runs the release flow, including documentation, licensing summaries, Git tagging, packaging and publication through the selected [language plugin](./continuous_delivery_scripts/plugins). | Required `--release-type` (`-t`); optional `--current-branch` (`-b`) | CI release flow |
|
|
249
277
|
| [`cd-generate-docs`](./guides/generating-code-documentation.md) | Generates code documentation in the configured output directory (or one specified on the command line). | `--output_directory` | Developer preview or CI |
|
|
250
278
|
| [`cd-generate-spdx`](./guides/generating-an-spdx-sbom.md) | Generates SPDX documents and third-party licence summaries, then checks licence compliance when project metadata is available. | Required `--output-dir` (`-o`); optional `--lookup-scancode`, `--skip-dependency-download` | CI audit; developer review also possible |
|
|
251
279
|
| [`cd-check-licence-compliance`](./guides/checking-licence-compliance.md) | Checks project and dependency licences without creating SPDX documents; optionally writes third-party IP summaries. | Optional `--output-dir` (`-o`) for reports, `--lookup-scancode`, `--skip-dependency-download` | CI gate or developer review |
|
|
252
280
|
| [`cd-license-files`](./guides/licence-header-management.md) | Adds or updates source-file licence and copyright headers when the language plugin supports them. | `--verbose` (`-v`) | Developer or CI |
|
|
281
|
+
| [`cd-sync-project-licence`](./guides/syncing-project-licence.md) | Creates or refreshes the top-level project licence file from the configured SPDX identifier. | `--verbose` (`-v`) | Developer setup or CI compliance prep |
|
|
282
|
+
| [`cd-describe-licence-obligations`](./guides/describing-project-licence-obligations.md) | Prints a human-readable summary of obligations for the configured project licence. | `--verbose` (`-v`) | Developer review or CI reporting |
|
|
253
283
|
| [`cd-record-secrets`](./guides/recording-secrets.md) | Records accepted findings in the project's [detect-secrets](https://github.com/Yelp/detect-secrets) registry. | `--registry-file` (`-r`); defaults to the configured registry | Developer (registry maintenance) |
|
|
254
284
|
| [`cd-detect-secrets`](./guides/checking-for-secrets.md) | Checks Git-tracked files against that registry and fails if new secrets are found. | `--registry-file` (`-r`); defaults to the configured registry | CI; developer checks also possible |
|
|
255
285
|
|
{continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/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-
|
|
12
|
+
Created: 2026-11-27T18:30:14Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: GitPython
|
{continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/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-
|
|
12
|
+
Created: 2026-11-27T18:30: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-
|
|
12
|
+
Created: 2026-11-27T18:30:15Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: Mako
|
{continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/Markdown.spdx
RENAMED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
SPDXVersion: SPDX-2.3
|
|
3
3
|
DataLicense: CC0-1.0
|
|
4
4
|
SPDXID: SPDXRef-DOCUMENT
|
|
5
|
-
DocumentName: Markdown-3.11.
|
|
6
|
-
DocumentNamespace: http://spdx.org/spdxdocs/Markdown-3.11.
|
|
5
|
+
DocumentName: Markdown-3.11.4
|
|
6
|
+
DocumentNamespace: http://spdx.org/spdxdocs/Markdown-3.11.4-fd5ca83d-9b35-5adc-7397-1cf20aa66fd4
|
|
7
7
|
DocumentComment: This document was created automatically using available project and dependency information.
|
|
8
8
|
|
|
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-
|
|
12
|
+
Created: 2026-11-27T18:30:15Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: Markdown
|
|
16
16
|
SPDXID: SPDXRef-Markdown
|
|
17
|
-
PackageVersion: 3.11.
|
|
17
|
+
PackageVersion: 3.11.4
|
|
18
18
|
PackageFileName: Markdown
|
|
19
19
|
PackageOriginator: Person: Manfred Stienstra, Yuri Takhteyev (Waylan limberg <python.markdown@gmail.com>)
|
|
20
20
|
PackageDownloadLocation: NOASSERTION
|
{continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/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-
|
|
12
|
+
Created: 2026-11-27T18:30:14Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: MarkupSafe
|
{continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/spdx-tmp/PyYAML.spdx
RENAMED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
SPDXVersion: SPDX-2.3
|
|
3
3
|
DataLicense: CC0-1.0
|
|
4
4
|
SPDXID: SPDXRef-DOCUMENT
|
|
5
|
-
DocumentName: PyYAML-6.0.
|
|
6
|
-
DocumentNamespace: http://spdx.org/spdxdocs/PyYAML-6.0.
|
|
5
|
+
DocumentName: PyYAML-6.0.4
|
|
6
|
+
DocumentNamespace: http://spdx.org/spdxdocs/PyYAML-6.0.4-42e0bb82-6d60-59a2-bda4-ba9ac3096784
|
|
7
7
|
DocumentComment: This document was created automatically using available project and dependency information.
|
|
8
8
|
|
|
9
9
|
## Creation Information
|
|
10
10
|
Creator: Person: Kirill Simonov (xi@resolvent.net)
|
|
11
11
|
Creator: Tool: mbed-spdx-generator
|
|
12
|
-
Created: 2026-
|
|
12
|
+
Created: 2026-11-27T18:30:16Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: PyYAML
|
|
16
16
|
SPDXID: SPDXRef-PyYAML
|
|
17
|
-
PackageVersion: 6.0.
|
|
17
|
+
PackageVersion: 6.0.4
|
|
18
18
|
PackageFileName: PyYAML
|
|
19
19
|
PackageOriginator: Person: Kirill Simonov (xi@resolvent.net)
|
|
20
20
|
PackageDownloadLocation: NOASSERTION
|
{continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/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-
|
|
12
|
+
Created: 2026-11-27T18:30:15Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: Pygments
|
{continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/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-
|
|
12
|
+
Created: 2026-11-27T18:30:15Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: SecretStorage
|
{continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/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-
|
|
12
|
+
Created: 2026-11-27T18:30:17Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: beartype
|
{continuous_delivery_scripts-4.8.0 → continuous_delivery_scripts-4.8.2}/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-
|
|
12
|
+
Created: 2026-11-27T18:30:17Z
|
|
13
13
|
|
|
14
14
|
## Package Information
|
|
15
15
|
PackageName: boolean.py
|