fix: read profile repositories from one model rule

The site permalinks read only source and upstream, so a profile whose
forge is gone (yuzu answers 451) linked nothing although profile_sync
judged it through its source_mirror. declared_repositories, pin_field
and the declared pin now live in model.profilerepos, read by both.
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 16:43:46 +01:00
1 parent 0fdca4145a
commit bce9abedc7
11 files changed
+94 -70

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ import yaml
from core import upstream
from core.hashing import parse_hash_list
from model.sourceref import RefPart, prose_runs, ref_prose_text, ref_role, source_ref_values
from profiling.repos import declared_repositories
from model.profilerepos import declared_repositories
HASH_FIELDS = ("sha1", "md5", "crc32", "sha256", "known_hash_adler32")