fix(patches): validator portability, clearer docs, broader hook trigger

This commit is contained in:
Patrick Schratz 2026-06-30 09:17:24 +02:00
commit f3f3bfa20d
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -0,0 +1,40 @@
### Task B4 Report: Pass `patches` through the build entry points
**Status:** Complete. Commit `bda1a37``feat(patches): pass patch registry to bincraft build calls`.
---
#### Edit 1 — `local/build-one.R` (line 106, after `archive = TRUE,`)
```r
archive = TRUE,
+ patches = "local/patches",
store_build_metadata = TRUE,
```
#### Edit 2 — `local/build-all.R` (line 142, after `archive = TRUE,`)
```r
archive = TRUE,
+ patches = "local/patches",
upload = TRUE,
store_build_metadata = TRUE
```
---
#### Verification
```
parse ok
```
`Rscript -e 'invisible(parse("local/build-one.R")); invisible(parse("local/build-all.R")); cat("parse ok\n")'` exited 0.
`git diff` (pre-commit) showed exactly 2 insertions, 0 deletions — one line per file, no other changes.
---
#### Concerns
None. Both edits are minimal, match surrounding indentation and trailing-comma style, and do not touch any other logic.