fix(repair-built-stamp): patch the published PACKAGES.rds once bincraft drops cranlike

bincraft#33 replaces the cranlike fork: upload_package_index() no longer
keeps a PACKAGES.db and reuses the records of the published PACKAGES.rds
instead, so patching the database stops having any effect.

- patch Built in each slot's PACKAGES.rds, limited to the slot's own rows,
  when the installed bincraft no longer loads cranlike
- keep patching PACKAGES.db for releases that still do
- call the internal built_stamp() with `:::`, it was never exported
This commit is contained in:
Patrick Schratz 2026-10-17 14:11:12 +00:00
commit ea4e1786f5
No known key found for this signature in database
GPG key ID: 62050D5BC68AB6DC

View file

@ -3,8 +3,8 @@
#
# uvr matches the stamp's platform triple plus R minor to decide binary vs
# source, so an unusable triple turns a whole slot source-only. See
# local/repair-built-stamp.R for why this patches PACKAGES.db in place instead
# of forcing a full reparse.
# local/repair-built-stamp.R for why this patches the published PACKAGES.rds in
# place instead of forcing a full reparse.
#
# Run with `dry_run: true` first: it reports how many entries are broken per
# slot and changes nothing. Pick the R version the slot should advertise, which