Commit graph

1477 commits

Author SHA1 Message Date
Eberhard Beilharz
9252b9388b
fix(linux): remove --platform amd64 from docker build script
Passing this parameter causes docker image builds on mac to fail (#13295).
Since `amd64` is the default anyways (and we don't support other values),
we can simply remove that parameter.

Fixes: #13295
2025-02-21 12:54:45 +01:00
Steven R. Loomis
38b1fec843
Merge pull request #13236 from keymanapp/feat/developer/13175-abnf-on-compileepic-ldml 2025-02-20 23:46:11 -06:00
Eberhard Beilharz
2b9ba6c96b
chore(linux): deal with default values
When `_convert_parameters_to_build_args` sets the defaults, our previous
implementation to check for default values no longer works.
2025-02-20 09:58:39 +01:00
Eberhard Beilharz
7d5dce1f5f
chore(linux): initialize variables with default values if not set
This changes `convert_parameters_to_build_args` to set the variable to
the default values unless set already. Then we don't have to deal with
unset variables and setting default values when we use the variables.
2025-02-20 08:51:34 +01:00
Steven R. Loomis
fc3abe6b6a chore(resources,core): update BNF and tests for escaping chars
- late breaking update from CLDR, update with in-progress fixes to escaping chars slated for v47

Fixes: #13175
2025-02-19 16:55:59 -06:00
Steven R. Loomis
0bf964ddd4
Merge branch 'master' into feat/developer/13175-abnf-on-compileepic-ldml 2025-02-19 13:38:53 -06:00
Eberhard Beilharz
d9992ec087
chore(linux): allow to build and use Debian docker image 2025-02-19 12:04:25 +01:00
Marc Durdin
cda39a80f1
Merge branch 'master' into chore/merge-beta-to-master-B18S1 2025-02-19 12:41:21 +07:00
Steven R. Loomis
4da51a9191
Merge branch 'master' into feat/developer/13175-abnf-on-compileepic-ldml 2025-02-18 10:23:47 -06:00
Eberhard Beilharz
acf74f02ba
fix(linux): allow to specify ubuntu version 2025-02-14 23:09:40 +01:00
Steven R. Loomis
8e1aa5cdfb chore(resources): ldml: update ABNF
- update with an errata from ABNF
- Update with patch from https://unicode-org.atlassian.net/browse/CLDR-18319
2025-02-14 15:52:51 -06:00
Eberhard Beilharz
448bf9171a
fix(linux): update location of lcov.deb for Jammy
This changes the download URL for the lcov package to the
official Ubuntu archive, after it was no longer available at
kernel.org.
2025-02-14 22:50:51 +01:00
Steven R. Loomis
98b1fac598 chore(resources): import ABNF from CLDR v47
- update fetch-latest-cldr.sh - so next time, abnf will get updated.
- note, this is abnf from 47 but we’re not doing the full 47 import yet because it's not released.

Fixes: feat(developer): utilize CLDR ABNF rules to validate transforms #13175
2025-02-14 12:27:15 -06:00
Marc Durdin
901edd63b9 chore: Revert "chore: Revert "Merge branch 'master' into beta""
This reverts commit d6e7c0b9d1.
2025-02-14 08:44:32 +07:00
Marc Durdin
d6e7c0b9d1 chore: Revert "Merge branch 'master' into beta"
This reverts commit fae3932e15, reversing
changes made to 793daddb48.
2025-02-14 07:45:28 +07:00
Marc Durdin
fae3932e15
Merge branch 'master' into beta 2025-02-13 19:51:57 +07:00
Eberhard Beilharz
07d46b691b
Merge pull request #13202 from keymanapp/chore/linux/remove-focal
chore(linux): remove support of Ubuntu 20.04 Focal
2025-02-12 17:45:18 +01:00
Eberhard Beilharz
ef824dcfa6
chore(linux): update minimum version 2025-02-12 11:47:52 +01:00
Eberhard Beilharz
29c46bcfe2
chore(linux): update minimum version 2025-02-12 11:32:37 +01:00
Marc Durdin
342f216291 chore: increment to alpha 19.0 2025-02-11 14:14:15 +07:00
Marc Durdin
b2fbfaf8cf fix: use tier and version from branch when merging history from another branch
Fixes: #13138
2025-02-10 15:45:34 +07:00
Steven R. Loomis
4f6c34de8c
Merge pull request #13099 from keymanapp/feat/developer/12749-ldml-local-import-workaround
chore(developer,core,resources): LDML v46 update and remove workaround for import base
2025-01-31 11:16:12 -06:00
Steven R. Loomis
2c32fb7903 chore(resources, developer,core): CLDR 46 and workaround
Fixes: #11307
- import from CLDR 46, mostly unchanged

Fixes: #12749
- workaround LDML DTD bug CLDR-18138 where base= does not imply base=cldr
2025-01-30 15:41:34 -06:00
Marc Durdin
bc7cded1f9 chore: push the branch when creating PR 2025-01-30 14:24:00 +07:00
Marc Durdin
48ac072598 fix(common): remove -b master from PR creation in version history writer
Fixes: #13078
2025-01-30 14:22:03 +07:00
Eberhard Beilharz
0177abf9a6
Merge pull request #13008 from keymanapp/chore/linux/docker
fix(linux): correct permissions and paths in Linux docker image
2025-01-24 17:51:16 +01:00
Marc Durdin
825250bbe1 fix: use correct path for resources/build/version
Fixes: #12915
2025-01-24 12:14:43 +07:00
Eberhard Beilharz
e6adf379f0
chore(linux): docker-build: fix Linux docker image
This change fixes two issues in the Linux docker image that showed up
when running tests:
- some directories had wrong permissions
- we have to build keyman-system-service in a docker-specific directory
  as well so that the location of the service executable can be found
  when running the tests in docker
2025-01-23 20:48:53 +01:00
Eberhard Beilharz
606e6af365
chore(linux): update package index before installing packages
We need to run `apt-get update` first before trying to install packages.
We did update the package index when we built the base image, but that
might have been some time ago so that the index is now outdated.
2025-01-22 15:47:48 +01:00
Eberhard Beilharz
b84b651590
Merge pull request #11397 from keymanapp/chore/linux/cicontainer
chore: Add docker images for building the different platforms
2025-01-16 12:31:29 +01:00
Marc Durdin
4bc3b78072 chore: use GitHub PR titles when writing HISTORY.md 2025-01-16 09:14:21 +07:00
Joshua Horton
d3a5b21ec9
Merge pull request #12878 from keymanapp/chore/update-macOS-env-shell
chore: update macOS environment-variable shell script
2025-01-16 08:13:13 +07:00
Joshua Horton
da5152f509
Merge pull request #12296 from keymanapp/feat/builder-autocomplete
feat: add builder tab-completion script
2025-01-15 11:46:41 +07:00
Joshua Horton
78e4d6e386 chore: adjust for variable homebrew prefix 2025-01-15 08:28:48 +07:00
Joshua Horton
91289b6183 feat: add git-repo detection on tab-completer 2025-01-14 12:02:12 +07:00
Joshua Horton
1ffae64dfb chore: apply suggestions from code review 2025-01-14 10:40:38 +07:00
Marc Durdin
dad1df3194 fix(developer): ensure license parameter is required and add tests
Some additional items arose from this:

* Adds a command-line-tests unit test which does some basic sanity tests
  on `kmc`.
* Cleans up some of the error reporting infrastructure in `kmc` to
  ensure that thrown errors are handled better.
* Removes redundant subshell from `builder_run_action`.

Fixes: #12846
2025-01-13 15:10:31 +07:00
Joshua Horton
09eb489db2 chore: update macOS environment-variable shell script 2025-01-13 11:43:36 +07:00
Eberhard Beilharz
5176dd8a0e
refactor(linux): address code review comments
Also some cleanup.
2025-01-09 16:55:54 +01:00
Eberhard Beilharz
3251168e6b
chore(linux): address code review comments 2025-01-08 18:40:22 +01:00
Eberhard Beilharz
d425f2a1a4
chore(linux): use standard header 2025-01-08 18:40:08 +01:00
Eberhard Beilharz
93caf9b782
chore(linux): change from SIL International to SIL Global 2025-01-08 12:42:05 +01:00
Eberhard Beilharz
0df5992102
chore(linux): Merge branch 'master' into chore/linux/cicontainer 2025-01-08 12:39:10 +01:00
Eberhard Beilharz
7fd16dc93f
chore(linux): improve help for build.sh 2025-01-08 12:34:53 +01:00
Joshua Horton
7ebad957b9 fix: now autocompletes default options 2025-01-08 10:03:44 +07:00
Joshua Horton
ee77d240be feat: macOS ZSH support 2025-01-08 09:55:40 +07:00
Joshua Horton
9dfe83f3cf docs: for + suffix cleanup 2025-01-08 09:18:50 +07:00
Joshua Horton
73268f8d7f Merge branch 'master' into feat/builder-autocomplete 2025-01-08 09:15:50 +07:00
Eberhard Beilharz
afa47e08ec
Update resources/shellHelperFunctions.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-12-06 09:09:24 +01:00
Eberhard Beilharz
fbc3790043 chore(core): wait for nvm use to finish
This solves the underlying problem of builds not working on my machine.
Seems the environment isn't fully set after calling `nvm use`, so we have
to either `sleep 1` or wait for the process to end (which this change
does).
2024-12-05 11:03:01 +01:00