r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
9 stars 2 forks source link

Technote about making a shapshot of a package repository #137

Open jeroen opened 2 years ago

jeroen commented 2 years ago

Maybe also add an action or r package.

maelle commented 2 years ago

Notes from a convo elsewhere

Snapshot in the sense of backup of actual files, not of metadata only.

"Frozen mirror".

The files = the package files and PACKAGES that indexes them all. Example: https://maelle.r-universe.dev/src/contrib/PACKAGES Package files https://maelle.r-universe.dev/ui#package:rodev (so different ones for different OS / R versions, would the backup save all of them :thinking: this could be a parameter). download.packages()

Potentially put the archive on gh-pages

maelle commented 2 years ago

It sounds similar to @milesmcbain's https://github.com/MilesMcBain/capsule (great name btw! the name helped me remember it exists)

maelle commented 2 years ago

actually not similar, more "related" as what @jeroen describes is a way to get the local frozen repo for capsule or something else.

MilesMcBain commented 2 years ago

Whatever it is I await the tech note with interest!

maelle commented 2 years ago

WIP https://github.com/ropenscilabs/icepalace/