Commit graph

1713 commits

Author SHA1 Message Date
Sabine
7e1aa09475 feat(developer): changed copyright, imports, duplicate validationError, comments 2025-07-14 15:32:38 +02:00
Sabine
b5952df3a9 feat(developer): permissions for create_keylayout_schema.sh 2025-07-11 09:50:33 +02:00
Sabine
1f7134fd52 feat(developer): permissions for create_keylayout_schema.sh 2025-07-11 08:39:39 +02:00
Sabine
2dfa57c142 feat(developer): changes in build.sh, fixup-schema 2025-07-09 14:14:58 +02:00
Sabine
461717808d feat(developer): version with broken schema.bundler 2025-07-08 15:37:27 +02:00
Sabine
6d850f9710 feat(developer): remove fixup-keylayout-schema 2025-07-07 11:47:28 +02:00
Sabine
faaf5c9abc feat(developer): validation finished 2025-07-07 11:42:00 +02:00
Sabine
de9820d3c0 feat(developer): validation OK 2025-07-04 19:13:52 +02:00
Sabine
0e69f91940 feat(developer): merged changes from 12564 into feat/developer/kmc-convert-validateKeylayout branch
remove #text: first idea
2025-07-03 18:12:23 +02:00
Sabine
cebbda981f Merge branch 'feat/developer/kmc-convert' into feat/developer/kmc-convert-validateKeylayout
# Conflicts:
#	developer/src/common/web/utils/src/xml-utils.ts
#	developer/src/kmc-convert/src/converter-messages.ts
#	developer/src/kmc-convert/src/keylayout-to-kmn/keylayout-file-reader.ts
#	developer/src/kmc-convert/src/keylayout-to-kmn/keylayout-to-kmn-converter.ts
#	developer/src/kmc-convert/src/keylayout-to-kmn/kmn-file-writer.ts
2025-07-03 11:54:41 +02:00
Sabine
70965c0dfe feat(developer): validate: edit xsd-file-> validates files OK 2025-07-02 14:51:18 +02: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
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
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
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
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
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
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
8679b6db1d
maint(developer): change to correct directory for powershell scripts 2025-06-05 09:42:39 +02:00
Eberhard Beilharz
36fb4d30b8
maint(web): fix working directory for zipping artifacts for Web release
This fixes the Keyman for Web release builds - the script expects to be
run from `${KEYMANROOT}/web`.
2025-06-05 09:07:17 +02:00
Eberhard Beilharz
ce86bcd6a0
maint(developer): fix build on Windows agents
Windows agents have NVM installed in a different place, and always enabled
so we don't need to set variables for NVM.
2025-06-05 09:00:23 +02:00
Eberhard Beilharz
e3ebc2e05f
maint(developer): fix build errors
The mainly sneaked in by merging changes from other branches.
2025-06-04 20:58:26 +02:00
Eberhard Beilharz
3e3c56f9e7
maint(developer): add arguments to keyman-developer-release.sh script
Instead of relying on set environment variables this now allows to pass
the required values as arguments.
2025-06-04 20:47:00 +02:00
Eberhard Beilharz
06cb2520e9
maint(developer): run publish action only on Windows
This addresses a code review comment. Instead of checking on each
sub action this now checks on the main publish action.
2025-06-04 20:39:26 +02:00
Eberhard Beilharz
f13270275f
maint(developer): run platform specific scripts only on that platform 2025-06-04 19:54:27 +02:00
Eberhard Beilharz
3a8a823c63
maint(developer): fix typos 2025-06-04 19:53:55 +02:00
Eberhard Beilharz
a85e14feef
maint(developer): add more file headers 2025-06-04 19:53:23 +02:00
Eberhard Beilharz
087c2eec9d
maint(developer): don't automatically install packages on macOS 2025-06-04 19:07:36 +02:00
Eberhard Beilharz
0d0f67ace8
chore(developer): Merge branch 'maint/web/13399_tc-config_dev' into maint/developer/13399_tc-config-dev-refactor 2025-06-04 18:27:07 +02:00
Eberhard Beilharz
19044708bb
chore(web): Merge branch 'maint/web/13399_tc-config_refactor' into maint/web/13399_tc-config_dev 2025-06-04 18:22:32 +02:00
Eberhard Beilharz
ab2f7c2d30
chore(web): Merge branch 'master' into maint/web/13399_tc-config_refactor 2025-06-04 18:20:39 +02:00
Eberhard Beilharz
35c92f984e
Merge pull request #14049 from keymanapp/maint/web/13399_tc-config 2025-06-04 18:07:37 +02:00
Eberhard Beilharz
86f3f77623
maint(web): update or add file header 2025-06-04 18:05:47 +02:00
Eberhard Beilharz
dc67fd7d28
maint(web): address code review comments
- update and fix file header
- renamed env variables for path to s.keyman.com/help.keyman.com to
  match what is used elsewhere
2025-06-04 16:39:56 +02:00
Darcy Wong
3462655130 Merge remote-tracking branch 'origin/master' into maint/android/ci-publish 2025-06-04 18:44:35 +07:00
Eberhard Beilharz
6b3956ecaa
docs(developer): update README.md for docker images 2025-06-04 11:53:11 +02:00
Eberhard Beilharz
43c005c3f9
maint(developer): address code review comments
Don't try to install dependencies on macOS - build agents on Windows
and macOS are currently configured manually at this point. We don't
want to be attempting to install dependencies on macOS automatically -
homebrew is extremely fragile for CI as it always updates everything to
latest version (which of course breaks many things).

(from https://github.com/keymanapp/keyman/pull/14059#pullrequestreview-2873213671)
2025-06-03 18:40:23 +02:00
Eberhard Beilharz
e2c32e5126
chore(developer): Merge branch 'maint/web/13399_tc-config_dev' into maint/developer/13399_tc-config-dev-refactor 2025-06-03 18:29:00 +02:00
Eberhard Beilharz
1fa0372147
maint(web): address code review comments 2025-06-03 18:09:41 +02:00
Eberhard Beilharz
ef5d4306e8
maint(web): address code review comments from #14049
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-06-03 18:04:00 +02:00
Eberhard Beilharz
23107eab95
chore(web): Merge branch 'maint/web/13399_tc-config' into maint/web/13399_tc-config_refactor 2025-06-03 18:01:09 +02:00