Repository navigation
Conversation
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.
This was referenced 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.
RepriseOS after 0.4.0 keeps extension data (settings and files) under /Reprise/Data/Extensions/<id>/; 0.4.0 wrote /Revola/Data/Extensions. When the installer reads an iPod whose firmware is newer than 0.4.0 or a development build, it moves that folder to /Reprise/Data/Extensions once. A folder already there is kept and its old copy left behind; an older firmware's folder is not touched, as it still reads it. The move runs on the device read, under the edit lock, and a failure only prints.
paviro
force-pushed
the
feature/move-extension-data
branch
from
November 28, 2026 15:56
cbf49af to
9c3db59
Compare
This was referenced Nov 28, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge after #21 and #22 (keep both tests in
tests.rs), together with RepriseOS/repriseos#94.Own commits: paviro/repriseos-installer@feature/installed-compatibility...feature/move-extension-data (the rest of the diff is #21).
RepriseOS/repriseos#94 moves the extension data folder from
/Revola/Data/Extensions/to/Reprise/Data/Extensions/, and the firmware does not move existing files.When the installer reads a mounted iPod with a RepriseOS newer than 0.4.0 or a development build, it moves
/Revola/Data/Extensionsto/Reprise/Data/Extensionsonce, under the edit lock. An extension folder that already exists on the Reprise side is kept and its old copy left in place; an empty/Revola/Datais removed. Symlinks are skipped, and a failure only prints. iPods on 0.4.0 or older are left alone.The check goes by version, so a matching firmware from before RepriseOS/repriseos#94 (a development build of main, or a release cut before it) loses the Night Shift, Balance, Crossfeed and Playback Log settings until it runs a firmware that has it.
A unit test covers the 0.4.0 and development cases.