registry: confine resolved plugin roots to plugins/ #390

Open
nsaspy wants to merge 2 commits from rage/181-confine-plugin-roots into main
Owner

Closes #181.

RAGE transaction:

  • RED 30252f77: compatibility contract CI proves a lexical plugins/<name> symlink resolving outside canonical plugins/ was accepted.
  • implementation d575818d: resolve the plugin root and require its parent to be the canonical resolved plugins/ directory before installer, entrypoint, or docs checks.

Static/import-free; no runtime/network changes.

Gate: exact-head registry/compatibility tests, full nix flake check, generated package builds.

Closes #181. RAGE transaction: - RED `30252f77`: compatibility contract CI proves a lexical `plugins/<name>` symlink resolving outside canonical `plugins/` was accepted. - implementation `d575818d`: resolve the plugin root and require its parent to be the canonical resolved `plugins/` directory before installer, entrypoint, or docs checks. Static/import-free; no runtime/network changes. Gate: exact-head registry/compatibility tests, full `nix flake check`, generated package builds.
Some checks failed
CI / test (pull_request) Failing after 18s
This pull request has changes conflicting with the target branch.
  • tests/test_validate_registry_plugin_root.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rage/181-confine-plugin-roots:rage/181-confine-plugin-roots
git switch rage/181-confine-plugin-roots

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff rage/181-confine-plugin-roots
git switch rage/181-confine-plugin-roots
git rebase main
git switch main
git merge --ff-only rage/181-confine-plugin-roots
git switch rage/181-confine-plugin-roots
git rebase main
git switch main
git merge --no-ff rage/181-confine-plugin-roots
git switch main
git merge --squash rage/181-confine-plugin-roots
git switch main
git merge --ff-only rage/181-confine-plugin-roots
git switch main
git merge rage/181-confine-plugin-roots
git push origin main
Sign in to join this conversation.
No description provided.