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:
Abdessamad Derraz committed 2026-11-18 12:39:09 +01:00
1 parent 8cdda10393
commit e1f2f8685d
29 files changed
+51 -49

No files matched your search

+1 -1
View File
@@ -261,7 +261,7 @@ def _ref_cites_code(ref: str) -> bool:
IL method says only that the binary exists: "import directory",
"string table" and "readelf -d" are not the code that reads a file.
"""
from sourceref import split_source_ref
from model.sourceref import split_source_ref
cited = False
for part in split_source_ref(ref):