Skip to content

maint(common): consolidate write_download_info functions 🐉#14270

Merged
ermshiperete merged 1 commit intomasterfrom
maint/common/14259_write_download_info
Jul 7, 2025
Merged

maint(common): consolidate write_download_info functions 🐉#14270
ermshiperete merged 1 commit intomasterfrom
maint/common/14259_write_download_info

Conversation

@ermshiperete
Copy link
Copy Markdown
Contributor

@ermshiperete ermshiperete commented Jul 3, 2025

Fixes: #14259
Build-bot: skip
Build-bot: build android
Build-bot: build ios
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
@github-actions github-actions bot added web/ windows/ android/ developer/ ios/ mac/ linux/ common/ core/ Keyman Core resources/ maint Maintenance work -- continuous integration, build scripts, infrastructure labels Jul 3, 2025
@ermshiperete ermshiperete changed the title maint(common): consolidate write_download_info functions maint(common): consolidate write_download_info functions 🐉 Jul 3, 2025
@mcdurdin
Copy link
Copy Markdown
Member

mcdurdin commented Jul 3, 2025

We should run the builds for Android and iOS at least as these are touched by this change.

Hmm, Build-bot does not seem to be responding as I expected -- PR body should override other statements. I will need to verify this!

I am confusing Build-bot with build status check. Given I wrote these, and I am confused, this will probably be a problem for other devs too. I will consider improvements.

Resolution: after changing the Build-bot commands in PR body, I triggered test builds for this PR on TeamCity. (This feels like it should happen automatically when Build-bot commands change in the PR body and/or comments; something for future improvement perhaps?)

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

@keyman-server keyman-server modified the milestones: A19S6, A19S7 Jul 6, 2025
@ermshiperete ermshiperete force-pushed the refactoring/common/shellHelperFuncs branch from 5f86f42 to 38f43d8 Compare July 7, 2025 16:44
Base automatically changed from refactoring/common/shellHelperFuncs to master July 7, 2025 16:49
@ermshiperete ermshiperete force-pushed the maint/common/14259_write_download_info branch from 09758ad to a252025 Compare July 7, 2025 16:51
@ermshiperete ermshiperete merged commit 6312792 into master Jul 7, 2025
6 checks passed
@ermshiperete ermshiperete deleted the maint/common/14259_write_download_info branch July 7, 2025 17:17
@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

ermshiperete added a commit that referenced this pull request Jul 7, 2025
This fixes the release builds.

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

# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
ermshiperete added a commit that referenced this pull request Jul 7, 2025
This fixes the release builds.

Follow-up-of: #14270
Build-bot: skip
Test-bot: skip
ermshiperete added a commit that referenced this pull request Jul 9, 2025
The .download_info files use the platform `win` instead of `windows`. This PR changes this, and also renames the `_verify_project` function to `_verify_platform` to better match what it's checking. Fixes Windows release builds.

Follow-up-of: #14270
ermshiperete added a commit that referenced this pull request Jul 21, 2025
Mac had a separate `write-download_info.sh` script that duplicates what is done in the `write_download_info` function. Also remove the unused `dl_info_display_usage` function that is unused and seems to be related to the script we're deleting.

Follow-up-of: #14270
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

android/ common/ core/ Keyman Core developer/ ios/ linux/ mac/ maint Maintenance work -- continuous integration, build scripts, infrastructure resources/ web/ windows/

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

maint(common): consolidate write_download_info functions

3 participants