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
Mirror a gem's platform builds through its artifacts #731
git-pkgs/registries#147 changes the RubyGems adapter's FetchVersions to list one version per number. Each platform build becomes an artifact with platform in its metadata, instead of a separate version such as 1.13.6-x86_64-linux.
When proxy bumps registries past that change, proxy mirror pkg:gem/nokogiri lists only 1.13.6. The generic path in internal/mirror/versions.go fetches that version through the built URL, so it gets nokogiri-1.13.6.gem and skips the platform builds it used to mirror.
Adding gem to fileEcosystems in internal/mirror/files.go would mirror each build from Version.Artifacts, with the platform qualifier selecting among them, the way conda's subdir does. That entry needs cacheKey to match how the gem handler caches a platform file, and variants/cachedVariants keyed on platform so a refresh mirrors the same platforms of a new version. This should land in the same change as the registries bump.
Activity