6 Commits
Author SHA1 Message Date
Seán McNamara 4c0af6c536 fix: normalize diff prefixes in portability reports (#2148)
The portability report passes explicit `a/` and `b/` diff prefixes to its own `git diff`, so a user's `diff.mnemonicPrefix` setting no longer changes the file names it reports. The test covers both mnemonic-prefix settings with both `core.quotePath` settings. Default-config output is unchanged.

2 files, +4 -3.
2026-10-26 22:30:36 -07:00
Rudy Mizrahi Celekli 72c41a2837 fix(tooling): decode Git quoted paths in portability reports (#1230)
The portability report takes file names from git diff headers. With Git's default core.quotePath, a non-ASCII name came out C-quoted ("caf\303\251.md"), and a name with spaces kept Git's trailing tab, so findings pointed at paths that don't exist. The report's diff now runs with -c core.quotePath=false and strips the trailing tab, so UTF-8 names and names with spaces are reported as their real paths. Names Git still quotes (control characters, quotes, backslashes) stay quoted, now without the "+++ " prefix. A native-Git test sets the repository's quotePath both ways and checks the reported locations.
2026-10-13 10:08:56 -07:00
Rudy Mizrahi Celekli 0b01b8819d fix(ci): run portability reports through symlinked paths (#1109)
The portability report runs its command-line entry point when started through a symlink or a path containing spaces or #, comparing decoded real file paths as the packaging script already does.
2026-10-12 00:53:13 -07:00
Rudy Mizrahi Celekli 8145c49fe8 fix(ci): keep header-shaped added text in its diff hunk (#1108)
The portability report keeps added text that begins like a diff file header (for example "++ b/") inside its hunk instead of reading it as a new file.
2026-10-11 12:33:37 -07:00
Mike Schwarzandorch-advisor fbc30c2b6d ci: list file and line only in the public portability report (#59)
Co-authored-by: orch-advisor <orch-advisor@openrig-build>
2026-09-26 01:00:48 -07:00
Mike Schwarzandorch-advisor 3b2fc4e624 ci: add a portability report for pull requests (#56)
* ci: add a portability report for pull requests

* ci: word the empty portability report as a scan result

---------

Co-authored-by: orch-advisor <orch-advisor@openrig-build>
2026-09-26 00:52:05 -07:00