mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-25 19:08:51 -06:00
fix: check core_version in its basis repository
version_basis reads core_version in the repository its repo or url names (PCSX2 for pcee2, yaps2, triforce, hatari2014), while --check-version and the triage read the tags of the port the profile was read from, which carries none. version_repo() decides it once for the three readers, and the tag ancestry uses the pin of that repository. A newer release of a held upstream (upstream_frozen) is not reported, as one past a held pin is not.
This commit is contained in:
1 parent
f462ec5fa0
commit
1f9633c7e5
5 files changed
+100
-19
No files matched your search
@@ -8,7 +8,7 @@ import time
|
||||
|
||||
from core import upstream
|
||||
from profiling.reports import ProfileReport, triage_state
|
||||
from profiling.repos import select_repo
|
||||
from profiling.version_basis import version_repo
|
||||
from profiling.versions import VersionReport, check_version
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ def _score(
|
||||
commits = 0
|
||||
refused = ""
|
||||
sampled = False
|
||||
repo = select_repo(profile)
|
||||
repo = version_repo(profile)[0]
|
||||
if report.head and repo is not None:
|
||||
# Each cited path counted in the repository the resolver settled it
|
||||
# in, between that repository's own pin and HEAD.
|
||||
|
||||
Reference in new issue
Block a user