Make postulo-templates an installable plugin: a package that registers its themes, with catalogues, tests and CI #1
Labels
No labels
bug
documentation
enhancement
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo-templates#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The list of improvements calls this repository "the official Templates plugin". Today it is a README, and the README says the opposite: "A template pack is not a package: nothing installs it from a catalogue, nothing imports it, and a template is copied into a Postulo and edited there", and so "this repository carries none" for a version.
Nothing in the core copies a template in. A theme reaches the renderer through one door, an installed plugin (
src/postulo/plugins/themes.pyin the core: "This is the only door, and it opens exactly as wide as installing a plugin does"), which postulo/postulo#132 decided. postulo/postulo#241 (item 6) already asks for this repository to get "actual content": themes, a render test and CI. This issue is the plugin itself; the templates are the issues after it.What the repository should become
src/postulo_templates, installed like every official plugin.postulo.featureswhose plugin lists its themes in athemesattribute, as Writing a plugin describes. The core finds thetemplates/directory inside the package when it loads the plugin, and thelocale/beside it (#7).Themefrompostulo.plugins.api: a name, a label, the template for each kind it sets, and this plugin as its provider, so the picker says where it comes from. The kinds a theme can set today arecv,portfolioandletter.plainandclassic.postulo.plugins.testing).data:), and that nothing overflows the page.Decisions
Needs from the core
Nothing for CVs, portfolios and letters. The other kinds, the assets and the paper formats each need a core change, named in their own issues: #4, #5, #6, #8, #9.
Done when
From the list of template improvements of 2026-09-30.
curl | shand audits no dependency, and no existing issue names this repository #15