WIP: feat(arstotzka): catalog loader + GET /schema #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "arrdem/arstotzka-catalog"
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 #7. Adds the
arstotzka_catalogaggregator that merges everyrulebook_schemaJSON output into a single catalog the auth server loads at startup. Validatesarstotzka.jsonagainst the catalog at boot — invalid statements fail the boot with the offending entry quoted. ExposesGET /schemasoauthctl(PR #9) can browse the live vocabulary.Scope guard
The auth server's runtime never sees Starlark.
starlark-pyo3does not enter the server image's dependency closure; the loader does plainjson.loadson a build-time-pinned artifact. This is the load-bearing reason the DSL ships separately from the server. Seeprojects/arstotzka/catalog/SCOPE.mdfor the full breakdown.Status
Stub PR opened so PR #4 / #7 can reference a real Forgejo number for the catalog work. Implementation commits will follow.
Stack
arstotzka_catalog+ server loader (this PR)authctlintegration0aff805e04to5046ce6bdb5046ce6bdbto804f6824cb804f6824cbto7bc63c7ba57bc63c7ba5to9be0b84092View 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.