Skip to content

maint(common): fix use of jq.inc.sh in git hooks#14382

Merged
ermshiperete merged 1 commit intomasterfrom
maint/common/jqstandalone
Jul 22, 2025
Merged

maint(common): fix use of jq.inc.sh in git hooks#14382
ermshiperete merged 1 commit intomasterfrom
maint/common/jqstandalone

Conversation

@ermshiperete
Copy link
Copy Markdown
Contributor

jq.inc.sh gets also used in some scripts that don't source our builder scripts, e.g. in git hooks. This means that builder_is_windows is not defined. This change replaces the call of that function with a slightly modified version of the previous implementation.

Follow-up-of: #14324
Build-bot: skip
Test-bot: skip

`jq.inc.sh` gets also used in some scripts that don't source our
builder scripts, e.g. in git hooks. This means that `builder_is_windows`
is not defined. This change replaces the call of that function with
a slightly modified version of the previous implementation.

Follow-up-of: #14324
Build-bot: skip
Test-bot: skip
@keymanapp-test-bot
Copy link
Copy Markdown

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S8 milestone Jul 21, 2025
@github-actions github-actions bot added resources/ common/ maint Maintenance work -- continuous integration, build scripts, infrastructure labels Jul 21, 2025
Copy link
Copy Markdown
Member

@mcdurdin mcdurdin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Are there changes to other .inc.sh scripts which have similar non-builder-aware usages?

@ermshiperete
Copy link
Copy Markdown
Contributor Author

LGTM. Are there changes to other .inc.sh scripts which have similar non-builder-aware usages?

No, jq.inc.sh seems to be the only one.

@ermshiperete ermshiperete merged commit 39b1da2 into master Jul 22, 2025
7 checks passed
@ermshiperete ermshiperete deleted the maint/common/jqstandalone branch July 22, 2025 13:14
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Jul 22, 2025
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 19.0.87-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common/ maint Maintenance work -- continuous integration, build scripts, infrastructure resources/

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants