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
@@ -13,7 +13,7 @@ from profiling.anchoring import PartResult, REBASE_STATUSES, REVIEW_STATUSES
from profiling.citations import Citation, citation_key, collect_citations
from profiling.proseedit import apply_prose_edits, run_after_moves, set_scalar
from profiling.reports import EntryReport, ProfileReport, original_part, rendered_part
from profiling.repos import declared_repositories
from model.profilerepos import declared_repositories
from profiling.yamledit import YamlWriteError, apply_edit, find_field_line, replace_field_line