mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-01 00:27:20 -05:00
chore: merge core versions read from code
This commit is contained in:
commit
0d510eb4bd
669 files changed
+4560
-419
No files matched your search
+7
-2
@@ -278,7 +278,11 @@ core_classification: community_fork
|
||||
source: https://github.com/libretro/dolphin
|
||||
upstream: https://github.com/dolphin-emu/dolphin
|
||||
profiled_date: 2026-03-25
|
||||
core_version: 5.0-21264
|
||||
core_version: "2609-437-g3aac3f0"
|
||||
version_basis:
|
||||
kind: tag
|
||||
tag: "2609"
|
||||
distance: 437
|
||||
systems:
|
||||
- nintendo-gamecube
|
||||
- nintendo-wii
|
||||
@@ -509,7 +513,8 @@ reports the profile as uncheckable, and the CI job that runs
|
||||
| `source` | no | libretro core repository URL. A dict when the core ships under several repos |
|
||||
| `upstream` | no | original emulator repository URL |
|
||||
| `profiled_date` | see above | date of source analysis. Quote it, or YAML parses it as a date object |
|
||||
| `core_version` | no | version analyzed |
|
||||
| `core_version` | yes | the version of the code at the pin, read where `version_basis` says. null when the code states none, never `Git`, `SVN` or a branch name. A dict keyed by build mode when the builds differ |
|
||||
| `version_basis` | yes | where `core_version` is read: `file` (`path`, `pattern`, optional `format`), `tag` (the nearest `tag` in the pin's history and its `distance`, `core_version` in git describe's form), `alias` (`of`), `package` (`artifact`, the APK or binary read) or `none`. `repo` names `upstream` when the version is the upstream tree's. `profile_sync --verify-version` reads it again, and a pin advance rewrites `core_version` from it |
|
||||
| `source_commit` | see above | commit SHA of `source` the code was read at. Anchors every `source_ref` line number |
|
||||
| `upstream_commit` | no | same, for `upstream` |
|
||||
| `source_branch` | no | branch `source` was read from when it is not the default one (a port living on a pull request branch). profile_sync follows it |
|
||||
|
||||
+21
-19
@@ -124,38 +124,40 @@ per catalog and the full list of catalogued dumps still missing.
|
||||
Your game sets and BIOS sets must come from the same version as your arcade
|
||||
emulator.
|
||||
|
||||
<!-- generated: romsets -->
|
||||
| Emulator, as RetroArch names it | Sets from |
|
||||
|---|---|
|
||||
| MAME 2000 | MAME 0.37b5 |
|
||||
| MAME 2003, MAME 2003 Midway | MAME 0.78 |
|
||||
| MAME 2003-Plus | MAME 0.78, with later fixes |
|
||||
| MAME 2003-Plus | MAME 0.78 (plus backports) |
|
||||
| MAME 2009 | MAME 0.135u4 |
|
||||
| MAME 2010 | MAME 0.139 |
|
||||
| MAME 2014, MAME 2015 | MAME 0.160 |
|
||||
| MAME 2014, MAME 2015 | MAME 0.159 |
|
||||
| MAME 2016 | MAME 0.174 |
|
||||
| MAME/MESS | MAME 0.287 |
|
||||
| MAME, MAME/Arcade | MAME 0.289 |
|
||||
| FB Alpha 2012 CPS-1, FB Alpha 2012 CPS-2 | FB Alpha 0.2.97.28 |
|
||||
| FB Alpha 2012, FB Alpha 2012 CPS-3, FB Alpha 2012 Neo Geo | FB Alpha 0.2.97.29 |
|
||||
| FB Alpha 2019 | FB Alpha 0.2.97.44 |
|
||||
| FinalBurn Neo, FinalBurn Neo (Neo-Geo), FinalBurn Neo (CPS-1 / CPS-2) | FinalBurn Neo 1.0.0.2 |
|
||||
| MAME, MAME/Arcade, MAME/MESS | MAME 0.289 |
|
||||
| FB Alpha 2012 CPS-1, FB Alpha 2012 CPS-2 | FB Alpha v0.2.97.28 |
|
||||
| FB Alpha 2012 Neo Geo | FB Alpha v0.2.97.29 |
|
||||
| FB Alpha 2012, FB Alpha 2012 CPS-3 | FB Alpha v0.2.97.30 |
|
||||
| FB Alpha 2019 | FB Alpha v0.2.97.44 |
|
||||
| FinalBurn Neo, FinalBurn Neo (CPS-1 / CPS-2), FinalBurn Neo (Neo-Geo) | FinalBurn Neo v1.0.0.03 |
|
||||
<!-- /generated: romsets -->
|
||||
|
||||
Each emulator's page names its version too.
|
||||
|
||||
### How this is known
|
||||
|
||||
Arcade BIOS sets are coupled to the romset version, so there is one
|
||||
profile per MAME core generation: MAME 2000 (0.37b5), MAME 2003 (0.78),
|
||||
MAME 2003-Plus, MAME 2009 (0.135u4), MAME 2010 (0.139), MAME 2015
|
||||
(0.160), MAME 2016 (0.174), and current MAME (0.289), each read from that
|
||||
version's own source tree, because the BIOS root sets differ between
|
||||
versions. Derivatives and ports carry their own profiles on top of those
|
||||
generations: `mamearcade`, `mamemess`, `mame2003_midway`, the three
|
||||
`mame4droid` drops, `advancemame`, `groovymame` and `hbmame`. Recalbox
|
||||
compiles two MAME versions of its own, 0.258 and 0.278, profiled as
|
||||
`mame0258` and `mame0278`. The pack
|
||||
ships the sets matching the core you run, and a generic unversioned arcade
|
||||
pack cannot do that.
|
||||
profile per MAME core generation (MAME 2000, 2003, 2003-Plus, 2009, 2010,
|
||||
2015, 2016 and current MAME), each read from that version's own source
|
||||
tree, because the BIOS root sets differ between versions. The table is
|
||||
written from the profiles, and each version is the one the core's source
|
||||
states at the revision its profile was read at. Derivatives and ports
|
||||
carry their own profiles on top of those generations: `mamearcade`,
|
||||
`mamemess`, `mame2003_midway`, the three `mame4droid` drops,
|
||||
`advancemame`, `groovymame` and `hbmame`. Recalbox compiles two MAME
|
||||
versions of its own, 0.258 and 0.278, profiled as `mame0258` and
|
||||
`mame0278`. The pack ships the sets matching the core you run, and a
|
||||
generic unversioned arcade pack cannot do that.
|
||||
|
||||
## Why does my verification report say UNTESTED?
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ Every module in `tests/`, by the area it guards.
|
||||
| Real-condition campaign | synthetic profiles, records and content folders, a fake host for load, disk, clock and commands, and whole passes against a libretro core built from C when a compiler and strace exist | `test_campaign` |
|
||||
| Automation runner, disk cleanup, asset sync and bit-flip repair | fake jobs, git repositories with a bare origin and session worktrees, a committed file with one bit flipped, canned CI runs in place of `gh` | `test_autorun` |
|
||||
| Truth and native export | synthetic + cached originals | `test_export_counts`, `test_export_native_layer`, `test_export_report`, `test_exporters`, `test_truth_data_dir_readers`, `test_truth_diff`, `test_truth_layout` |
|
||||
| Scrapers, upstream and provenance | inline sources, synthetic | `test_batocera_md5_list`, `test_check_freshness`, `test_contributing_text`, `test_coverage_cache`, `test_data_dir_refs`, `test_dataclass_defaults`, `test_dedup`, `test_doc_pages`, `test_doc_surfaces`, `test_elec_scrapers`, `test_fbneo_parser`, `test_find_pinned_revision`, `test_hash_merge`, `test_launchers`, `test_launchers_emudeck`, `test_launchers_recalbox`, `test_launchers_retrobat`, `test_launchers_retrodeck`, `test_launchers_retropie`, `test_launchers_rocknix`, `test_mame_devices`, `test_mame_parser`, `test_mame_ref_audit`, `test_optional_dependencies`, `test_profile_sync`, `test_prose_style`, `test_provenance`, `test_refresh_data_dirs`, `test_refresh_failures`, `test_refresh_stale`, `test_retrodeck_scraper_errors`, `test_romset_recipes`, `test_schema_semantic_gate`, `test_scraper_contract`, `test_site_availability`, `test_site_content_data`, `test_site_copy`, `test_site_cores`, `test_site_emulator_page`, `test_site_exports`, `test_site_funnel`, `test_site_images`, `test_site_picker`, `test_site_platform_hashes`, `test_site_r2_components`, `test_site_r2_css`, `test_site_r2_emulators`, `test_site_r2_entry`, `test_site_r2_gate`, `test_site_r2_nav`, `test_site_r2_p0`, `test_site_r2_reference`, `test_site_r2_systems`, `test_site_r2_wiki`, `test_site_r3_collection`, `test_site_r3_components`, `test_site_r3_css`, `test_site_r3_emulators`, `test_site_r3_entry`, `test_site_r3_nav`, `test_site_r3_p0`, `test_site_r3_reference`, `test_site_r3_systems`, `test_site_r3_wiki`, `test_site_r4_components`, `test_site_r4_css`, `test_site_r4_emulators`, `test_site_r4_entry`, `test_site_r4_merge`, `test_site_r4_p0`, `test_site_r4_reference`, `test_site_r4_search`, `test_site_r4_systems`, `test_site_r4_wiki`, `test_site_r5_components`, `test_site_r5_css`, `test_site_r5_emulators`, `test_site_r5_entry`, `test_site_r5_reference`, `test_site_r5_search`, `test_site_r5_systems`, `test_site_r5_wiki`, `test_site_render`, `test_site_system_links`, `test_site_validation`, `test_site_weight`, `test_site_write`, `test_source_ref_targets`, `test_upstream`, `test_upstream_index`, `test_validate_pr`, `test_validate_pr_flow`, `test_validate_pr_hashes`, `test_workflow_paths` |
|
||||
| Scrapers, upstream and provenance | inline sources, synthetic | `test_batocera_md5_list`, `test_check_freshness`, `test_contributing_text`, `test_coverage_cache`, `test_data_dir_refs`, `test_dataclass_defaults`, `test_dedup`, `test_doc_pages`, `test_doc_surfaces`, `test_elec_scrapers`, `test_fbneo_parser`, `test_find_pinned_revision`, `test_hash_merge`, `test_launchers`, `test_launchers_emudeck`, `test_launchers_recalbox`, `test_launchers_retrobat`, `test_launchers_retrodeck`, `test_launchers_retropie`, `test_launchers_rocknix`, `test_mame_devices`, `test_mame_parser`, `test_mame_ref_audit`, `test_optional_dependencies`, `test_profile_sync`, `test_prose_style`, `test_provenance`, `test_refresh_data_dirs`, `test_refresh_failures`, `test_refresh_stale`, `test_retrodeck_scraper_errors`, `test_romset_recipes`, `test_schema_semantic_gate`, `test_scraper_contract`, `test_site_availability`, `test_site_content_data`, `test_site_copy`, `test_site_cores`, `test_site_emulator_page`, `test_site_exports`, `test_site_funnel`, `test_site_images`, `test_site_picker`, `test_site_platform_hashes`, `test_site_r2_components`, `test_site_r2_css`, `test_site_r2_emulators`, `test_site_r2_entry`, `test_site_r2_gate`, `test_site_r2_nav`, `test_site_r2_p0`, `test_site_r2_reference`, `test_site_r2_systems`, `test_site_r2_wiki`, `test_site_r3_collection`, `test_site_r3_components`, `test_site_r3_css`, `test_site_r3_emulators`, `test_site_r3_entry`, `test_site_r3_nav`, `test_site_r3_p0`, `test_site_r3_reference`, `test_site_r3_systems`, `test_site_r3_wiki`, `test_site_r4_components`, `test_site_r4_css`, `test_site_r4_emulators`, `test_site_r4_entry`, `test_site_r4_merge`, `test_site_r4_p0`, `test_site_r4_reference`, `test_site_r4_search`, `test_site_r4_systems`, `test_site_r4_wiki`, `test_site_r5_components`, `test_site_r5_css`, `test_site_r5_emulators`, `test_site_r5_entry`, `test_site_r5_reference`, `test_site_r5_search`, `test_site_r5_systems`, `test_site_r5_wiki`, `test_site_render`, `test_site_system_links`, `test_site_validation`, `test_site_weight`, `test_site_write`, `test_source_ref_targets`, `test_upstream`, `test_upstream_index`, `test_validate_pr`, `test_version_basis`, `test_validate_pr_flow`, `test_validate_pr_hashes`, `test_workflow_paths` |
|
||||
|
||||
## Test architecture
|
||||
|
||||
|
||||
@@ -585,6 +585,21 @@ match no entry. Both land in the `--json` report (`new_files`, with
|
||||
since the pin or an undeclared hash makes the profile stale. `--tree-diff`
|
||||
shows added, removed and renamed files in the directories the refs point at.
|
||||
|
||||
`core_version` is the version of the code at the pin, and `version_basis`
|
||||
says where it is read: a pattern in one file (`file`), the nearest tag and
|
||||
the commits after it (`tag`, written in git describe's form), the profile an
|
||||
alias follows (`alias`), an artefact read outside any source tree
|
||||
(`package`), or `none` when the code states nothing, with `core_version`
|
||||
null. `--verify-version` reads it again at the pin and exits 1 on a
|
||||
difference or a missing basis. `--set-version` writes what the code states.
|
||||
A pin advance reads the version at the new pin in the same write and is
|
||||
refused when it cannot: a package version moves by hand.
|
||||
|
||||
```bash
|
||||
python scripts/profile_sync.py --all --verify-version --changed-only
|
||||
python scripts/profile_sync.py --emulator snes9x --set-version
|
||||
```
|
||||
|
||||
Branch tips, tags and releases are cached for six hours. `--fresh` asks the
|
||||
forges again for them, which matters right after an upstream commit or a
|
||||
hand-set pin: a tip cached before the pin reads as behind it. It is refused
|
||||
|
||||
Reference in new issue
Block a user