Convert build scripts to Perl #118
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 168 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.307
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #118"
general
weight: 0.35
besser82
Discussion in #115 was generally favorable to the idea of converting all the build (and test) scripts from sh+awk to Perl; this PR does that.
Notable immediate improvements include that there is now _one_ parser for
hashes.confand forlibcrypt.map, that all of thelibcrypt.minver.*files can be rolled into one, and that (IMHO) the code is overall quite a bit easier to read. My motivation for making this change, however, is to make it easier to change how the build works in the future; for instance, to add more fields tohashes.conf, or to generate acrypt-symbol-versions.hthat can make use of__attribute__((symver)).I selected perl 5.14 as the minimum supported version, trying to keep it well in the past but still relatively convenient to test with. I'm open to arguments for moving the minimum in either direction -- 5.14 happens to be the oldest version with comprehensive support for Unicode text (specifically, with a fully implemented
use feature "unicode_strings"), and that's why I picked it, but we do not actually _need_ support for Unicode text; going in the other direction, the only thing I know I _want_ from newer perls is named subroutine arguments ("signatures") and those are still considered experimental as of the very newest version, so it's probably not a great idea to start using them yet.