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
Keep frequently used packages up to date in the background #632
mirror.schedules keeps container image tags current, but for packages the cache only learns about a new release when a client asks for it. On a home or CI proxy that is often offline-first, the first install after a release then waits on the upstream, or fails while it is down.
Idea: an opt-in background job that refreshes what is used most.
mirror:
refresh:
interval: 24htop: 50# most downloaded packages per ecosystem, by recent hitssince: 14d
if there is a newer version on a major line already cached, mirror it, with the newest version cooldown allows rather than the newest published
for images, re-mirror the cached tags the way schedules do
Open questions:
Which files: npm, Composer, Cargo and gems have one archive per version. PyPI and conda have many; mirroring only the variants clients fetched before (same wheel tags, same subdir) seems right.
Activity