WIP: feat(rulebook): bazel rules + first Rulebook #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "arrdem/rulebook-bazel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacked on PR #4. Adds the
rulebook_schemaBazel rule that compiles aRulebookto its JSON catalog at build time, therulebook_libraryrule for shared policy modules, and the first real Rulebook inprojects/doorman/. Shared policy helpers land undertools/arstotzka/.Scope guard
The rule emits JSON only.
starlark-pyo3is a build-time dependency and never enters the runtime closure of any deployable image — PR #6's auth-server loader consumes the JSON action output, nothing downstream parses Starlark. Seeprojects/rulebook/bazel/SCOPE.mdfor the full in/out-of-scope breakdown and open questions.Status
This PR is open as a stub: only the SCOPE document has been committed so the PR exists with a Forgejo number that the rest of the stack can reference. Implementation commits will follow.
Stack
arstotzka_catalogaggregator + server-side loaderauthctlintegrationfc511de347to00f437e8cb00f437e8cbto24642431f824642431f8toe9f55532d6e9f55532d6to71c913bb9cView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.