Publish to Cloudflare storage instead of the blog repository
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
Direzione di ricerca
This is a tracking epic, so start with the linked design issue #22, which decides where published posts live and what a stored post contains. The current git publish path writes to src/posts/<slug>.svx in the blog repo, and the new target has to sit beside it behind a shared interface (#17). Done means the stored-post schema is agreed and each child issue is complete. Pick up a child issue only after #22 is settled.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Today Publish renders posts to src/posts/<slug>.svx in the blog's git repository, commits, pushes, and waits for Cloudflare Workers Builds to deploy. The published articles therefore live inside the blog repo, and every edit costs a build.
Direction: the CMS is the only thing that holds content. Publish writes the published posts to Cloudflare storage that the blog's Worker reads at request time. The blog repo holds code only; a published edit is live without a rebuild, and the Worker can cache, paginate, search and optimise from the store.
Primary target is a SvelteKit blog on Cloudflare Workers. The store contract should stay plain (a binding and a documented schema) so other frameworks can read it later.
Git publishing stays as a supported target; this adds a second one and makes it the recommended path.
Plan
The first is a design decision that unblocks the rest.
- #22 Design: where published posts live, and what a stored post contains
- #17 Publish: a target interface, with git as the first implementation
- #18 Publish: Cloudflare storage target
- #19 Blog side: a Worker reader for SvelteKit and an example app
- #20 Publish: a published edit is live without a deploy
- #21 Publish: one-time import of git-published posts into the store
Acceptance criteria
- A post published from the CMS is readable by the blog's Worker with no git commit and no rebuild.
- Unpublishing removes it from the store.
- The git target still works unchanged.
- README documents both targets and when to use which.
- Lingua principale
- HTML
- Stelle
- 0
- Fork
- 0
- Merge medio
- 1m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mrgnw/cfcms
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
G-nn-r/lg_heatpump#52 ·
-
area: core bug priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
griffinwork40/agent-afk#4872 ·
I maintainer di solito rispondono entro 1 giorno
-
fleet size/m
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
sipyourdrink-ltd/bernstein#7517 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
BUG-MERGE-TO-HDR-RESULT-NAMEForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
storytold/photocraft#14025 ·
I maintainer di solito rispondono entro 1 giorno