Missing target list for the branch 25.12 in the JSON returned by https://sysupgrade.openwrt.org/json/v1/overview.json

Aperta
#1,674 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by tracing how /json/v1/overview.json builds branch metadata and how owut consumes the targets field; the issue names no source files or tests. Compare the generated 25.12 targets with 24.10 and check whether the empty list is intentional. Done means confirming the cause and correcting the metadata so supported 25.12 targets are available, or documenting why they are not.

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

Descrizione

Hello,
the JSON file returned by https://sysupgrade.openwrt.org/json/v1/overview.json has an empty Targets section for the Branch 25.12

Consequently when trying to use owut with a 25.12.x version (25.12.3 in my case) it fails with the message:
Your specified version-to '25.12.3' is not available. Pick one from above.

{ "latest":[ "25.12.6", "24.10.8" ],
"branches":{ "SNAPSHOT":{...},

"25.12":{ "enabled":true, "snapshot":false, "versions":[ "25.12.6", ... , "25.12-SNAPSHOT" ], "name":"25.12",
"targets":{ } },

In comparison:
"24.10":{
"targets":{
"loongarch64/generic":"loongarch64_generic",
...
"bcm53xx/generic":"arm_cortex-a9" } }, }

Is this an error in the metadata, or intentional?
is it possible to correct the metadata?

Thank you and have a nice day!

Lingua principale
Python
Stelle
459
Fork
117
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 openwrt/asu

Tutte le issue di openwrt/asu

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.