Some checks failed
ci/crow/cron/process-updates/15 Pipeline failed
ci/crow/cron/process-updates/14 Pipeline failed
ci/crow/cron/process-updates/16 Pipeline failed
ci/crow/cron/process-updates/18 Pipeline failed
ci/crow/cron/process-updates/11 Pipeline failed
ci/crow/cron/process-updates/12 Pipeline failed
ci/crow/cron/process-updates/17 Pipeline failed
ci/crow/cron/process-updates/6 Pipeline failed
ci/crow/cron/process-updates/5 Pipeline failed
## Summary Adds the curated **patch registry** and wiring that drives bincraft's new package-patching mechanism (see bincraft PR `feat/package-patching`). Lets specific packages be patched (env/configure/Makevars overrides or source diffs) before pak installs them — including as transitive dependencies — so compiler-/OS-specific failures like RcppParallel's bundled TBB stop cascading. ## What's included - `local/patches/registry.json` — initial entry: RcppParallel with `RCPP_PARALLEL_USE_TBB=0` for alpine / ubuntu-2604, plus `local/patches/README.md` schema docs. - `local/validate-patches.R` — validates schema, referenced patch files, and ambiguous overlaps; clean failure + exit 1 (no stacktrace). - `.pre-commit-config.yaml` — a `validate-patches` hook (re-runs when the registry or the validator changes). - `local/build-one.R` / `local/build-all.R` — pass `patches = "local/patches"` to `bincraft::build_binary_package()`. - `specs/2026-06-30-package-patching-design.md` and `plans/2026-06-30-package-patching-implementation.md`. ## ⚠️ Merge ordering (blocker) This PR adds a `patches = ...` argument to `build_binary_package()` calls. The `.crow/*.yaml` workflows currently pin bincraft **v4.2.3**, which does not accept that argument — CI will error with `unused argument (patches=...)` until: 1. bincraft **v4.3.0** is released (PR `feat/package-patching`), and 2. the pin is bumped in `.crow/build-all-versions-install-deps.yaml`, `.crow/build-all-versions.yaml`, and `.crow/process-updates.yaml`. The `.crow` pin bump will be added to this PR once bincraft v4.3.0 is tagged. Do not merge before then. Reviewed-on: #103
104 lines
1.9 KiB
Text
104 lines
1.9 KiB
Text
# Created by https://www.toptal.com/developers/gitignore/api/terraform,R
|
|
# Edit at https://www.toptal.com/developers/gitignore?templates=terraform,R
|
|
|
|
### R ###
|
|
# History files
|
|
.Rhistory
|
|
.Rapp.history
|
|
|
|
# Session Data files
|
|
.RData
|
|
.RDataTmp
|
|
|
|
# User-specific files
|
|
.Ruserdata
|
|
|
|
# Example code in package build process
|
|
*-Ex.R
|
|
|
|
# Output files from R CMD build
|
|
/*.tar.gz
|
|
|
|
# Output files from R CMD check
|
|
/*.Rcheck/
|
|
|
|
# RStudio files
|
|
.Rproj.user/
|
|
|
|
# produced vignettes
|
|
vignettes/*.html
|
|
vignettes/*.pdf
|
|
|
|
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
|
|
.httr-oauth
|
|
|
|
# knitr and R markdown default cache directories
|
|
*_cache/
|
|
/cache/
|
|
|
|
# Temporary files created by R markdown
|
|
*.utf8.md
|
|
*.knit.md
|
|
|
|
# R Environment Variables
|
|
.Renviron
|
|
|
|
# translation temp files
|
|
po/*~
|
|
|
|
# RStudio Connect folder
|
|
rsconnect/
|
|
|
|
### R.Bookdown Stack ###
|
|
# R package: bookdown caching files
|
|
/*_files/
|
|
|
|
### Terraform ###
|
|
# Local .terraform directories
|
|
**/.terraform/*
|
|
|
|
# .tfstate files
|
|
*.tfstate
|
|
*.tfstate.*
|
|
|
|
# Crash log files
|
|
crash.log
|
|
crash.*.log
|
|
|
|
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
|
|
# password, private keys, and other secrets. These should not be part of version
|
|
# control as they are data points which are potentially sensitive and subject
|
|
# to change depending on the environment.
|
|
*.tfvars
|
|
*.tfvars.json
|
|
|
|
# Ignore override files as they are usually used to override resources locally and so
|
|
# are not checked in
|
|
override.tf
|
|
override.tf.json
|
|
*_override.tf
|
|
*_override.tf.json
|
|
|
|
# Include override files you do wish to add to version control using negated pattern
|
|
# !example_override.tf
|
|
|
|
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
|
|
# example: *tfplan*
|
|
|
|
# Ignore CLI configuration files
|
|
.terraformrc
|
|
terraform.rc
|
|
|
|
# End of https://www.toptal.com/developers/gitignore/api/terraform,R
|
|
|
|
.Renviron
|
|
.envrc
|
|
exec.sh
|
|
exec.R
|
|
docs/
|
|
local/test.R
|
|
.DS_Store
|
|
docs/
|
|
|
|
# Superpowers SDD scratch (briefs, reports, ledger)
|
|
.superpowers/
|