Skip to content

devops: move the i18n generator to app/cli, a script in cli/ has no test and no class - #257

Merged
landsman merged 3 commits into
mainfrom
devops/move-php-cli
Oct 31, 2026
Merged

landsman merged 3 commits into
mainfrom
devops/move-php-cli

Conversation

@landsman

@landsman landsman commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

cli/i18n.php ran its coverage gate inline before calling exit, so nothing could check that the gate fails. It is now Desktop\Cli\Command\I18n, following WindowsIco from #254, and tests/cli/I18nTest.php covers a missing translation and a malformed ID.

The Makefile now calls build tooling as $(CLI) i18n, through app/cli/run.php, instead of a php-cli -r one-liner per command; WindowsIco moved onto it and into Desktop\Cli\Command\ too. No new dependency.

make i18n and make i18n-check behave as before, and app/cli/ still does not ship.

make qa, make check and make i18n-check pass. One make e2e run ended at 167 of 173, with failures in shell/mcp, shell/connections and shell/settings. Those were not investigated and the run was not repeated.

@landsman
landsman force-pushed the devops/move-php-cli branch from c607c21 to e069ffb Compare October 31, 2026 23:29
@landsman
landsman merged commit b2e63d4 into main Oct 31, 2026
4 checks passed
@landsman
landsman deleted the devops/move-php-cli branch October 31, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant