Skip to content

refactor(audit): take the keep set, the bundlers and the next PHP image from where ncmake holds them - #424

Merged
ernolf merged 1 commit into
mainfrom
ernolf/refactor/single-source-keep-bundlers-php-image
Nov 6, 2026
Merged

ernolf merged 1 commit into
mainfrom
ernolf/refactor/single-source-keep-bundlers-php-image

Conversation

@ernolf

@ernolf ernolf commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Part of #420

Four analysers kept a copy of a value ncmake already holds elsewhere. They now take it from there.

The bundlers: build-audit, built-assets and consistency-audit each had their own list of bundler packages. bundler-config.mjs now names, per bundler, the configs it picks up, the package that writes the output, the packages an app declares for it and the packages it runs. The three analysers read from that.

The keep set: consistency-audit fell back on a copy of the core's keep_dirs and keep_files when make handed in no set, without keep_extra. The copy is gone. Without the set make hands in, the check of the directories the app reads at run time is left out, and an info finding says so.

The PHP image ahead of master: php-compat wrote the image repository into its own source. The core now names it once as php_image_repo, make writes the image it ran into the range file, and the report takes it from there.

In the JSON of consistency-audit, keepFrom is gone and the bundlers come in the order of bundler-config.mjs. The JSON of php-compat carries range.next_image.

Tested with php-compat, consistency-audit, build-audit, bundle-report and build-verify on twofactor_oath, against main.

…ge from where ncmake holds them

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
@ernolf ernolf self-assigned this Nov 6, 2026
@ernolf ernolf added bug Something isn't working enhancement New feature or request analysis The analysers in lib/ and the bundle module that runs them labels Nov 6, 2026
@ernolf
ernolf merged commit bf550ab into main Nov 6, 2026
12 checks passed
@github-actions
github-actions Bot deleted the ernolf/refactor/single-source-keep-bundlers-php-image branch November 6, 2026 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

analysis The analysers in lib/ and the bundle module that runs them bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant