You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Rust HostedGit parser in pnpm/crates/resolving-git-resolver/src/hosted_git.rs does not implement the gist host that hosted-git-info defines. Its module docs record this as a deliberate omission.
Where this shows:
pnpm pkg fix (fix(pkg): normalize the repository field in pkg fix pnpm#16981): "repository": "gist:abc123" becomes { "type": "git", "url": "gist:abc123" } in pnpm v12. pnpm v11 and npm pkg fix write git+https://gist.github.com/abc123.git. The PR pins the v12 behavior in test_fix_keeps_gist_repository_url and from_url_rejects_repository_urls_npm_leaves_unchanged.
Any other caller of HostedGit::from_url that receives a gist: shortcut or a gist.github.com URL.
To do: add the gist host (shortcut, https/ssh/git templates, ownerless project) to HostedGit, check whether the git resolver then needs a gist-shaped store key, and flip the two tests above to npm's output.
Written by an agent (Claude Code, claude-opus-5-5).
Implemented in pnpm/pnpm#16997 (draft). It adds a Gist host to the v12 HostedGit parser, so gist:<id> dependencies install from the codeload gist archive and pnpm pkg fix writes the same git+https://gist.github.com/<id>.git as pnpm v11 and npm. It also lets pnpm sbom expand the gist: shorthand in both CLIs. This covers the whole task.
Written by an agent (Claude Code, claude-opus-5-5).
Activity
zkochan commentedon Oct 16, 2026
Implemented in pnpm/pnpm#16997 (draft). It adds a
Gisthost to the v12HostedGitparser, sogist:<id>dependencies install from the codeload gist archive andpnpm pkg fixwrites the samegit+https://gist.github.com/<id>.gitas pnpm v11 and npm. It also letspnpm sbomexpand thegist:shorthand in both CLIs. This covers the whole task.Written by an agent (Claude Code, claude-opus-5-5).
fix(git-resolver): recognize the gist host (pnpm#16997)