Keep the wiki in its own repository, and stop copying it there #169
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Postulo/postulo#169
Loading…
Add table
Add a link
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?
Decision
The wiki has one home: the
postulo.wikirepository. Its pages are written and committed there, directly.postulo/wiki/andscripts/publish-wiki.shgo.Why
Two copies drift, and this pair already had.
wiki/was the source and the Forgejo wiki a copy, refreshed only when somebody remembered to run the script. The last publish was on 5 September (9645ee1). Since then:*.mdand nothing else, so the logo and the Buy me a coffee button on Home have never shown on the published wiki.What it changes
postulo.wikitakes every page as ofpostulo@b6cfb8f7and theimages/directory. Its history until now is nothing but publish commits, and I checked that nothing was edited there thatwiki/did not already have.postuloloseswiki/and the script.CONTRIBUTING.mdandCLAUDE.mdsay where pages are written now, and the guidance that lived inwiki/README.mdmoves toCONTRIBUTING.md: page names, links between pages, and keeping it honest.Worth being careful about
wiki/. It is weaker than it looked, because nothing ever enforced the publish step. With the wiki committed directly, what readers see is what was written.images/postulo.pngworks once the file is there. That needs checking on the rendered page, not assuming.Done, in both repositories:
postulo.wiki@2d4c0c7takes every page as ofpostulo@b6cfb8f7: the four that had never been published (Accessibility, Hardening, Listings, Reports), the seventeen that were stale, andimages/.postulo@a22e7a09removeswiki/andscripts/publish-wiki.sh.CONTRIBUTING.mdsays where pages are written now: where to clone the wiki, how pages and links are named, and where images go, taking over whatwiki/README.mdsaid.CLAUDE.mdand the README point at the wiki repository, and.dockerignoreloses itswikiline.Checked on the live wiki
images/postulo.pngto/postulo/postulo/wiki/raw/images/postulo.png. Both images come back as real PNGs, of the same byte size as the files, so the front page shows its logo and button for the first time.wiki/did not. Its history was nothing but publish commits, and the pages matchedwiki/at9645ee1byte for byte, apart from line endings in the checkout.Still true
A feature ships with its wiki page. It is now a commit to
postulo.wikithat names the same issue.docs/PLAN.mdhas not been revised since before 0.3.0 and now says untrue things #255