Skip to content

feat: check installed extensions against the iPod's firmware - #21

Open
paviro wants to merge 5 commits into
RepriseOS:mainfrom
paviro:feature/installed-compatibility
Open

paviro wants to merge 5 commits into
RepriseOS:mainfrom
paviro:feature/installed-compatibility

Conversation

@paviro

@paviro paviro commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Merge together with RepriseOS/repriseos#90 and RepriseOS/extensions#2. If #30 merges first, keep both cases in src/dev/mockBackend.ts on rebase.

The firmware skips an extension whose API or firmware does not match, or whose required library did not start, and the iPod shows nothing. The installer checked only catalog entries, so such a copy still showed as Installed, and a working copy showed its blocked update's reason as its own.

  • Installed copies report their own api and firmware_id and go through the same check as catalog entries.
  • The active copy is the first one the firmware loads, /Reprise before /Revola.
  • A copy that does not load, or whose required library does not, shows why. Browse and Details offer the catalog version when that loads.
  • A working copy whose update cannot load stays Installed without an Update button, and Details reads "Version 0.1.3 needs RepriseOS 0.5.0". When the catalog's min_repriseos is newer than the iPod, the reason names that release.
  • Installing reinstalls a required library whose copy the firmware skips.
  • A core refuses packages from an SDK below its layout floor: 1.86 for a core at API 1.86 to 1.88, 1.89 for 1.89 to 1.91 (feat: move the SDK to API 1.89 with optional libraries repriseos#90) and 1.92 from 1.92 (fix: make the RVX runtime follow rv_api.h repriseos#109). Such a copy reads "Built for an older RepriseOS", the catalog's rebuilt version is offered when there is one, and the installer refuses to write an older build.
  • The dev panel has two extension scenarios with a simulated iPod, one core with an SDK floor and one without.

RepriseOS/extensions#3 fills in min_repriseos for every entry; this PR works without it.

Tested in the emulator.

Screenshots

01-installed-older-builds 02-details-older-build

Installed copies carry the minimum RVX API and target firmware id
from their manifest, in the catalog's "major.minor" and hex forms,
so the frontend can tell which copies the firmware loads.
The active copy is the first one in /Reprise, then /Revola, whose
own API and firmware match the iPod. A copy that does not load, or
whose required library does not, shows why, and browsing offers the
catalog version when that loads. A working copy whose update cannot
load stays Installed, and its details name the release it needs.
API failures name min_repriseos when it is newer than the device,
and installs also reinstall required libraries the firmware skips.
rv_row and rv_menu_entry grew in API 1.86, so a core at that API or
later only loads packages an SDK at 1.86 or later packed, and says
nothing about the ones it skips. The installer judged a copy by the
manifest's minimum API alone, so a Night Shift 0.1.2 packed by SDK
1.84 showed as Installed on such a core.

Installed copies report the SDK that packed them, the device the
floor it applies, and a copy below it reads "Built for an older
RepriseOS". The catalog version is offered when it loads; an entry
whose api is below the floor is as old, since the SDK refuses a
manifest api below its own. The write gate refuses such packages.
Two scenarios mount a simulated iPod with copies in
/Reprise/Extensions/: one on a core at RVX API 1.86, where copies
packed by an older SDK read "Built for an older RepriseOS", and one
on a 1.82 core that loads every build. The mock answers the device
read, writes, removals and the eject; a written package reports the
SDK and minimum API from its bytes, and the eject unmounts the iPod.
The catalog stays live.
@paviro paviro changed the title Judge installed extensions by the copy the firmware loads fix: judge installed extensions by the copy the firmware loads Nov 27, 2026
The core refuses images an older SDK packed once its API reaches a
layout change: rv_row and rv_menu_entry grew in 1.86, rv_pane grew in
1.89 and rv_pane_extra changed in 1.92. The floor is the last of those
at or below the device's API. The dev-panel scenario and its test use a
1.89 core.
@paviro
paviro force-pushed the feature/installed-compatibility branch from cf53e91 to 052cab8 Compare November 28, 2026 15:56
@paviro paviro changed the title fix: judge installed extensions by the copy the firmware loads feat: check installed extensions against the iPod's firmware Nov 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant