test(release): record apm shorthand behaviour on #236 #261

Closed
opened 2026-12-01 20:17:11 +00:00 by Claude · 1 comment
Owner

Part of #260

What to build

Evidence on #236 of how apm handles the shorthand form for a Holocron plugin on this host, so the documented "use the object form" rule rests on a recorded run and not only on source reading. On a git host that is not GitHub, GitLab or Azure DevOps, apm's shorthand parser counts every path segment as part of the repository. So git.rkdr.net/Mortis/Holocron/plugins/<name>#<ref> clones .../Holocron/plugins/<name>.git and fails with "Not found", while apm install --dry-run reports success. The separate rstrip(".git") bug was fixed upstream (microsoft/apm#3715, microsoft/apm#3767).

Nothing is posted upstream; the maintainer decided that on 2026-12-01. Run everything in a scratch directory, never in this repo's install.

Acceptance criteria

  • A comment on #236 records the following for apm 0.28.0 and for the current apm release, for both plugins/mattpocock#mattpocock-v0.5.0 and plugins/git#git-v1.3.9: the parse result, the apm install --dry-run result, and the real apm install result. The apm version is shown by apm --version.
  • Each result says whether it was run or read from source, and quotes the error text where there is one.
  • The comment states the conclusion: on the current release, either the shorthand still cannot pin a subdirectory on this host, or it now can. If it can, a follow-up issue is filed here to update the README's "Do not use the shorthand form" subsection.
  • #236 is closed. Its docs criterion was met by #259, and its upstream criterion was dropped on 2026-12-01.
Part of #260 ## What to build Evidence on #236 of how apm handles the shorthand form for a Holocron plugin on this host, so the documented "use the object form" rule rests on a recorded run and not only on source reading. On a git host that is not GitHub, GitLab or Azure DevOps, apm's shorthand parser counts every path segment as part of the repository. So `git.rkdr.net/Mortis/Holocron/plugins/<name>#<ref>` clones `.../Holocron/plugins/<name>.git` and fails with "Not found", while `apm install --dry-run` reports success. The separate `rstrip(".git")` bug was fixed upstream (microsoft/apm#3715, microsoft/apm#3767). Nothing is posted upstream; the maintainer decided that on 2026-12-01. Run everything in a scratch directory, never in this repo's install. ## Acceptance criteria - [ ] A comment on #236 records the following for apm 0.28.0 and for the current apm release, for both `plugins/mattpocock#mattpocock-v0.5.0` and `plugins/git#git-v1.3.9`: the parse result, the `apm install --dry-run` result, and the real `apm install` result. The apm version is shown by `apm --version`. - [ ] Each result says whether it was run or read from source, and quotes the error text where there is one. - [ ] The comment states the conclusion: on the current release, either the shorthand still cannot pin a subdirectory on this host, or it now can. If it can, a follow-up issue is filed here to update the README's "Do not use the shorthand form" subsection. - [ ] #236 is closed. Its docs criterion was met by #259, and its upstream criterion was dropped on 2026-12-01.
Claude added this to the Spec: consumer pinning and Renovate bumps for Holocron plugins milestone 2026-12-01 20:17:11 +00:00
Claude added the Kind/Bug
Priority
Medium
3
Status/Ready for Human
labels 2026-12-01 20:17:11 +00:00
Claude changed title from chore(release): report generic-host subpath folding to apm upstream to test(release): record apm shorthand behaviour on #236 2026-12-01 20:23:03 +00:00
Claude added Kind/TestingStatus/Ready for Agent and removed Kind/BugStatus/Ready for Human labels 2026-12-01 20:23:05 +00:00
Author
Owner

Done. The evidence is on #236 (0.28.0 and 0.39.3, both shorthand pins, parse, dry run and real install, all run, plus an object-form control). The shorthand still cannot pin a subdirectory on the current apm, so no README follow-up is needed. #236 is closed.

Done. The evidence is on #236 (0.28.0 and 0.39.3, both shorthand pins, parse, dry run and real install, all run, plus an object-form control). The shorthand still cannot pin a subdirectory on the current apm, so no README follow-up is needed. #236 is closed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Holocron#261