build-cran-binaries/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
pat-s 771d3a7768
feat(edge): send unsupported R minors to CRAN instead of serving them
Falling back to the flat index for an excluded minor is the silent case:
risky packages there are built under another minor and fail at load time,
far from the cause. Send those clients to CRAN for sources instead, which
is what the router already does for an unidentifiable distro.

The whole interaction has to move, not just the index. R resolves tarball
URLs against the repo it was configured with, so serving the index from
CRAN and tarballs from here would hand R a binary where it expects a
source tarball.

A client reporting no R minor at all is not excluded: mirror scripts and
image builds keep getting the flat slot.

- Declare the supported window once in cdn.tf as local.rpkgs_supported_minors
  and set KNOWN_MINORS from it on both zones, so the router cannot drift
  from build-env-images' LATEST/PREV1/PREV2 unnoticed.
- Split the verification script into supported and excluded minors: the
  former must have published indexes, the latter must have none and must
  redirect to CRAN under --live.
2026-08-30 15:44:14 +00:00
..
purge_cdn_cache.sh fix(ci): actually purge BunnyCDN cache in purge_cdn_cache.sh (#78) 2026-06-08 08:31:03 +00:00
purge_cdn_zone.sh fix(cdn): restore Alliance pull-zone hostname (#166) 2026-08-13 14:13:04 +00:00
verify-r-minor-routing.sh feat(edge): send unsupported R minors to CRAN instead of serving them 2026-08-30 15:44:14 +00:00