Commit graph

33476 commits

Author SHA1 Message Date
rc-swag
d1adc63f80
Merge pull request #14166 from keymanapp/fix/windows/keyboard-only-install-return-idle
fix(windows): keyboard only install return idle
2025-06-13 10:57:58 +10:00
rc-swag
26c39fd3bb
feat(windows): review comments
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2025-06-13 10:57:06 +10:00
Marc Durdin
3754cac89b maint(resources): only automatically merge keyman-server PRs with automerge label
Prevents PRs from keyman-server from being merged unless they already
have the 'automerge' label. This supports the upcoming epic-master-merge
infrastructure, where we would like to automatically approve the PRs but
allow maintainers to merge when ready.

We cannot specify required status checks at this point, because we don't
necessarily know which status checks will be required for a given PR. A
future improvement would be to define a new status check which verifies
that all the expected builds for a given PR have passed, and then make
that into a required status check for all master,beta,stable-x.y,epic/
branches. This status check would need to be updated automatically
whenever another status check completes. Probably should be implemented
as a GHA.

In the future, we could move to using GitHub's auto-merge functionality,
and not use the current auto-merge action but that's a much bigger
change.

Also, upgraded auto-approve to v4.0.0 to remove node deprecation
warnings.
2025-06-13 09:32:04 +10:00
Keyman Server
22436fff61
Merge pull request #14170 from keymanapp/auto/version-master-19.0.64
auto: increment master version to 19.0.64
2025-06-12 16:05:39 -07:00
Keyman Build Agent
3f26260d1e auto: increment master version to 19.0.64 2025-06-12 19:05:08 -04:00
Marc Durdin
f1f44331aa
Merge pull request #14165 from keymanapp/dependabot/npm_and_yarn/developer/src/server/src/win32/trayicon/addon-src/brace-expansion-2.0.2
chore(deps): bump brace-expansion from 2.0.1 to 2.0.2 in /developer/src/server/src/win32/trayicon/addon-src
2025-06-13 04:12:52 +07:00
Eberhard Beilharz
8ee1127f13
Merge pull request #14168 from keymanapp/maint/developer/fixrelease
This fixes developer release builds. Previously we used single quotes for specifying `--rsync-path`. This caused the parameter to contain the variable name instead of the content.

Also define and set the variables in a powershell script so that they can be used. This was already done for the other powershell scripts, but overlooked for `download-symbol-server-index.ps1`. Also use variables instead of hard-coding values.

Follow-up-of: #14059
Part-of: #13399
Test-bot: skip
2025-06-12 23:07:02 +02:00
Eberhard Beilharz
08371452b9
Merge pull request #14167 from keymanapp/maint/web/fixrelease
Previously rsync used some TC variables. Now with the build step being a script the TC variables are no longer accessible from the script, so we add new arguments to the build script and then use these when calling rsync. A similar changer was already made previously for the developer release build.

Follow-up-of: #14049
Related: #14059
Part-of: #13399
Test-bot: skip
2025-06-12 23:05:24 +02:00
Eberhard Beilharz
917e83d7ad
maint(web): use double quotes so that variable gets replaced
This fixes web release builds. Previously we used single quotes
for specifying `--rsync-path`. This caused the parameter to contain
the variable name instead of the content.
2025-06-12 18:32:34 +02:00
Eberhard Beilharz
4bfb35c19f
maint(developer): use double quotes so that variable gets replaced
This fixes developer release builds. Previously we used single quotes
for specifying `--rsync-path`. This caused the parameter to contain
the variable name instead of the content.

Follow-up-of: #14059
Part-of: #13399
Test-bot: skip
2025-06-12 18:28:15 +02:00
Eberhard Beilharz
6e7071ada6
maint(developer): define (and use) variables in developer release build
We have to define and set the variables in a powershell script so that
they can be used. This was already done for the other powershell scripts,
but overlooked for this one. Also use variables instead of hard-coding
values.
2025-06-12 18:24:15 +02:00
Eberhard Beilharz
bfa8165033
maint(web): add some more arguments for web release build script
Previously rsync used some TC variables. Now with the build step being
a script the TC variables are no longer accessible from the script, so
we add new arguments to the build script and then use these when calling
rsync. A similar changer was already made previously for the developer
release build.

Follow-up-of: #14049
Related: #14059
Part-of: #13399
Test-bot: skip
2025-06-12 17:40:59 +02:00
rc-swag
0d23efeae3 fix(windows): if only keyboards return to idle
There will be no `firstrun` for kmshell.exe if it is a keyboard only
install. We can therefore return to the idle state in the current
process
2025-06-12 15:31:22 +10:00
rc-swag
0408262eed chore(windows): Merge branch 'fix/windows/13767/error-updates-not-downloaded-after-3' into fix/windows/add-wuc-enum-result 2025-06-12 14:58:20 +10:00
dependabot[bot]
8f7462c22c
chore(deps): bump brace-expansion
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.0.1...v2.0.2)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-11 20:56:26 +00:00
Keyman Server
4646d9ab65
Merge pull request #14164 from keymanapp/auto/version-master-19.0.63
auto: increment master version to 19.0.63
2025-06-11 11:02:01 -07:00
Keyman Build Agent
3acfee3779 auto: increment master version to 19.0.63 2025-06-11 14:01:31 -04:00
rc-swag
cbd9146e31 chore(windows): Merge branch 'master' into fix/windows/13767/error-updates-not-downloaded-after-3
# 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
2025-06-11 22:11:11 +10:00
rc-swag
4b2b9c1a84 fix(windows): early return when download meta data invalid
is invalid or the version is not newer then currently installed
2025-06-11 22:09:48 +10:00
Marc Durdin
e4ca0f7283 maint(common): consolidate 7Z_HOME, SEVENZ_HOME, SEVEN_Z_HOME env vars
Using SEVENZ_HOME.

Fixes: #14149
2025-06-11 18:19:26 +08:00
Marc Durdin
b2e8418c2a
Merge branch 'master' into maint/common/pr-build-bot 2025-06-11 10:37:03 +07:00
Marc Durdin
7b32085e0f
Merge pull request #14155 from keymanapp/maint/common/14146_macregex
maint(resources): fix regression on mac triggering builds
2025-06-11 08:39:13 +07:00
Marc Durdin
95af46d0c9
Merge pull request #14156 from keymanapp/maint/web/14151_uploadscript
maint(web): use path when calling powershell script
2025-06-11 08:29:08 +07:00
Marc Durdin
adb4b30dfb
Merge pull request #14157 from keymanapp/maint/developer/14150_symbolserver
maint(developer): export environment variables
2025-06-11 08:28:49 +07:00
Keyman Server
c8dbfa9961
Merge pull request #14158 from keymanapp/auto/version-master-19.0.62
auto: increment master version to 19.0.62
2025-06-10 11:03:19 -07:00
Keyman Build Agent
a6def57229 auto: increment master version to 19.0.62 2025-06-10 14:02:43 -04:00
Eberhard Beilharz
fd314eb2f7
maint(developer): export environment variables
Export the newly introduced variables so that they are available in the
powershell script.

Fixes: #14150
Follow-up-of: #14052
Test-bot: skip
2025-06-10 19:43:47 +02:00
Eberhard Beilharz
1fdff7d66c
maint(web): use path when calling powershell script
Also remove the check if we're running on Windows since that is already
happening in the calling function.

Fixes: #14151
Follow-up-of: #14049
Test-bot: skip
2025-06-10 19:02:04 +02:00
Eberhard Beilharz
656c4b8c6d
maint(resources): fix regression on mac triggering builds
The `grep` available on macOS doesn't have the `--perl-regexp` option,
so the changes introduced in #14047 caused a regression. This change
directly makes use of Perl which is available on macOS.

Fixes: #14146
Follow-up-of: #14047
Test-bot: skip
2025-06-10 18:53:08 +02:00
Eberhard Beilharz
7ef985dbd8
Merge pull request #14058 from keymanapp/maint/developer/14045_docker 2025-06-10 17:32:26 +02:00
Marc Durdin
7f8867d50b
Merge pull request #14145 from keymanapp/fix/common-keyboards-zip
fix(common): Use zip.inc.sh for common test keyboards
2025-06-10 16:16:12 +07:00
Marc Durdin
bb1949a3bf
Merge pull request #14147 from keymanapp/chore/developer/extend-test-git-commit-timeout
chore(developer): extend unit test timeout for getLastGitCommitDate
2025-06-10 15:14:51 +07:00
Marc Durdin
90187885c1 chore(developer): extend unit test timeout for getLastGitCommitDate 2025-06-10 10:22:29 +07:00
Darcy Wong
838861d9b6
Update common/test/keyboards/build.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-06-09 21:26:58 -05:00
Darcy Wong
f02553df0b fix(common): Use zip.inc.sh for common test keyboards 2025-06-09 09:43:10 -05:00
Marc Durdin
a4c8f568f1
Merge branch 'master' into maint/common/pr-build-bot 2025-06-07 12:54:17 +07:00
Keyman Server
1e4ed4a21f
Merge pull request #14134 from keymanapp/auto/version-master-19.0.61
auto: increment master version to 19.0.61
2025-06-06 11:01:43 -07:00
Keyman Build Agent
094fd2b48f auto: increment master version to 19.0.61 2025-06-06 14:00:56 -04:00
Eberhard Beilharz
33fe775aa7
maint(developer): use docker buildx to build docker images
This change verifies that `docker buildx` is available and then uses that
for building the images. For that we apparently need the magic line at
the top of the `Dockerfile`s and set the environment variable
`DOCKER_BUILDKIT`. This solves a problem building docker images on
Linux with an older Docker version where the heredocs didn't work.
2025-06-06 18:10:53 +02:00
Eberhard Beilharz
739bdf788f maint: always use LF for Dockerfiles
When running Docker on Windows Docker is not able to properly adjust to
the line ending. When it builds the image from a Dockerfile that's
checked out with the Windows-style line endings (\r\n), and it runs a
command like

```Dockerfile
RUN <<EOF cat > /usr/bin/bashwrapper
echo "Hello world!"
EOF
```

it makes the filename `/usr/bin/bashwrapper\r`! This change works around
this problem by always using LF line endings for
`resources/docker-images/**/Dockerfile`.
2025-06-06 17:14:16 +02:00
Eberhard Beilharz
f13134100c
maint(developer): specify platforms as targets instead of actions in run.sh
This adjusts `resources/docker-images/run.sh` to more closely match
the syntax in `build.sh`.
2025-06-06 17:07:02 +02:00
Eberhard Beilharz
a4b9fe67e3
Merge pull request #14059 from keymanapp/maint/developer/13399_tc-config-dev-refactor
This adds a `configure` build step that will install any missing dependencies required to build on Linux.

Part-of: #13399 
Fixes: #14131
2025-06-06 09:35:16 +02:00
rc-swag
7ad4ba8527 feat(windows): Fix error checking order 2025-06-06 15:54:32 +10:00
Keyman Server
814f7c5902
Merge pull request #14130 from keymanapp/auto/version-master-19.0.60
auto: increment master version to 19.0.60
2025-06-05 19:48:23 -07:00
rc-swag
770506c331 feat(windows): tweak diagnositc error message 2025-06-06 11:14:26 +10:00
rc-swag
0de78e808f feat(windows): don't send logs with diagnostics 2025-06-06 10:29:14 +10:00
Keyman Build Agent
44349d3f9b auto: increment master version to 19.0.60 2025-06-05 14:03:17 -04:00
Eberhard Beilharz
2b73148efc
Merge pull request #14052 from keymanapp/maint/web/13399_tc-config_dev
This matches the existing TC configuration as closely as possible.

Part-of: #13399
2025-06-05 12:32:54 +02:00
Eberhard Beilharz
962eb76ef6
Merge pull request #14051 from keymanapp/maint/web/13399_tc-config_refactor
This refactors the build script and makes some changes so that it is possible to run in a docker container on a developer's machine.

Part-of: #13399
2025-06-05 12:32:00 +02:00
Eberhard Beilharz
f84a2a087e
Merge pull request #14119 from keymanapp/chore/linux/cherry-pick/changelog 2025-06-05 12:28:57 +02:00