ci: add a reindex-only manual workflow #177
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/reindex-only-workflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Motivation
weekly-rebuild-reindexexists to run afterweekly-rebuild-missing: it declaresdepends_on: weekly-rebuild-missingand is gated on that workflow'sweekly_rebuild_missingvariable. Triggering it manually therefore also starts hours of package rebuilds.That is the wrong tool when only the index needs regenerating. After rpkgs/bincraft#113 (v5.1.5), which changes how
union_index_records()decides what a per-minor index steers to, every object in the bucket is already correct and onlyPACKAGES*is stale. Rebuilding to fix an index is pure waste, and the natural cron would take a full cycle to reach every slot.Change
Adds
.crow/reindex.yaml: the index half on its own, manual only, no dependency on a rebuild.It reuses the same matrix and the same steps as
weekly-rebuild-reindex— install the latest bincraft release, republish the generic index, loop the installed R versions republishing each per-minor index, purge the edge. No package is built.Gated on a new
reindexvariable so it cannot be started by the rebuild gate, defaulting tononeso a manual pipeline creation (which instantiates every file in.crow/) matches no matrix row.Verification
crow lint .crow/passes.reindex, with nodepends_onand noruns_oncarried over from the rebuild coupling.