Repository navigation
feat(api): attach companion files from file_companion - #65
Merged
Merged
Conversation
Read the companion type the index now publishes instead of matching fip.img, lk.bin and boot_recovery filenames, so BL2, FIP, SPL and flash.bin files show under their image. Burn images stay primaries.
This was referenced Nov 2, 2026
Merged
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
igorpecovnik
approved these changes
Nov 2, 2026
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.
Description
The API recognised companion files by filename and only knew fip.img, lk.bin and boot_recovery. Everything else became its own download row: the BPI-R3 Mini BL2 as an SD image and its FIP as a "Rootfs tarball", both downloading the full image.
The companion type now comes from the new
file_companionfield in armbian-images.json, and the API only keeps the labels. Unknown types still show, labelled with their raw name. Burn images join the formats so JetHub keeps its burn row.Merge after armbian/armbian.github.io#530 is live. Without
file_companionthe Nio 12L FIP and LK and the dg-svr-865-tiny recovery files drop off the page or show up as separate rows.@igorpecovnik for the sync, the merge order is armbian/armbian-router#44, then armbian/armbian.github.io#530, then #65.
How Has This Been Tested?
Ran the normalizer on the current index with the old code and on one built with the new generator with the new code:
BPI-R4, GL-MT2500, Anbernic RG Rotate and MaaXBoard 8ULP change the same way. Every other board, Nio 12L included, gives the same output as before.
tsc --noEmitand prettier on the APIChecklist: