Skip to content

refactor(common): some reformattings in shellHelperFunctions.sh 🐉#14269

Merged
ermshiperete merged 1 commit intomasterfrom
refactoring/common/shellHelperFuncs
Jul 7, 2025
Merged

refactor(common): some reformattings in shellHelperFunctions.sh 🐉#14269
ermshiperete merged 1 commit intomasterfrom
refactoring/common/shellHelperFuncs

Conversation

@ermshiperete
Copy link
Copy Markdown
Contributor

@ermshiperete ermshiperete commented Jul 3, 2025

Also always include jq.inc.sh. The include file already has everything we did here.

Build-bot: build
Test-bot: skip

@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Jul 3, 2025

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S6 milestone Jul 3, 2025
@ermshiperete ermshiperete changed the title refactor(common): some reformattings in shellHelperFunctions.sh refactor(common): some reformattings in shellHelperFunctions.sh 🐉 Jul 3, 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. I want to cleanup the unused functions in shellHelperFunctions.sh and eventually remove the whole file, moving remaining functions into other files -- it was specific to iOS builds for a long time and I think many of the functions are now unused. The function names are also far too generic (set_version?) and liable to cause name collisions.

@mcdurdin
Copy link
Copy Markdown
Member

mcdurdin commented Jul 3, 2025

I think we should be running builds on this -- changes to shared shell scripts should always be built, even if they seem inconsequential

@mcdurdin
Copy link
Copy Markdown
Member

mcdurdin commented Jul 3, 2025

https://github.com/keymanapp/keyman/actions/runs/16061128742/job/45327107509

/home/runner/work/keyman/keyman/linux/builddebs/keyman-19.0.76/resources/shellHelperFunctions.sh: line 5: /home/runner/work/keyman/keyman/linux/builddebs/keyman-19.0.76/resources/build/jq.inc.sh: No such file or directory

@keyman-server keyman-server modified the milestones: A19S6, A19S7 Jul 6, 2025
Also always include `jq.inc.sh`. The include file already has everything
we did here.

Test-bot: skip
@ermshiperete ermshiperete force-pushed the refactoring/common/shellHelperFuncs branch from 5f86f42 to 38f43d8 Compare July 7, 2025 16:44
@github-actions github-actions bot added common/ and removed common/ labels Jul 7, 2025
@ermshiperete ermshiperete changed the base branch from maint/resources/14201_prefixtc to master July 7, 2025 16:44
@ermshiperete ermshiperete merged commit 9cabc3d into master Jul 7, 2025
6 checks passed
@ermshiperete ermshiperete deleted the refactoring/common/shellHelperFuncs branch July 7, 2025 16:49
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Jul 7, 2025
@keyman-server
Copy link
Copy Markdown
Collaborator

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

mcdurdin added a commit that referenced this pull request Aug 1, 2025
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.

Fixes: #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants