You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(repo-cache): sync pre-fetched repositories without listing the organization #28
Following #27, repo_cache.sync_org() correctly reports empty repositories separately from synchronization failures. However, it always lists the organization through gh and accepts only repository-name filters.
Consumers such as generate-repo-overview already fetch the complete repository set through PyGithub. They need to synchronize those same repositories, but using sync_org() causes a second organization listing and loses the already-fetched repository records.
Proposed change
Add a high-level synchronization API that accepts repository records supplied by the caller, for example:
Checkout paths and outcome ordering remain deterministic and compatible with sync_org().
sync_org() behavior remains unchanged and shares the implementation.
The library documentation includes the pre-fetched-repository use case.
This would let downstream collectors fetch GitHub metadata once, synchronize checkouts once, and pass the resulting paths into their own processing workers.
Activity