build-cran-binaries/edge
Repository files (latest commit first)
Filename Latest commit message Latest commit date
pat-s b0d58f3f7c
All checks were successful
ci/crow/cron/process-updates/7 Pipeline was successful
ci/crow/cron/process-updates/1 Pipeline was successful
ci/crow/cron/process-updates/2 Pipeline was successful
feat(cdn): derive Ubuntu routes from codenames (#174)
## Motivation

Ubuntu release codenames cannot be derived from version numbers, so the edge router currently needs a code change for every Ubuntu release.

The generic repository setup can already read `VERSION_CODENAME` from `/etc/os-release` and send it in the user agent.

## Changes

- Prefer a strictly validated `codename=<name>` token for Ubuntu slot routing.
- Retain the existing version-to-codename table for clients using the previous user-agent format.
- Add a future Ubuntu 28.04 regression case whose codename does not exist in the middleware table.

## User-agent format

`R/4.6.1 (Ubuntu 26.04; codename=resolute) (aarch64-unknown-linux-gnu)`

## Verification

- `just edge-test`, 1 test with 16 steps passed.
- `git diff --check`

Reviewed-on: #174
2026-08-30 12:25:22 +00:00
..
rpkgs-router.test.ts feat(cdn): derive Ubuntu routes from codenames (#174) 2026-08-30 12:25:22 +00:00
rpkgs-router.ts feat(cdn): derive Ubuntu routes from codenames (#174) 2026-08-30 12:25:22 +00:00