mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 23:08:55 -06:00
refactor: split the campaign class
Probe runs, check state and findings move verbatim into a CheckRuns base class in probes.checkruns, with the records they share. Cores and ContentStore name CheckRuns, the class holding everything they read.
This commit is contained in:
1 parent
209dbf38d8
commit
7ca304a5dd
7 files changed
+408
-393
No files matched your search
@@ -26,7 +26,7 @@ from core.statefile import now_iso
|
||||
from probes.host import NETWORK_DELAYS, Unavailable, child_env, run_group, slug
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from probes.campaign import Campaign
|
||||
from probes.checkruns import CheckRuns
|
||||
|
||||
|
||||
T = TypeVar("T")
|
||||
@@ -290,7 +290,7 @@ class Cores:
|
||||
"""Buildbot nightlies, downloaded once per build, else local builds of
|
||||
the profile's pinned commit."""
|
||||
|
||||
def __init__(self, campaign: Campaign) -> None:
|
||||
def __init__(self, campaign: CheckRuns) -> None:
|
||||
self.c = campaign
|
||||
self.listing: set[str] | None = None
|
||||
|
||||
|
||||
Reference in new issue
Block a user