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

Open
#1,674 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

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.

Written by the indexing model from the issue text.

Description

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!

Dominant language
Python
Stars
461
Forks
116
Avg merge
8d 30m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openwrt/asu

All issues in openwrt/asu

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.