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
@@ -39,12 +39,12 @@ from profiling.citations import (
symlink_target,
)
from profiling.reports import EntryReport, ProfileReport
from model.profilerepos import declared_repositories
from profiling.repos import (
PIN,
RepoView,
reads_own_revision,
build_revision,
declared_repositories,
detect_pinned_tag,
moved_repositories,
resolve_through_gitlinks,