Commit graph

2155 commits

Author SHA1 Message Date
Marc Durdin
5c428972e1
Merge pull request #16234 from keymanapp/chore/android/16137-cleanup-android-artifacts-and-build-scripts
chore(android): cleanup Android build scripts and artifact filenames
2026-07-14 21:20:03 +10:00
Marc Durdin
d295e0faf5
maint(resources): add comment for debug printing
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-07-13 16:47:48 +02:00
Marc Durdin
a1c8e63cc8 chore(android): cleanup Android build scripts and artifact filenames
* Specify clearer filenames for Android samples and test KeyboardHarness
* Cleanup android/*/build.sh to match current patterns
* Remove obsolete jcenter dependency
* Export BUILDER_CONFIGURATION in builder.inc.sh

Fixes: #16137
Fixes: #16181
Test-bot: skip
Build-bot: skip release:android
2026-07-13 16:36:29 +02:00
Marc Durdin
ab2bfc9047 maint(resources): add extra debug reporting for builder
Relates-to: #16137
Test-bot: skip
Build-bot: skip build:all release:android
2026-07-13 12:02:09 +02:00
Marc Durdin
528876b42f
Merge pull request #16135 from keymanapp/chore/developer/14838-consolidate-api-extractor
chore(developer): consolidate api-extractor usage in Developer
2026-07-09 18:50:27 +10:00
Eberhard Beilharz
23764b7e56
chore(android): allow to build FV app in docker container
Building the FirstVoices app is triggered in the top-level `build.sh`
if the two environment variables are set. Previously we didn't pass
these variables to Docker, so the FV app was never built even when the
env variables were set. This change passes the two variables to the
container, thus allowing to build the FW app in the docker container.

Build-bot: skip
Test-bot: skip
2026-06-30 11:51:03 +02:00
Marc Durdin
724249263c maint(resources): DRY out PRInformation interface
Test-bot: skip
Build-bot: skip
2026-06-29 15:56:31 +02:00
Marc Durdin
d86604902e chore(developer): consolidate api-extractor usage in Developer
* Centralize the api-extractor.json files, update usage
* Support @since
* Tidy up a few warnings relating to API documentation content

Fixes: #14838
Test-bot: skip
2026-06-24 14:45:05 +02:00
Marc Durdin
6a98a39b8a
Merge branch 'master' into chore/web-core-preflight 2026-05-27 22:37:12 +10:00
Eberhard Beilharz
f339ceb722
maint(linux): fix Linux source tarball
Previously we tried to include all necessary files in the Linux source
tarball, so that a user would be able to successfully run the top-level
`build.sh` file. However, that causes problems when new dependencies
between sub-projects get introduced that would require adding additional
sub-projects to the tarball.

This change modifies the tarball to only include files that are necessary
to run the `linux/build.sh` file, i.e. necessary to build Keyman for
Linux. This is likely what users would expect when they download a source
tarball for Linux. If users want to build other parts of Keyman that are
buildable on Linux they can download the source tarball that the GitHub
releases page provides, or clone the repo.

In order to be able to still run the top-level `build.sh` script, this
change replaces the top-level `build.sh` with a script that simply
forwards the arguments to `linux/build.sh`.

This change also reverts the recent introduction of a *.pkg.tar.xz file
that contained all files necessary to build a Debian/Ubuntu package. There
wouldn't be a difference anymore between the two .tar.xz files.

Fixes: #16004
Fixes: #16005
Build-bot: skip build:linux
Test-bot: skip
2026-05-26 16:14:57 +02:00
Marc Durdin
43756e5e78
Merge branch 'master' into chore/ios/additional-logging-for-xcodebuild 2026-05-20 13:32:37 +10:00
Eberhard Beilharz
be63a51b66
fix(linux): install emscripten prior to verifying source tarball
When running on CI kmcmplib gets fully build, which requires emscripten.
This change installs emscripten before running the source tarball
verification.

Also modify `launchpad.sh` and add option `--no-sign` so that we don't
have to set up things for signing. Use long options for `debuild` where
possible.

Build-bot: skip build:linux
Test-bot: skip
2026-05-19 19:53:25 +02:00
Eberhard Beilharz
0306a4b6e6
fix(linux): fix locating emscripten
If a build couldn't find emcc and environment variables were not set,
previously the build silently quit. This change fixes this so that we get a
proper error message if emcc can't be found.

A similar fix is necessary for 7z where we use similar code.

Test-bot: skip
2026-05-19 19:25:17 +02:00
Marc Durdin
c07b40947b chore(ios): add extra logging to xcodebuild
Attempt to get more logs that help us to trace issues in build script
phases.

Test-bot: skip
2026-05-18 16:45:08 +02:00
Marc Durdin
7c90c640a8
Merge pull request #15866 from keymanapp/dependabot/npm_and_yarn/multi-2b9612f831
chore(deps): bump uuid and @actions/core
2026-05-14 01:26:45 +10:00
Marc Durdin
92a0938b88 chore: add @types/node to resources/build/version
Test-bot: skip
Build-bot: skip
2026-05-13 17:24:38 +02:00
Eberhard Beilharz
ede6a3e4e1
chore(linux): revert whitespace-only changes
Addresses code review comment.

Build-bot: skip
Test-bot: skip
2026-05-11 17:53:48 +02:00
Eberhard Beilharz
1f02bc02f6
chore(linux): address code review comments
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
- make `verify_source.sh` a full builder script
- make options for `launchpad.sh` less confusing
- reference `--help` in `packaging.md`
- run new script as part of Ubuntu packaging workflow

Co-authored-by: Marc Durdin <marc@durdin.net>
2026-05-08 19:11:18 +02:00
Eberhard Beilharz
e03c37cacd
chore(linux): Merge branch 'maint/linux/sourcepkg' into chore/linux/checksource 2026-05-07 19:02:54 +02:00
Eberhard Beilharz
14e097ab95
maint(linux): fix source tarball used for packaging
The source tarball we upload to downloads.keyman.com contains all files
necessary to run `${KEYMAN_ROOT}/build.sh`, i.e. it contains all projects
that can be build on Linux. However, that is not the command used when
building Debian packages. There we limit the build to the `linux`
subfolder. Therefore we only need a subset of the files. Using the full
tarball causes some lintian errors.

This change creates and uploads a second tarball on release builds that
contains only the files needed for Debian packaging. The file is named
`keyman_$VERSION.pkg.tar.xz`.

Build-bot: skip
Test-bot: skip
2026-05-07 18:46:20 +02:00
Eberhard Beilharz
2c8f878f1d
chore(linux): add verification for source tarball and source package
This change adds a new GitHub action that verifies that Keyman can build
from the source package. Also check that source package used for Launchpad
and Debian/Ubuntu packaging doesn't produce lintian errors. Previously
lintian errors did go unnoticed because they didn't stop the build.

Also refactor `launchpad.sh` script to be a proper builder script, and add
some new parameters to allow skipping some steps in the script.

Build-bot: skip
Test-bot: skip
2026-05-06 19:03:12 +02:00
Marc Durdin
fd466f338d chore: move localization documentation to /docs
Test-bot: skip
Build-bot: skip
2026-05-05 16:31:27 +02:00
Eberhard Beilharz
673e044a4b
maint(linux): make emscripten setup on build agents idempotent
The automatic installation of emscripten on build agents did not work
if `EMSCRIPTEN_BASE` was set. This change improves things for a corrupt
installation by using `EMSCRIPTEN_BASE` if already set, and by skipping
clone if it already exists.

Build-bot: skip build:developer
Test-bot: skip
2026-05-05 10:03:33 +02:00
dependabot[bot]
5ef1292648
chore(deps): bump uuid and @actions/core
Removes [uuid](https://github.com/uuidjs/uuid). It's no longer used after updating ancestor dependency [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core). These dependencies need to be updated together.


Removes `uuid`

Updates `@actions/core` from 1.9.1 to 1.11.1
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 
  dependency-type: indirect
- dependency-name: "@actions/core"
  dependency-version: 1.11.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-23 01:47:44 +00:00
rc-swag
2f61208dec
Merge branch 'master' into fix/windows/15571-contextual-help-chm-file-has-blank-pages
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-19 20:00:43 +10:00
Marc Durdin
8311c65077
Merge branch 'epic/web-core' into auto/A19S25-merge-master-into-web-core 2026-03-27 16:30:55 +11:00
Darcy Wong
23e1e89152
Merge pull request #15762 from keymanapp/maint/gha-24
maint(common): Update GitHub actions for Node 24
2026-03-25 04:55:30 +07:00
Darcy Wong
c60be3711f fix(resources): Pin sha to github-script
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-03-18 07:34:53 +07:00
Marc Durdin
2a24db1819 maint(mac): search for brew-installed rsync
Fixes: #15764
Test-bot: skip
Build-bot: skip
2026-03-17 09:36:30 +01:00
Darcy Wong
44a46f5d45 maint(common): Update actions/checkout
* actions/checkout@v6.0.2
2026-03-17 09:31:00 +07:00
Marc Durdin
ae3fe74fc2
Merge branch 'master' into fix/windows/15571-contextual-help-chm-file-has-blank-pages
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-03-17 03:11:30 +11:00
Marc Durdin
50a0333ca3 maint(ios): clean carthage before builds
This change is in response to inconsistent build behavior where we
observed better outcomes after manually cleaning the Carthage cache.
The cache folder had clearly also become very large over time so this
has the side benefit of clearing up space on the build agents. It is
unclear how much time this will cost in the build, but we don't suppose
it will make them dramatically slower.

Note: the same change has been applied in TC for stable-18.0 builds.

Test-bot: skip
2026-03-16 15:15:04 +01:00
Marc Durdin
70c54b0b40 chore: Merge branch 'epic/web-core' into auto/A19S24-merge-master-into-web-core
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-03-16 04:49:38 +01:00
unknown
08c98e7ecf in function Meta: consider AST correctly for setting redirect 2026-03-11 09:50:55 +01:00
Marc Durdin
160ed7b08b maint(resources): use x86_64 emscripten on arm/windows builds
Fixes: #15388
Test-bot: skip
2026-03-10 13:16:49 +01:00
Marc Durdin
42bfe9d570 maint(linux): set git credential for linux help on the correct repo
Test-bot: skip
Build-bot: skip
2026-03-09 13:01:12 +01:00
dependabot[bot]
7df8eac192
chore(deps-dev): bump minimatch in /resources/build/pr-build-status
Bumps [minimatch](https://github.com/isaacs/minimatch) from 9.0.5 to 9.0.9.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v9.0.5...v9.0.9)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 9.0.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 14:07:21 +00:00
Marc Durdin
cca8d4d21f docs: tweak build bot docs and update imsample gitignore
Just minor maintenance.

Build-bot: skip
Test-bot: skip
2026-03-06 10:21:04 +01:00
Marc Durdin
ed63b70bb4
Merge branch 'epic/web-core' into auto/A19S22-merge-master-into-web-core 2026-02-13 11:08:05 +07:00
Eberhard Beilharz
a3ea01451e
chore(linux): use xz compression for source tarballs
Using the xz compression instead of gzip greatly reduces the size of the
tarball.

Follows: #15566
Test-bot: skip
2026-02-06 17:37:34 +01:00
Eberhard Beilharz
5fbe9bc955
chore(linux): add assert-true and assert-false to test framework
This change adds the `assert-true` and `assert-false` function to our
bash testing framework, together with unit tests.

Also rename the test file to `testing-framework.inc.tests.sh` to match
the implementation file.
2026-02-06 16:36:02 +01:00
Darcy Wong
d9f4e2f07c fix(common): Update langtags.json to 2026-02-03 release
Also update minimum-versions
2026-02-04 09:32:29 +07:00
Darcy Wong
05424c0265 chore(common): Merge remote-tracking branch 'origin/master' into chore/common/update-langtags-json
# 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
2026-02-04 09:28:26 +07:00
Keyman Server
e77d46f873
Merge branch 'epic/web-core' into auto/A19S21-merge-master-into-web-core 2026-01-31 06:31:15 +01:00
Marc Durdin
2148a1dee1 fix(windows): handle symstore correctly from bash script
Fixes: #14837
Follows: #15509
Test-bot: skip
2026-01-30 16:36:27 +11:00
Marc Durdin
7b13f0fcbc fix(windows): adjust symbol paths for publishing to symbol server
There were two issues arising from #15493 - first,
`$KEYMAN_SYMSTOREPATH` was set too late, after the build, and second,
symsrv renames `000admin` to `000Admin` but we need to keep it lowercase
for our deployment server, so rename it back just in time before
uploading.

As tidy-up, given that the folder name `000admin` is static and never
changes, removed the parameter and hard-coded it instead.

* export `$KEYMAN_SYMSTOREPATH` before build
* define `000admin` folder explicitly and deprecate --symbols-subdir parameter
* rename `000Admin` to `000admin` before upload

Fixes: #14837
Follows: #15493
Test-bot: skip
2026-01-29 10:18:37 +11:00
Marc Durdin
7dc7de78f4 fix(windows): export sym store path so symbols are published
Fixes: #14837
Test-bot: skip
2026-01-26 11:16:41 +11:00
Marc Durdin
5f6285fa87 fix(resources): block unsupported platforms from running certain scripts
If a builder script requires a specific platform, give a helpful
error message when the script is run on an unsupported platform.

Test-bot: skip
2026-01-22 12:41:26 +07:00
Darcy Wong
e98f4ea4ad chore(common): Update KEYMAN_VERSION_LANGTAGS in minimum versions 2026-01-20 08:26:21 +07:00
Darcy Wong
d976c641fe maint(common): Update langtags.json to v1.4 2026-01-16 16:58:36 +07:00