mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-23 10:07:48 -06:00
refactor: move upstream, sourceref, version_basis
upstream reads forges with the standard library alone and scrapers, packs and the site read it: it goes to core. sourceref is the grammar of a profile field, which the site parses without the comparison tool: it goes to model. version_basis is read by profile_sync alone and opens the profiling package.
This commit is contained in:
1 parent
8cdda10393
commit
e1f2f8685d
29 files changed
+51
-49
No files matched your search
@@ -31,7 +31,7 @@ from model.profiles import source_yaml_paths
|
||||
from core.artifacts import write_text_atomic
|
||||
from model.safeparse import yaml_load
|
||||
|
||||
import upstream
|
||||
from core import upstream
|
||||
|
||||
from ._hash_merge import (
|
||||
_build_contents,
|
||||
|
||||
@@ -23,7 +23,7 @@ from pathlib import Path
|
||||
if (_SCRIPTS_DIR := str(Path(__file__).resolve().parents[2])) not in sys.path:
|
||||
sys.path.insert(0, _SCRIPTS_DIR)
|
||||
|
||||
import upstream
|
||||
from core import upstream
|
||||
from model.safeparse import yaml_load
|
||||
|
||||
CACHE_DIR = upstream.CACHE_DIR
|
||||
|
||||
@@ -14,7 +14,7 @@ from pathlib import Path
|
||||
import yaml
|
||||
|
||||
from . import Fetcher, SourceError, load_sources, scrape_setup
|
||||
from upstream import UpstreamError
|
||||
from core.upstream import UpstreamError
|
||||
from core.artifacts import write_text_atomic
|
||||
from ..base_scraper import _PlatformDumper
|
||||
|
||||
|
||||
Reference in new issue
Block a user