Commit graph

2072 commits

Author SHA1 Message Date
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
Eberhard Beilharz
ed67a04ec4
maint(web): allow to specify paths as arguments
This adds command line arguments for the paths to the `s.keyman.com` and
`help.keyman.com` repos.

This deviates from sticking strictly with what's on TC so that we can
pass the desired arguments right from the start and don't have to add
another check in the TC build steps.
2025-06-03 17:37:15 +02:00
Eberhard Beilharz
581e4e03ef chore(linux): add TC test runner
This adds a modified version of JetBrains' TeamCity test runner that
makes use of the `parent` property in the service messages and thus
allows to properly indent and fold the block that contains the test
output.

Test-bot: skip
2025-06-02 15:20:42 +02:00
Darcy Wong
ceb7f741ae fix(android): Fix typos 2025-06-02 13:35:17 +07:00
Darcy Wong
6e5e25b5ea fix(android): Updates to handle zip-excludes 2025-06-02 11:45:32 +07:00
Darcy Wong
c455b8d74b
Merge pull request #13919 from keymanapp/maint/ios/use-zip-inc
maint(ios): Use zip.inc.sh to prep release artifacts
2025-06-02 10:27:36 +07:00
Eberhard Beilharz
c1214e7971
Merge pull request #14061 from keymanapp/maint/linux/movetcscripts 2025-05-30 11:21:39 +02:00
Eberhard Beilharz
1ba77cc5b2
maint(linux): improve output of install action 2025-05-28 20:23:06 +02:00
Eberhard Beilharz
eb1172b076
Merge pull request #14047 from keymanapp/maint/common/buildtrigger
This modifies the build triggers so that changes in `resources/teamcity` don't trigger builds on all platforms anymore. If a change happened in `resources/teamcity/$platform` or `resources/teamcity/includes` it will trigger a build for `$platform`. 

Since bash doesn't support negative look-aheads we use `grep` with the Perl regex option.

Fixes: #13943
2025-05-28 18:09:55 +02:00
Eberhard Beilharz
3e4d463fc1
maint(linux): move TC build scripts to resources/teamcity/linux
Test-bot: skip
2025-05-28 11:54:08 +02:00
Eberhard Beilharz
e7cb8b0617
maint(common): tweak labels for common and core
This change addresses code review comments. `common` and `core` also
have TC build configs, so we add labels for them as well.

Co-authored-by: Marc Durdin <marc@durdin.net>
2025-05-28 11:31:26 +02:00
Eberhard Beilharz
9939ef9e30
maint(developer): allow to build locally on Linux and macOS
This adds a `configure` build step that will install any missing
dependencies required to build on Linux and macoS.

macOS was added based on `resources/devbox/macos/macos.sh` but is
untested.

Test-bot: skip
2025-05-27 20:14:02 +02:00
Eberhard Beilharz
254544364b
maint(web): fix typo 2025-05-27 20:10:43 +02:00
Eberhard Beilharz
58bf8557bb
maint(web): change to correct directory 2025-05-27 20:08:24 +02:00
Eberhard Beilharz
bf5909e51b
maint(web): improve TC build script for Keyman Web/Release 2025-05-27 20:04:58 +02:00
Eberhard Beilharz
c93f1355f4
maint(web): add some additional dependencies that were missing
When building playwright complained about missing dependencies, so
this change adds them.
2025-05-27 19:50:57 +02:00
Eberhard Beilharz
ea8eea1cfa
maint(developer): add docker image to build developer node modules
Also update build documentation.

Fixes: #14045
Test-bot: skip
2025-05-27 18:17:16 +02:00
Eberhard Beilharz
3a7663f7c1
fix(common): properly use newly installed node version
Previously, if we had to install a new node version, we activated it in
the same subshell as the installation. This had the effect that `NVM_BIN`
was set to the new version only in the subshell, but otherwise it still
had the wrong value. This caused build failures. Subsequent builds would
succeed because the node version was now available.

This change fixes things by using an explicit `if` instead of the
construct with parens which opened another subshell.

Fixes: #14056
Test-bot: skip
2025-05-27 17:07:23 +02:00
Marc Durdin
0a856ecd9d
Merge pull request #14044 from keymanapp/maint/13833-package.json-add-empty-scripts-tag
maint: add empty 'scripts' tag to package.json to silence warning
2025-05-27 08:13:30 +07:00
Eberhard Beilharz
797af43b0a
maint(web): move TC configuration for Keyman Developer to scripts
This matches the existing TC configuration as closely as possible.

Part-of: #13399
Test-bot: skip
2025-05-26 19:24:16 +02:00
Eberhard Beilharz
fd9c88fa83
maint(web): improve TC build script for Keyman Web/Test
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
Test-bot: skip
2025-05-26 18:38:48 +02:00
Eberhard Beilharz
7942f3c23b
maint(web): move TC configuration for Web to script
This matches the existing TC configuration as closely as possible. It also
puts the scripts in `resources/teamcity/web`, but doesn't relocate the
Linux scripts until we decide where things should go.

Part-of: #13399
Test-bot: skip
2025-05-26 18:27:10 +02:00
Eberhard Beilharz
efafd22b2f
maint(common): update build coordinator for resources/teamcity changes
This modifies the build triggers so that changes in `resources/teamcity`
don't trigger builds on all platforms anymore. If a change happened in
`resources/teamcity/$platform` or `resources/teamcity/includes` it will
trigger a build for `$platform`.

Since bash doesn't support negative look-aheads we use `grep` with the
Perl regex option.

Part-of: #13943
Build-bot: skip
2025-05-26 16:57:03 +02:00
Marc Durdin
9f15e7c7ec maint: add empty 'scripts' tag to package.json to silence warning
Also removes './' from front of gosh.js to address another npm cleanup
(from `npm pkg fix`).

Fixes: #13833
2025-05-25 06:35:28 +07:00
Marc Durdin
2c52a733ec maint: add stable-19.0 triggers
This are a little early but good to have in place. Per release process
wiki, this should have been done at time of 18.0 stable release but
was missed (by me).
2025-05-25 06:03:37 +07:00
Darcy Wong
acc4aba32c fix(ios): Apply review comments
* Change zip_files to add_zip_files
* Clarify flags used for zip vs 7z
* Use `zip-excludes` instead of `excludes.in` for the list of file to exclude from the archive
2025-05-23 05:57:25 +07:00
Joshua Horton
bfb97ca0c6 maint(web): upgrade Sentry to 8.55.0
Fixes: KEYMAN-WEB-RX
(It was produced artificially after this PR's changes to validate them.)

Cross-reference with https://github.com/getsentry/sentry-javascript/blob/master/docs/migration/v7-to-v8.md in regard to minimum supported versions.

@keymanapp-test-bot skip
2025-05-22 14:02:16 +07:00
Joshua Horton
fdc149c9a3
Merge pull request #14007 from keymanapp/maint/builder-autocomplete-inc-sh
maint: change builder_completion script to a .inc.sh
2025-05-22 11:34:59 +07:00
Darcy Wong
04629414e8 Merge remote-tracking branch 'origin/master' into maint/ios/use-zip-inc 2025-05-22 10:31:33 +07:00
Eberhard Beilharz
202b16459c
maint(linux): use correct syntax to define local variables in script 2025-05-21 16:33:42 +02:00
Eberhard Beilharz
eb31116dde
Merge pull request #13986 from keymanapp/maint/linux/tcrel
In addition to all the other dependencies we also need quilt installed in order to be able to create a source package. Additionally renamed a function to clarify its purpose.
2025-05-21 08:54:58 +02:00
Joshua Horton
2721c74a91 maint: change builder_completion script to a .inc.sh
Fixes: #14004
2025-05-21 11:36:58 +07:00
Darcy Wong
4a4277ff5a refactor(common): Add regex for compression level 2025-05-21 08:23:08 +07:00
Joshua Horton
e83ec37231 Merge branch 'master' into maint/dev-android-on-mac 2025-05-21 08:11:47 +07:00
Eberhard Beilharz
87f150f6b5
maint(linux): fix release build configuration
We also need quilt installed in order to be able to create a
source package.
2025-05-20 08:42:31 +02:00
Eberhard Beilharz
53ffd5625b
fix(linux): rename function to install test dependencies
# 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-05-20 08:41:31 +02:00