fix: one rule for where a standalone app reads

The site kept a table of entries the app reads outside data_root and the
installer never read it: the manifests copied Cemu's shared fonts, the
Amiberry ROMs and the YAPS2 resources to folders the apps do not open.
The facts now live in each profile as outside_data_root with their
source_ref, and resolve.layout.data_root_place answers for both.

Rows that changed no place were dropped (citra, ymir, cxbx-reloaded,
ppsspp-1.5.4, hatari, the DEV9 files of aethersx2 and armsx2), and the
fsuae row predated its ROMs/Kickstarts standalone_path, which the
launcher walks: its page now gives that folder, as the installer does.
This commit is contained in:
Abdessamad Derraz committed 2026-11-23 23:07:32 +01:00
1 parent 13f92eaf4a
commit 46e6b94171
21 files changed
+213 -899

No files matched your search

+5
View File
@@ -39,6 +39,11 @@ data_root:
source_ref: "aethersx2 v1.5-3606 usr/share/aethersx2 0x9b83f0-0x9b8798"
note: "portable.ini beside the binary puts it there instead"
outside_data_root:
- files: ["resources/"]
note: "the resources folder is read from beside the program"
source_ref: "AetherSX2-release AetherSX2.app/Contents/Resources, aethersx2 v1.5-3668 xyz.aethersx2.android assets"
notes: |
PlayStation 2 emulator for ARM, built on PCSX2 and carrying its own AArch64
recompilers. The application itself is closed source. The PCSX2-derived files
+5
View File
@@ -42,6 +42,11 @@ data_root:
path: "Documents/Amiberry"
source_ref: "src/osdep/amiberry.cpp:9388-9396, src/osdep/amiberry.cpp:13540-13577, src/osdep/amiberry.cpp:4960-4963, src/osdep/amiberry.cpp:13622"
outside_data_root:
- files: ["*"]
note: "the app reads every ROM, Kickstarts included, under ROMs/ of its folder, the rom_path default"
source_ref: "src/osdep/amiberry.cpp:8485, 13622, 4960-4963, src/osdep/amiberry_gui.cpp:431-462"
notes: |
Amiberry is an Amiga emulator based on WinUAE, available as both standalone
and libretro core. No built-in kickstart: requires a real Kickstart ROM or
+6
View File
@@ -48,6 +48,12 @@ data_root:
source_ref: "source pcsx2/Pcsx2Config.cpp:2523-2530, pcsx2/Pcsx2Config.cpp:2540-2560, pcsx2/Pcsx2Config.cpp:2567-2589"
note: "portable.ini or portable.txt beside the binary makes its folder the root"
outside_data_root:
- files: ["proverb.zip"]
systems: [android]
note: "the Android app keeps the arcade boot programs in arcade/ of its internal storage"
source_ref: "source platforms/android/app/src/main/java/com/armsx2/arcade/ArcadeLibrary.kt:33-36"
pin_build:
- platform: rocknix
repo: "https://github.com/ROCKNIX/distribution"
+5
View File
@@ -48,6 +48,11 @@ data_root:
source_ref: "upstream src/gui/wxgui/CemuApp.cpp:127-171"
note: "portable/ next to the executable or the AppImage when that folder exists. Configuration sits in $XDG_CONFIG_HOME/Cemu, else ~/.config/Cemu"
outside_data_root:
- files: ["resources/sharedFonts/"]
note: "the shared fonts are read from the data path, beside the program, not from the user data path"
source_ref: "source src/Cafe/CafeSystem.cpp:292, source src/Cafe/CafeSystem.cpp:329-334"
notes: |
Wii U emulator. The libretro core is a fork of the Cemu tree with the wx
application removed, kept merged with upstream, with the frontend glue in
+6
View File
@@ -52,6 +52,12 @@ data_root:
path: "$XDG_DATA_HOME/EKA2L1, else ~/.local/share/EKA2L1"
source_ref: "src/emu/qt/src/main.cpp:105-126"
outside_data_root:
- files: ["data/"]
systems: [ios]
note: "on iOS the data folder is the data-storage folder itself, so data/ would be one level too deep"
source_ref: "src/emu/ios/App/EKA2L1Bridge.swift:7-9, src/emu/ios/Bridge/IosEmulator.mm:1068-1070"
notes: |
Symbian OS and N-Gage emulator: the EKA1 and EKA2 kernels are emulated and
the critical application servers and libraries reimplemented in C++, while
+5
View File
@@ -37,6 +37,11 @@ data_root:
source_ref: "src/Ryujinx.Common/Configuration/AppDataManager.cs:11-12, 52-82"
note: "A portable folder beside the executable or beside the app bundle is used instead when it exists."
outside_data_root:
- files: ["drivers/"]
note: "a driver archive is unpacked into a folder named after it under drivers/, the zip itself is not read there"
source_ref: "src/KenjinxAndroid/app/src/main/java/org/kenjinx/android/viewmodels/VulkanDriverViewModel.kt:13-167"
notes: |
Nintendo Switch emulator in C#, a fork of the Ryujinx line maintained by
KeatonTheBot. Two builds come out of one repository: the desktop Avalonia
+5
View File
@@ -204,6 +204,11 @@ data_root:
source_ref: "src/emu/emuopts.cpp:43-55, src/osd/sdl/sdlopts.cpp:27-35, 107-116"
note: "A mame.ini in ~/.mame can point rompath and the other search paths elsewhere"
outside_data_root:
- files: ["*"]
note: "the app reads every set under roms/ of its working directory, the rompath default"
source_ref: "src/emu/emuopts.cpp:43-55"
notes: |
Rolling release tracking mamedev/mame upstream (0.289 at the pinned commits).
The archives below are the BIOS root sets, the ROM sets of the machines of the
+5
View File
@@ -37,6 +37,11 @@ data_root:
source_ref: "pcsx2/Pcsx2Config.cpp:2205-2225,2227-2302"
note: "portable.ini or portable.txt beside the binary puts it there instead, and a custom data path in the settings takes its YAPS2 subfolder"
outside_data_root:
- files: ["resources/"]
note: "the resources folder is read from beside the binary, or from share/PCSX2 of a package install"
source_ref: "pcsx2/Pcsx2Config.cpp:2159-2204, cmake/BuildParameters.cmake:251-257"
notes: |
PlayStation 2 emulator, a GPL-3.0 fork of PCSX2 for arm64 Linux handhelds:
native AArch64 EE, IOP and VU recompilers, a persisted VU program cache,
-175
View File
@@ -266,125 +266,6 @@
]
}
},
{
"file": "aros-ext.bin",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "aros-rom.bin",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "rom.key",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "mt32-roms/mt32_control.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/pcm_mt32.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/cm32l_control.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/pcm_cm32l.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "Cemu/keys.txt",
"targets": {
@@ -427,62 +308,6 @@
]
}
},
{
"file": "Cemu/resources/sharedFonts/CafeCn.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "Cemu/resources/sharedFonts/CafeKr.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "Cemu/resources/sharedFonts/CafeStd.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "Cemu/resources/sharedFonts/CafeTw.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "Cemu/shareddata.bin",
"targets": {
-119
View File
@@ -298,125 +298,6 @@
]
}
},
{
"file": "aros-ext.bin",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "aros-rom.bin",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "rom.key",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "mt32-roms/mt32_control.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/pcm_mt32.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/cm32l_control.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/pcm_cm32l.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "pcsx2/bios/ps2-0230a-20080220.nvm",
"targets": {
-186
View File
@@ -637,125 +637,6 @@
]
}
},
{
"file": "aros-ext.bin",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "aros-rom.bin",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "rom.key",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "mt32-roms/mt32_control.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/pcm_mt32.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/cm32l_control.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/pcm_cm32l.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "pcsx2/bios/ps2-0230a-20080220.nvm",
"targets": {
@@ -832,62 +713,6 @@
]
}
},
{
"file": "Cemu/resources/sharedFonts/CafeCn.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "Cemu/resources/sharedFonts/CafeKr.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "Cemu/resources/sharedFonts/CafeStd.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "Cemu/resources/sharedFonts/CafeTw.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "Cemu/shareddata.bin",
"targets": {
@@ -2732,17 +2557,6 @@
"$HOME/.config/YAPS2/bios"
]
}
},
{
"file": "pcsx2/resources/GameIndex.yaml",
"targets": {
"darwin": [
"$HOME/Library/Application Support/YAPS2/resources"
],
"linux": [
"$HOME/.config/YAPS2/resources"
]
}
}
],
"total_files": 8502,
-119
View File
@@ -276,125 +276,6 @@
]
}
},
{
"file": "aros-ext.bin",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "aros-rom.bin",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "rom.key",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "mt32-roms/mt32_control.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/pcm_mt32.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/cm32l_control.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "mt32-roms/pcm_cm32l.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "dolphin-emu/Sys/GC/USA/IPL.bin",
"targets": {
-175
View File
@@ -286,125 +286,6 @@
},
"source": "bios/dc/dc_nvmem.bin"
},
{
"file": "bios/aros-ext.bin",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "bios/aros-rom.bin",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "bios/rom.key",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry"
],
"darwin": [
"$HOME/Documents/Amiberry"
],
"linux": [
"$HOME/Amiberry"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files"
]
}
},
{
"file": "bios/mt32-roms/mt32_control.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "bios/mt32-roms/pcm_mt32.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "bios/mt32-roms/cm32l_control.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "bios/mt32-roms/pcm_cm32l.rom",
"targets": {
"windows": [
"%USERPROFILE%\\Amiberry\\mt32-roms"
],
"darwin": [
"$HOME/Documents/Amiberry/mt32-roms"
],
"linux": [
"$HOME/Amiberry/mt32-roms"
],
"android": [
"$EXTERNAL_STORAGE/Android/data/com.blitterstudio.amiberry/files/mt32-roms"
]
}
},
{
"file": "bios/pcsx2/bios/ps2-0230a-20080220.nvm",
"targets": {
@@ -464,62 +345,6 @@
]
}
},
{
"file": "bios/Cemu/resources/sharedFonts/CafeCn.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "bios/Cemu/resources/sharedFonts/CafeKr.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "bios/Cemu/resources/sharedFonts/CafeStd.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "bios/Cemu/resources/sharedFonts/CafeTw.ttf",
"targets": {
"windows": [
"%APPDATA%\\Cemu\\resources\\sharedFonts"
],
"darwin": [
"$HOME/Library/Application Support/Cemu/resources/sharedFonts"
],
"linux": [
"$HOME/.local/share/Cemu/resources/sharedFonts"
]
}
},
{
"file": "bios/Cemu/shareddata.bin",
"targets": {
+26
View File
@@ -1245,6 +1245,32 @@
},
"description": "For a project published outside any forge, the page that announces its releases. profile_sync --check-version compares the version read there with core_version."
},
"outside_data_root": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["files", "note", "source_ref"],
"properties": {
"files": {
"type": "array",
"minItems": 1,
"items": {"type": "string", "minLength": 1},
"description": "The entries concerned: a name, a path or standalone_path prefix ending in /, or * for every file."
},
"systems": {
"type": "array",
"minItems": 1,
"items": {"enum": ["android", "ios", "windows", "macos", "linux"]},
"description": "The data_root keys the rule holds on. Absent: every one."
},
"note": {"type": "string", "minLength": 1},
"source_ref": {"type": "string", "minLength": 1}
}
},
"description": "Entries the standalone app does not read from data_root joined to their standalone_path (or path): the folder it opens is another one, beside the program, the working directory or a folder of its own."
},
"upstream_gone": {
"type": "string",
"description": "Why the declared upstream can no longer be reached, when that is settled rather than transient. Records the death instead of leaving the profile failing every pass. profile_sync reports the contradiction if the forge answers again."
+14 -7
View File
@@ -9,6 +9,7 @@ from core.paths import REPO_ROOT
from packs.archive import PackRecord
from packs.emulatorpack import build_emulator_pack
from packs.manifestentry import manifest_entry
from resolve.layout import data_root_place
def _placed_copies(copies: list[dict], dests: list[str]) -> list[dict]:
@@ -78,10 +79,11 @@ def _one_content(held: list[str], entries: dict[str, dict], emulator: str) -> li
return [min(own or held, key=lambda dest: (dest.count("/"), len(dest), dest))]
def _profile_roots(profile: dict) -> dict[str, str]:
"""The data_root of each system the profile names a findable place for."""
def _profile_roots(profile: dict) -> dict[str, tuple[str, str]]:
"""The data_root key and copy target of each system the profile names a
findable place for."""
return {
_DATA_ROOT_SYSTEMS[key]: target
_DATA_ROOT_SYSTEMS[key]: (key, target)
for key, value in (profile.get("data_root") or {}).items()
if key in _DATA_ROOT_SYSTEMS and isinstance(value, dict)
and (target := _data_root_target(_DATA_ROOT_SYSTEMS[key], value.get("path", "")))
@@ -157,9 +159,13 @@ def _profile_copies(
source = _copy_source(entry, by_tail, entries, profile_name)
if source is None:
continue
where = PurePosixPath(entry["standalone_path"])
placed: dict[str, list[str]] = {}
for system, root in roots.items():
for system, (key, root) in roots.items():
# The app reads the file there, else no copy on this system.
place = data_root_place(profile, entry, key)
if not place:
continue
where = PurePosixPath(place)
sep = "\\" if system == "windows" else "/"
target = root if str(where.parent) == "." else (
root + sep + str(where.parent).replace("/", sep))
@@ -168,8 +174,9 @@ def _profile_copies(
if not placed:
continue
copy = {"file": source, "targets": placed}
if where.name != PurePosixPath(source).name:
copy["as"] = where.name
name = PurePosixPath(entry["standalone_path"]).name
if name != PurePosixPath(source).name:
copy["as"] = name
copies.append(copy)
return copies
+39
View File
@@ -207,6 +207,45 @@ def standalone_layout_path(entry: dict, profile: dict) -> str | None:
return entry.get("path") or None
def _names_entry(pattern: str, entry: dict) -> bool:
"""Whether an ``outside_data_root`` pattern names this entry: ``*``, a
path or standalone_path prefix ending in ``/``, or a name."""
if pattern == "*":
return True
if pattern.endswith("/"):
return any(str(entry.get(key) or "").startswith(pattern)
for key in ("path", "standalone_path"))
return entry.get("name") == pattern
def outside_data_root(profile: dict, entry: dict) -> set[str]:
"""The data_root keys on which the app reads this entry from another
folder than data_root: every key ({"*"}), some, or none."""
keys: set[str] = set()
for rule in profile.get("outside_data_root") or ():
if any(_names_entry(pattern, entry) for pattern in rule.get("files") or ()):
keys |= set(rule.get("systems") or ()) or {"*"}
return keys
def data_root_place(profile: dict, entry: dict, key: str = "") -> str:
"""The path under data_root where the standalone app reads this entry, or "".
Nothing for a profile without data_root, an entry the libretro core alone
reads, or one the profile's ``outside_data_root`` lists (on ``key``, or on
any key when ``key`` is empty). The site prints this place and the
installer copies the file there, so both read it here.
"""
if not isinstance(entry, dict) or not profile.get("data_root"):
return ""
if entry.get("mode") == "libretro":
return ""
excluded = outside_data_root(profile, entry)
if "*" in excluded or (key in excluded if key else excluded):
return ""
return str(standalone_layout_path(entry, profile) or "")
def standalone_destination(
entry: dict, profile: dict, bindings: dict[str, tuple[str, str]]
) -> tuple[str, str] | None:
+1 -1
View File
@@ -366,7 +366,7 @@ def _card_place_details(f: dict, profile: dict, owner: str, data_href: str) -> l
fsystem = f.get("system", "")
# Where the app reads it under its data folder, said beside the path:
# Ryujinx's card read "Path: system/prod.keys" with no root.
place = standalone_place(owner, profile, f) if owner else ""
place = standalone_place(profile, f) if owner else ""
under = f", in [the data folder]({data_href})"
standalone_path = f.get("standalone_path", "")
if (fpath and fpath != fname) or (place and place == fpath):
+4 -4
View File
@@ -556,10 +556,10 @@ def _any_name_steps(emu_name: str, profile: dict, entry: dict, href: str,
get = f"Get one from the {named_system_link(profile['systems'][0], '../')} files."
steps = [get]
folders: list[str] = []
if profile.get("type") == "standalone" and standalone_place(name, profile, entry):
if profile.get("type") == "standalone" and standalone_place(profile, entry):
steps.append("Put it in this folder:")
folders = ['<div id="data-folder" class="rb-anchor"></div>', "",
*data_folder_block(name, profile, [entry])]
*data_folder_block(profile, [entry])]
else:
folder = _any_name_folder(profile, entry)
if folder:
@@ -583,13 +583,13 @@ def _data_folder_intro(name: str, profile: dict) -> list[str]:
if not profile.get("data_root"):
return []
files = [f for f in profile.get("files") or [] if isinstance(f, dict)]
placed = [f for f in files if standalone_place(name, profile, f)]
placed = [f for f in files if standalone_place(profile, f)]
subject = ("The app" if profile.get("type") == "standalone"
else "Run on its own, the app")
lead = (f"{subject} reads its files from this folder:" if placed
else f"{subject} keeps its data in this folder:")
return ['<div id="data-folder" class="rb-anchor"></div>', "", lead, "",
*data_folder_block(name, profile, files)]
*data_folder_block(profile, files)]
def _emulator_intro(emu_name: str, profile: dict, href: str = "", name: str = "") -> str:
+10 -78
View File
@@ -17,7 +17,7 @@ from model.guides import platform_guides, terminals, install_command
from model.platforms import load_platform_config
from model.registry import list_release_pack_platforms
from model.profiles import reads_own_files
from resolve.layout import runs_standalone, standalone_layout_path
from resolve.layout import data_root_place, runs_standalone
from resolve.standalone import standalone_set
from resolve.validation import installed_everywhere, installed_with_emulator
from sitegen import markup
@@ -240,83 +240,15 @@ def install_block(name: str, profile: dict) -> list[str]:
]))
# Entries whose folder the app opens is not data_root joined to their
# standalone_path (or path): the pack builder still places them by that
# field, so the joined path names a place the app never reads. Their page
# gives the data folder alone. A row names the profile, the entries (a name,
# a path prefix ending in "/", or "*" for every file) and, when the rule
# holds on some systems only, the data_root keys it covers.
FOLDER_ONLY: tuple[tuple[str, tuple[str, ...], tuple[str, ...], str], ...] = (
("amiberry", ("*",), (),
"the app reads every ROM, Kickstarts included, under ROMs/ of its folder"),
("fsuae", ("fsuae/Kickstarts/",), (),
"the app reads Kickstarts from ROMs/Kickstart/ of its folder"),
("citra", ("Citra/sysdata/",), (),
"the app reads its keys and shared fonts from sysdata/ of its folder"),
("ymir", ("*",), (),
"the app reads its IPL, cartridge and CD-block ROMs from roms/ipl/, roms/cart/ and roms/cdb/"),
("mame", ("*",), (),
"the app reads every set under roms/ of its working directory"),
("eka2l1", ("data/",), ("ios",),
"on iOS the data folder is the data-storage folder itself, so data/ would be one level too deep"),
("aethersx2", ("resources/", "eeprom.dat", "flash.dat"), (),
"resources sit beside the program, and eeprom.dat and flash.dat in the working directory"),
("cemu", ("resources/sharedFonts/",), (),
"the shared fonts are read from the program's data path"),
("cxbx-reloaded", ("hlsl/",), (),
"the shaders are read from beside the program"),
("ppsspp-1.5.4", ("ppsspp-1.5.4/assets/",), (),
"the assets tree is read from beside the program"),
("yaps2", ("resources/",), (),
"resources are read from beside the program"),
("hatari", ("tos.img", "tos.sym"), (),
"the TOS image is read from the install data directory"),
("armsx2", ("proverb.zip",), ("android",),
"the Android app keeps the arcade boot programs in its internal storage"),
("armsx2", ("eeprom.dat", "flash.dat"), (),
"eeprom.dat and flash.dat are read from the working directory"),
("kenji-nx", ("drivers/",), (),
"a driver archive is unpacked under drivers/, a layout not confirmed in the source"),
)
def folder_only_matches(pattern: str, entry: dict) -> bool:
"""Whether a FOLDER_ONLY pattern names this entry."""
if pattern == "*":
return True
if pattern.endswith("/"):
return any(str(entry.get(key) or "").startswith(pattern)
for key in ("path", "standalone_path"))
return entry.get("name") == pattern
def _folder_only(name: str, entry: dict) -> set[str]:
"""The data_root keys on which this entry's joined path is not the app's
folder: every key ({"*"}), some, or none."""
keys: set[str] = set()
for profile, patterns, only, _reason in FOLDER_ONLY:
if profile == name and any(folder_only_matches(p, entry) for p in patterns):
keys |= set(only) or {"*"}
return keys
def standalone_place(name: str, profile: dict, entry: dict, key: str = "") -> str:
def standalone_place(profile: dict, entry: dict, key: str = "") -> str:
"""Where under the data folder the app reads this entry, or "".
Only what the app opens there: a lone app's ``standalone_path`` or
``path``, a dual profile's ``standalone_path`` or the ``path`` of an
entry its standalone build alone reads. Nothing for an entry found by
name, one the app ships, one the libretro core alone reads, or one
FOLDER_ONLY lists (on ``key``, or on any key when ``key`` is empty).
The place the installer copies the file to (resolve.layout.data_root_place),
and nothing for an entry the app ships.
"""
if not isinstance(entry, dict) or not profile.get("data_root"):
if not isinstance(entry, dict) or comes_with_app(entry):
return ""
if entry.get("mode") == "libretro" or comes_with_app(entry):
return ""
excluded = _folder_only(name, entry)
if "*" in excluded or (key in excluded if key else excluded):
return ""
return str(standalone_layout_path(entry, profile) or "")
return data_root_place(profile, entry, key)
OS_LABELS = {"windows": "Windows", "macos": "macOS", "linux": "Linux",
@@ -340,7 +272,7 @@ def under_root(root: str, folder: str) -> str:
return ", else ".join(shown)
def _data_root_folder(name: str, profile: dict, key: str, entries: list[dict]) -> str:
def _data_root_folder(profile: dict, key: str, entries: list[dict]) -> str:
"""The one folder under the root that every entry the app reads sits
in, or "": VICE places 3 of its 322 files in DRIVES/, and naming that
folder would send the other 319 there."""
@@ -349,14 +281,14 @@ def _data_root_folder(name: str, profile: dict, key: str, entries: list[dict]) -
mode = f.get("mode")
if mode == "libretro" or comes_with_app(f):
continue
place = standalone_place(name, profile, f, key)
place = standalone_place(profile, f, key)
if not place:
return ""
folders.add(place.rpartition("/")[0])
return folders.pop() if len(folders) == 1 else ""
def data_folder_block(name: str, profile: dict, entries: list[dict] | None = None) -> list[str]:
def data_folder_block(profile: dict, entries: list[dict] | None = None) -> list[str]:
"""The app's data folder, one tab per system it runs on, each with the
code that names it and its note: 61 profiles cite it and no page showed
it. ``entries`` are the files the folder is for: when they all sit in
@@ -372,7 +304,7 @@ def data_folder_block(name: str, profile: dict, entries: list[dict] | None = Non
if not isinstance(root, dict) or not root.get("path"):
continue
path = str(root["path"])
line = under_root(path, _data_root_folder(name, profile, key, entries))
line = under_root(path, _data_root_folder(profile, key, entries))
if key == "android" and path.startswith("Android/data/"):
line += ", on the internal storage."
body = [line]
+76 -35
View File
@@ -47,6 +47,7 @@ from sitegen import lookup
from sitegen import render as siterender
from model import systemnames
from sitegen import validate
from resolve import layout
REPO_ROOT = Path(__file__).resolve().parents[1]
@@ -591,52 +592,92 @@ def _alternatives(root: str) -> list[str]:
return [part.strip().rstrip("/") for part in root.split(", else ")]
class FolderOnlyTable(unittest.TestCase):
"""The entries whose joined path is not the app's folder: one table in
the generator, each row with its reason, and it cannot rot."""
def _outside_rules() -> list[tuple[str, dict, list[str], tuple[str, ...]]]:
"""Each outside_data_root rule: profile name, profile, files, data_root keys."""
rules = []
for name, profile in _profiles_with_data_root().items():
for rule in profile.get("outside_data_root") or ():
keys = tuple(rule.get("systems") or profile["data_root"])
rules.append((name, profile, list(rule["files"]), keys))
return rules
def test_every_row_names_a_profile_and_entries_that_exist(self) -> None:
roots = _profiles_with_data_root()
for profile_name, patterns, keys, reason in sitegen_install.FOLDER_ONLY:
with self.subTest(profile=profile_name, patterns=patterns):
self.assertIn(profile_name, roots, "no profile with data_root by that name")
self.assertTrue(reason.strip())
entries = _entries(roots[profile_name])
for pattern in patterns:
self.assertTrue(
any(sitegen_install.folder_only_matches(pattern, f) for f in entries),
f"{pattern!r} names no entry of {profile_name}")
self.assertLessEqual(set(keys), set(roots[profile_name]["data_root"]))
def _listed(files: list[str], entry: dict) -> bool:
return bool(layout.outside_data_root({"outside_data_root": [{"files": files}]}, entry))
class OutsideDataRoot(unittest.TestCase):
"""The entries whose joined path is not the app's folder: a rule in each
profile, with its proof, and it cannot rot."""
def test_every_rule_names_entries_that_exist(self) -> None:
for profile_name, profile, files, keys in _outside_rules():
with self.subTest(profile=profile_name, files=files):
entries = _entries(profile)
for pattern in files:
self.assertTrue(any(_listed([pattern], f) for f in entries),
f"{pattern!r} names no entry of {profile_name}")
self.assertLessEqual(set(keys), set(profile["data_root"]))
def test_every_rule_changes_a_place(self) -> None:
# A rule over entries that have no place under data_root says nothing.
for profile_name, profile, files, _keys in _outside_rules():
bare = {k: v for k, v in profile.items() if k != "outside_data_root"}
with self.subTest(profile=profile_name, files=files):
self.assertTrue(any(_listed(files, f) and layout.data_root_place(bare, f)
for f in _entries(profile)))
def test_a_listed_entry_is_never_joined_to_the_root(self) -> None:
roots = _profiles_with_data_root()
for profile_name, patterns, keys, _reason in sitegen_install.FOLDER_ONLY:
profile = roots[profile_name]
for profile_name, profile, files, keys in _outside_rules():
for entry in _entries(profile):
if not any(sitegen_install.folder_only_matches(p, entry) for p in patterns):
if not _listed(files, entry):
continue
raw = {str(entry.get(k) or "") for k in ("path", "standalone_path")} - {""}
for key in keys or tuple(profile["data_root"]):
for key in keys:
with self.subTest(profile=profile_name, entry=entry.get("name"), key=key):
self.assertEqual(sitegen_install.standalone_place(profile_name, profile, entry, key), "")
self.assertEqual(sitegen_install.standalone_place(profile_name, profile, entry), "")
block = "\n".join(sitegen_install.data_folder_block(profile_name, profile))
self.assertEqual(sitegen_install.standalone_place(profile, entry, key), "")
self.assertEqual(sitegen_install.standalone_place(profile, entry), "")
block = "\n".join(sitegen_install.data_folder_block(profile))
for root in _alternatives(str(profile["data_root"][key]["path"])):
for place in raw:
self.assertNotIn(f"{root}/{place}", block)
def test_the_installer_copies_where_the_site_places(self) -> None:
# Cemu's shared fonts: the site gave the data folder alone, the
# manifests copied them under the user data path the app never reads.
from packs.standalone import _DATA_ROOT_SYSTEMS, _copy_source, _data_root_target, _profile_copies
for profile_name, profile in _profiles_with_data_root().items():
for entry in _entries(profile):
dest = str(entry.get("path") or entry.get("name"))
if _copy_source(entry, {dest: [dest]}, None, profile_name) is None \
or sitegen_install.comes_with_app(entry):
continue
copies = _profile_copies({profile_name: {**profile, "files": [entry]}}, [dest], [])
got = {system: targets for copy in copies for system, targets in copy["targets"].items()}
wanted = {}
for key, root in profile["data_root"].items():
system = _DATA_ROOT_SYSTEMS.get(key)
target = system and _data_root_target(system, str(root.get("path", "")))
place = sitegen_install.standalone_place(profile, entry, key)
if not target or not place:
continue
folder = place.rpartition("/")[0]
sep = "\\" if system == "windows" else "/"
wanted[system] = [target + (sep + folder.replace("/", sep) if folder else "")]
with self.subTest(profile=profile_name, entry=entry.get("name")):
self.assertEqual(got, wanted)
def test_built_pages_print_no_joined_path_for_a_listed_entry(self) -> None:
if not _generated():
self.skipTest("site pages not generated")
roots = _profiles_with_data_root()
for profile_name, patterns, keys, _reason in sitegen_install.FOLDER_ONLY:
profile = roots[profile_name]
for profile_name, profile, files, keys in _outside_rules():
pages = [p.read_text(encoding="utf-8")
for p in EMULATORS.glob(f"{profile_name}*.md*")]
for entry in _entries(profile):
if not any(sitegen_install.folder_only_matches(p, entry) for p in patterns):
if not _listed(files, entry):
continue
for key in keys or tuple(profile["data_root"]):
for key in keys:
for root in _alternatives(str(profile["data_root"][key]["path"])):
for place in {entry.get("path"), entry.get("standalone_path")} - {None, ""}:
joined = f"{root}/{place}"
@@ -662,7 +703,7 @@ class DataFolderPrinted(unittest.TestCase):
# The installed firmware sits in bis/, so the keys name system/ alone.
profile = _profile("ryujinx")
keys = [f for f in profile["files"] if str(f.get("name", "")).endswith(".keys")]
block = "\n".join(sitegen_install.data_folder_block("ryujinx", profile, keys))
block = "\n".join(sitegen_install.data_folder_block(profile, keys))
self.assertIn("`%APPDATA%/Ryujinx/system/`", block)
self.assertIn("`~/Library/Application Support/Ryujinx/system/`", block)
self.assertEqual(_tab_labels(block), {"Windows", "macOS", "Linux"})
@@ -676,19 +717,19 @@ class DataFolderPrinted(unittest.TestCase):
self.assertNotIn("app's own data folder", steps)
def test_one_system_is_a_line_not_a_tab(self) -> None:
block = "\n".join(sitegen_install.data_folder_block("mame4droid", _profile("mame4droid")))
block = "\n".join(sitegen_install.data_folder_block(_profile("mame4droid")))
self.assertTrue(block.startswith("On Android: `Android/data/com.seleuco.mame4droid/files/`"))
self.assertNotIn("<Tabs", block)
def test_an_entry_found_by_name_or_shipped_is_not_placed(self) -> None:
profile = {"type": "standalone", "data_root": {"linux": {"path": "~/x", "source_ref": "a"}}}
self.assertEqual(sitegen_install.standalone_place("x", profile, {"name": "a.bin"}), "")
self.assertEqual(sitegen_install.standalone_place("x", profile, {"name": "a", "path": "a", "bundled": True}),
self.assertEqual(sitegen_install.standalone_place(profile, {"name": "a.bin"}), "")
self.assertEqual(sitegen_install.standalone_place(profile, {"name": "a", "path": "a", "bundled": True}),
"")
self.assertEqual(sitegen_install.standalone_place("x", profile, {"name": "a", "path": "b/a"}), "b/a")
self.assertEqual(sitegen_install.standalone_place(profile, {"name": "a", "path": "b/a"}), "b/a")
dual = {**profile, "type": "standalone + libretro"}
self.assertEqual(sitegen_install.standalone_place("x", dual, {"name": "a", "path": "core/a"}), "")
self.assertEqual(sitegen_install.standalone_place("x", dual, {"name": "a", "path": "c/a",
self.assertEqual(sitegen_install.standalone_place(dual, {"name": "a", "path": "core/a"}), "")
self.assertEqual(sitegen_install.standalone_place(dual, {"name": "a", "path": "c/a",
"standalone_path": "a"}), "a")
def test_the_metadata_card_has_a_row_per_system(self) -> None:
+1
View File
@@ -531,6 +531,7 @@ reports the profile as uncheckable, and the CI job that runs
| `pin_follows` | no | why `source_commit` follows the branch tip when a single platform ships the profile: that platform builds the tip, cited by its build file. A bump refuses a profile one platform ships until it carries `pin_frozen` or `pin_follows` |
| `groups` | no | the sets of entries the code takes one of, by name, each with its `required`. A member names its sets with `group` and writes no `required` of its own: it is required when one of its sets is |
| `data_root` | no | per operating system (`android`, `ios`, `windows`, `macos`, `linux`), the folder the app reads its user data from, under which `standalone_path` destinations sit: `path` as the user finds it (`Android/data/<package>/files`, `%APPDATA%/...`), with the `source_ref` that builds it. Only the systems the app runs on are keyed |
| `outside_data_root` | no | the entries the app reads from another folder than `data_root` joined to their `standalone_path` (or `path`): beside the program, its working directory, a folder it keeps for itself. Each rule names its `files` (a name, a path prefix ending in `/`, or `*`), optionally the `systems` of `data_root` it holds on, a `note` and the `source_ref` that proves it. The site then gives the data folder alone and the installer copies nothing there |
| `upstream_frozen` | no | why `upstream_commit` is held: the port vendors that upstream tree, synced to that release, or merged that commit. The upstream view is read at its own pin and a bump leaves it. Without it, a port that is a GitHub fork of its upstream follows the merge base of the two |
| `prose_written_at` | no | the pin a reader confirmed the prose citations against. When the profile's history shows a text living under several pins, profile_sync takes this one as the revision the text describes, so a bump is no longer refused for a citation already reread. It never overrides a history with a single candidate |
| `version_source` | no | for a project published outside any forge, `{url, pattern}`: the page that announces releases and a regular expression whose first group is the latest version. `profile_sync --check-version` compares it with `core_version`, and `check_freshness --profiles` calls the profile stale when they differ. `no_genuine_copy` names an announced version found only rebuilt or re-signed: the profile stays on the newest unmodified build and is not stale until the page announces a later one |