Skip to content

[Developer QoL] Update the commit hash patching script - #492

Merged
lbeaufort merged 9 commits into
developfrom
devops/update-commit-hash-patching-script
Sep 30, 2026
Merged

lbeaufort merged 9 commits into
developfrom
devops/update-commit-hash-patching-script

Conversation

@Elaine-Krauss-TCG

@Elaine-Krauss-TCG Elaine-Krauss-TCG commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

This branch updates the commit hash patching script, improving it in several ways:

  • Correctly handles the new(ish) allowScripts section of package.json
  • Adds a verification step for automatically retrieved commit hashes (skipped with the -y flag)
  • Adds a fallback option to manually specify the commit hash
  • Automatic commit hash retrieval using the gitpython module is now optional
  • No longer asks to clean out node_modules/, .angular/, or docker images. (It was helpful to my workflow, but it's out of scope)
  • Switches to argparse over manual sys.argv parsing

@Elaine-Krauss-TCG Elaine-Krauss-TCG changed the title Update the commit hash patching script [Developer QoL] Update the commit hash patching script Sep 16, 2026
@sonarqubecloud

Copy link
Copy Markdown

@lbeaufort
lbeaufort merged commit 4af2f84 into develop Sep 30, 2026
3 checks passed
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.

2 participants