Add the @upgrade endpoint

Aperta
#115 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
api

Direzione di ricerca

Start from the pnpm seed:upgrade script the issue names and trace the upgrade steps it runs, then look at how existing endpoints are registered in the API layer. Build GET /@upgrade to report installed and available versions plus pending steps, and POST /@upgrade to run them with dry_run support, following the plone.restapi response shape. Done when both methods return that shape against Nick's upgrades and the dry_run path changes nothing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

03 type: feature

Is your feature request related to a problem? Please describe.
Nick has no @upgrade endpoint (404). In plone.restapi, GET /@upgrade shows the versions of the site configuration and the pending upgrade steps, and POST /@upgrade runs them (with dry_run).

Describe the solution you'd like
An @upgrade endpoint with the plone.restapi shape for Nick's upgrades (the steps pnpm seed:upgrade runs): the installed and the available version, the pending steps, and running them.

Additional context
Plone Aurora and Volto have an upgrade control panel built on this endpoint. Found by running the shared Plone Aurora acceptance suite against Nick 3.1.0 (https://github.com/plone/aurora/pull/370).

Assisted-by: Claude Opus 5.5

Lingua principale
TypeScript
Stelle
20
Fork
6
Merge medio
8h 30m
PR unite (30g)
43

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di plone/nick

Tutte le issue di plone/nick

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.