Parse the MSYS2 source list in package.sh without depending on its layout #61

Closed
opened 2026-10-24 02:20:48 -05:00 by ethan-hann · 0 comments
Owner

build/package.sh (~178) reads build/msys2-sources.json with awk, which depends on the file's exact indentation and one key per line. Reformatting the JSON would make the bash step read nothing or the wrong values while the PowerShell step still works. Either parse it with a tool the build already needs (the .NET SDK is always there) or pin the layout with a test.

`build/package.sh` (~178) reads `build/msys2-sources.json` with awk, which depends on the file's exact indentation and one key per line. Reformatting the JSON would make the bash step read nothing or the wrong values while the PowerShell step still works. Either parse it with a tool the build already needs (the .NET SDK is always there) or pin the layout with a test.
ethan-hann added this to the Later milestone 2026-10-24 02:20:48 -05:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ethan-hann/SavePoint#61
No description provided.