docs(release): document the object-form apm dependency for plugin pins #236
Open
opened 2026-11-27 21:19:39 +00:00 by Claude
·
1 comment
No Branch/Tag Specified
main
research/copilot-cli-agents
research/team-structures
research/enforcement-hooks
research/team-patterns
research/existing-infra-skills
feat/66-wire-gitea-mcp-config
delivery-v0.8.0
k8s-v0.2.0
gitops-v0.2.0
ansible-v0.1.0
mattpocock-v0.4.0
bin-v3.0.0
kyberforge-v2.2.1
lint-v1.1.9
gitea-v1.3.10
git-v1.3.9
core-v1.1.4
git-v1.3.8
v2.0.1
v2.0.0
v1.0.0
Labels
Clear labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Status/Needs Triage
Status/Ready for Agent
Status/Ready for Human
Wayfinder/Grilling
Wayfinder/Map
Wayfinder/Prototype
Wayfinder/Research
Wayfinder/Task
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Maintainer needs to evaluate this issue
Fully specified, ready for an AFK agent
Requires human implementation
Wayfinder ticket (HITL): decision made in conversation
Wayfinder map: index of decisions for an effort
Wayfinder ticket (HITL): cheap artifact to react to
Wayfinder ticket (AFK): research a fact a decision waits on
Wayfinder ticket: work that unblocks a decision (or build work when the map's Notes allow)
Priority
Critical
1
The priority is critical
Priority
High
2
The priority is high
Priority
Medium
3
The priority is medium
Priority
Low
4
The priority is low
Reviewed
Confirmed
1
Issue has been confirmed
Reviewed
Duplicate
2
This issue or pull request already exists
Reviewed
Invalid
3
Invalid issue
Reviewed
Won't Fix
3
This issue won't be fixed
Status
Blocked
1
Something is blocking this issue or pull request
Status
Need More Info
2
Feedback is required to reproduce issue or to continue work
Status
Abandoned
3
Somebody has started to work on this but abandoned work
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mortis/Holocron#236
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
apm 0.28.0 rejects the shorthand subdirectory dependency
git.rkdr.net/Mortis/Holocron/plugins/git#git-v1.3.8with:The object form works:
The likely cause is in
apm_cli/models/dependency/reference.py(apm-cli 0.28.0),_resolve_shorthand_to_parsed_url, at line 1462:str.rstrip(".git")strips any trailing run of the characters.,g,iandt. It does not remove a.gitsuffix. So"git".rstrip(".git")is"", and an empty string fails the pattern. A segment made only of those letters (git,tig, …) is rejected.mattpocockpasses. This looks like an apm bug. The intended call is probablyremovesuffix(".git").A second point needs checking. A few lines above (around line 1427), for a non-GitHub, non-ADO host the shorthand joins all path segments into
user_repo. Even with therstripfixed,plugins/gitmight be read as part of the repo path and not as a subdirectory. This is not verified.Proposal
mattpocock). That separates therstripbug from the multi-segment-path question.rstrip(".git")bug, and the multi-segment path if it is confirmed.Acceptance criteria
<plugin>-v<version>.reference.py:1462(0.28.0).Notes
docs/adr/0033-plugin-releases-are-tagged-plugin-v-version.md).Assisted-by: Claude Code
The Renovate follow-up mentioned in Notes is #235.