mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-25 10:58:52 -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
@@ -19,7 +19,7 @@ from pathlib import Path
|
||||
|
||||
SCRIPTS = Path(__file__).resolve().parent.parent / "scripts"
|
||||
|
||||
PACKAGE_LAYERS = {"core": 0, "model": 1, "resolve": 2, "scraper": 3, "exporter": 3}
|
||||
PACKAGE_LAYERS = {"core": 0, "model": 1, "resolve": 2, "scraper": 3, "exporter": 3, "profiling": 3}
|
||||
LIBRARY_LAYER = 3
|
||||
COMMAND_LAYER = 4
|
||||
|
||||
@@ -35,8 +35,7 @@ NOT_YET_PACKAGED = frozenset({
|
||||
"release_record", "romfolders", "romset_recipes", "siteagents", "sitebootstrap",
|
||||
"sitecollection", "sitediagrams", "siteentries", "siteexports", "siteguides", "sitehandheld",
|
||||
"siteinputs", "sitemarkup", "sitemeasurements", "siterender", "sitesources", "sitestarlight",
|
||||
"sitesteps", "sitewanted", "sitewrite", "slots", "sourceref", "split_pack", "upstream",
|
||||
"validate_pr", "verify", "version_basis",
|
||||
"sitesteps", "sitewanted", "sitewrite", "slots", "split_pack", "validate_pr", "verify",
|
||||
})
|
||||
|
||||
# Imports from a package module to a top-level module, left for the wave that
|
||||
@@ -44,9 +43,6 @@ NOT_YET_PACKAGED = frozenset({
|
||||
PENDING_TOP_LEVEL_IMPORTS = frozenset({
|
||||
("exporter.doubled", "slots"),
|
||||
("scraper.game_dat_importer", "region_audit"),
|
||||
("scraper.mame_hash_scraper", "upstream"),
|
||||
("scraper.romfolders", "upstream"),
|
||||
("scraper.romfolders.__main__", "upstream"),
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user