Add metadata/patch stripping to matrix version tag renderings
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 38/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- python
- Domain
- build-system
Research direction
Start by tracing the matrix version tag rendering and how dependency names are passed into compound version names. Compare the existing stripMetadata template behavior for regular image versions with matrix versions, then evaluate the three approaches listed in the issue. Done means matrix tags strip patches or metadata cleanly while preserving the intended component versions.
Written by the indexing model from the issue text.
Description
I think we should specify the example without the build number.
version: "2026.05.1"
Originally posted by @bschwedler in https://github.com/posit-dev/images-workbench/pull/94#discussion_r3226900436
Regular image versions can use the {{ Version |stripMetadata }} template pattern to create a tag with the version metadata stripped off. Since matrix versions typically have compound version names (ex. R4.6.0-python3.13.13), we cannot apply the same template pattern to them and expect a clean result.
To implement this functionality, we would need to alter at least one of:
- How dependency names are passed into the compounded version name
- Use regex to trim patches/metadata off of versions in a compounded string
- Fundamentally change tag pattern structure for matrix versions so we could use a pattern like
{{ '-' | join(component_versions | stripMetadata) }}
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 20
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/images-shared
-
cvp:0 docker tdp:1
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
posit-dev/images-shared#757 · 2 comments ·
Maintainers usually reply within 1 day
-
bug cvp:0 docker priority/medium python tdp:1
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
posit-dev/images-shared#685 ·
Maintainers usually reply within 1 day
-
slack-build-notify: no persisted alert state — causes suppressed repeat-failure and recovery alertsOpenbug cicd cvp:0 docker needs discussion observability tdp:2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
posit-dev/images-shared#677 ·
Maintainers usually reply within 1 day
-
cvp:0 docker tdp:2 tech debt
Difficulty 4/5 3-5 days Newbie friendliness 48/100
posit-dev/images-shared#795 ·
Maintainers usually reply within 1 day
-
cicd cvp:0 docker enhancement tdp:2
Difficulty 5/5 Over a week Newbie friendliness 35/100
posit-dev/images-shared#773 ·
Maintainers usually reply within 1 day
All issues in posit-dev/images-shared
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-2 days Newbie friendliness 70/100
-
FingerprintSplitter raises ZeroDivisionError when int(frac_train * len(dataset)) floors to zeroOpen
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 7 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
lmstudio-ai/mlx-engine#376 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pyiron/bagofholding#166 ·