Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
- id: autopep8
exclude: docs/source/conf.py
- repo: https://github.com/pycqa/isort
rev: 7.0.0
rev: 8.0.1
hooks:
- id: isort
- repo: https://github.com/jumanjihouse/pre-commit-hooks
Expand All @@ -28,12 +28,12 @@ repos:
- id: forbid-binary
exclude: docs/source/_static/.*.png
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.5.5
rev: v1.5.6
hooks:
- id: forbid-crlf
- id: forbid-tabs
- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v9.4.0
rev: v9.8.0
hooks:
- id: cspell
exclude: \.gitignore|.*\.properties
Expand All @@ -55,12 +55,12 @@ repos:
- id: pyroma
args: ["-d", "--min=10", "."]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.19.1
rev: v1.20.1
hooks:
- id: mypy
additional_dependencies: ["types-docutils", "types-python-dateutil", "types-requests"]
- repo: "https://github.com/python-jsonschema/check-jsonschema"
rev: "0.36.0"
rev: "0.37.1"
hooks:
- id: check-github-workflows
- repo: https://github.com/johannsdg/pre-commit-license-headers
Expand Down
4 changes: 2 additions & 2 deletions concoursetools/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Build metadata is deliberately not passed to :meth:`~concoursetools.resource.ConcourseResource.fetch_new_versions`,
as none of this metadata is passed to the check environment by Concourse, to avoid antipatterns.

See the Concourse :concourse:`resource types metadata <resource_types.implementing#metadata>` documentation
See the Concourse :concourse:`resource types metadata <resource_types.implementing#build-metadata>` documentation
for more information.
"""
from __future__ import annotations
Expand Down Expand Up @@ -172,7 +172,7 @@ def format_string(self, string: str, additional_values: dict[str, str] | None =
Format a string with metadata using standard bash ``$`` notation.

Only a handful of "safe" values will be interpolated, not arbitrary attributes on the instance.
These are the :concourse:`original environment variables <resource_types.implementing#metadata>`,
These are the :concourse:`original environment variables <resource_types.implementing#build-metadata>`,
including :attr:`BUILD_CREATED_BY` if it exists. object missing environment variable (such as in the case of a
one-off build) will be empty. A ``$BUILD_URL`` variable is also added for ease.

Expand Down
14 changes: 7 additions & 7 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ accessible-pygments==0.0.5
alabaster==1.0.0
babel==2.18.0
beautifulsoup4==4.14.3
certifi==2026.1.4
charset-normalizer==3.4.4
certifi==2026.2.25
charset-normalizer==3.4.7
docutils==0.22.4
furo==2025.12.19
idna==3.11
imagesize==1.4.1
imagesize==2.0.0
Jinja2==3.1.6
MarkupSafe==3.0.3
packaging==26.0
Pygments==2.19.2
requests==2.32.5
packaging==26.1
Pygments==2.20.0
requests==2.33.1
roman-numerals==4.1.0
snowballstemmer==3.0.1
soupsieve==2.8.3
Sphinx==9.1.0
sphinx-autodoc-typehints==3.6.3
sphinx-autodoc-typehints==3.10.1
sphinx-basic-ng==1.0.0b2
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-devhelp==2.0.0
Expand Down
2 changes: 1 addition & 1 deletion docs/source/changelog/0.8.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Build Metadata string formatting
Both :meth:`~concoursetools.resource.ConcourseResource.download_version` and
:meth:`~concoursetools.resource.ConcourseResource.publish_new_version` methods are passed an instance of
:class:`~concoursetools.metadata.BuildMetadata` to interface with the
:concourse:`resource metadata <resource-types.implementing#metadata>`. This allows developers to easily interface with
:concourse:`resource metadata <resource-types.implementing#build-metadata>`. This allows developers to easily interface with
this metadata from within the resource code.

However, many resources want to make this metadata available to the end user in their pipelines, by allowing them to
Expand Down
18 changes: 9 additions & 9 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
boto3==1.42.53
botocore==1.42.53
certifi==2026.1.4
boto3==1.42.89
botocore==1.42.89
certifi==2026.2.25
cffi==2.0.0
charset-normalizer==3.4.4
cryptography==46.0.5
charset-normalizer==3.4.7
cryptography==46.0.7
idna==3.11
Jinja2==3.1.6
jmespath==1.1.0
MarkupSafe==3.0.3
moto==5.1.21
moto==5.1.22
pycparser==3.0
python-dateutil==2.9.0.post0
PyYAML==6.0.3
requests==2.32.5
requests==2.33.1
responses==0.26.0
s3transfer==0.16.0
six==1.17.0
urllib3==2.6.3
Werkzeug==3.1.6
xmltodict==1.0.3
Werkzeug==3.1.8
xmltodict==1.0.4