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 @@ from model.sourceref import RefPart
from profiling.anchoring import anchor_block
from profiling.citations import Citation, citation_key, collect_citations, is_external_citation
from profiling.proseedit import apply_prose_edits, run_after_moves
from profiling.repos import declared_repositories
from model.profilerepos import declared_repositories
from profiling.yamledit import apply_edit