Skip to content

feat(outdated): support monorepo tag nameing convention#1504

Open
kevinbeier-enbw wants to merge 5 commits into
microsoft:mainfrom
kevinbeier-enbw:feat/outdated-name-version-tag-support
Open

feat(outdated): support monorepo tag nameing convention#1504
kevinbeier-enbw wants to merge 5 commits into
microsoft:mainfrom
kevinbeier-enbw:feat/outdated-name-version-tag-support

Conversation

@kevinbeier-enbw
Copy link
Copy Markdown

What

apm outdated and apm marketplace outdated now understand monorepo-style git tags like my-package_v1.0.1, not only v1.0.0.

Why

Repos that tag per package often use package_v1.0.0. Before this change, APM treated those refs as branch names, so outdated showed unknown instead of a real Latest / Status.

Idea is when you have a monorepo with multiple apm's

examples/monorepo-multi-apm/
├── README.md
├── TAGGING.md
├── apm.yml                      # marketplace index (apm1 + apm2)
└── packages/
    ├── apm1/
    │   ├── apm.yml
    │   └── .apm/skills/hello/SKILL.md
    └── apm2/
        ├── apm.yml
        └── .apm/skills/hello/SKILL.md

Note

We use _v (e.g. api-governance_v1.0.2), not @, because @ is already used for marketplace installs (apm install pkg@my-marketplace). If any other prefered standard is wanted, this can be changed.

Copilot AI review requested due to automatic review settings May 27, 2026 11:41
@kevinbeier-enbw
Copy link
Copy Markdown
Author

kevinbeier-enbw commented May 27, 2026

@microsoft-github-policy-service agree company="EnBW"

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Comment thread src/apm_cli/commands/marketplace/__init__.py
Comment thread src/apm_cli/marketplace/tag_pattern.py Outdated
Comment thread src/apm_cli/commands/outdated.py Outdated
Comment thread src/apm_cli/commands/outdated.py Outdated
kevinbeier-enbw and others added 3 commits May 27, 2026 13:48
When a tag_pattern contains {name}, specialize matching to the target package name so monorepo tags for other packages don't skew outdated results. Also harden parse_tag_version for patterns without {version}.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants