Commit graph

1286 commits

Author SHA1 Message Date
Joshua A. Horton
268af84710 change(web): call playwright install in project-specific configure step 2024-05-15 12:26:17 +07:00
Joshua A. Horton
76984e83d6 chore(web): removes playwright install-deps command from std script 2024-05-10 09:54:33 +07:00
Joshua A. Horton
d6fb99f0c4 chore(web): adds extra call needed on Linux BAs 2024-05-10 09:20:00 +07:00
Joshua A. Horton
9996cd5ae3 chore(web): configure now includes setup of testing environment 2024-05-09 09:18:03 +07:00
Joshua A. Horton
01d0019d86 chore(web): removes package.json references to old @npm/types versions 2024-05-07 14:38:41 +07:00
Marc Durdin
c997965d21
Merge pull request #11329 from keymanapp/chore/common/11324-this-script-path
chore(common): maintenance on build scripts - cd
2024-05-04 09:15:58 +10:00
Marc Durdin
29f6204e45 chore(common): rename build-utils.md to builder.md 2024-05-03 05:58:06 +07:00
Eberhard Beilharz
51297f538a
fix(common): Fix colorization of help output of builder script
This fixes the use of colors in the help output when `builder_term` is
used inside of `builder_describe` (e.g. `web/test.sh --help`). Previously
the escape sequences were not interpreted but directly output.
2024-05-02 15:23:20 +02:00
Marc Durdin
41af90053e chore(common): reset KEYMAN_ROOT if not readonly
This prevents issues where Windows-style path pollutes path strings
with $KEYMAN_ROOT variable. It typically will only be readonly if we are
setting the variable in our own scripts
2024-05-02 15:54:34 +07:00
Marc Durdin
58db259fd3 chore(common): typo in test 2024-05-02 15:54:34 +07:00
Marc Durdin
c921881a19 chore(common): typo in include 2024-05-02 15:54:33 +07:00
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Marc Durdin
f119682cf0
Merge branch 'master' into chore/a18s1-merge-beta-into-master 2024-05-02 14:48:58 +10:00
Marc Durdin
f41d1ad178
Merge pull request #11302 from keymanapp/chore/ios/10671-xcode-15-build
chore(ios,mac): support build on Apple Silicon using Xcode 15.3
2024-05-02 14:31:08 +10:00
sgschantz
e7b2855baa chore(ios): change from set -eu to set -e
Ignore unbound variables for now to get past script failure
2024-04-30 10:09:18 +07:00
sgschantz
fbd4367f2b chore(ios): create script to upload sentry debug symbol file
Wrap call to script with xcode-wrap.sh to retain env
2024-04-30 08:04:43 +07:00
sgschantz
ec64a98562 chore(ios): modify version scripts
Wrap scripts for FirstVoices so that environment variables are retained
2024-04-29 15:52:00 +07:00
Darcy Wong
b1409dd5d1 fix(common): Add retries to curl for downloads.keyman.com query 2024-04-29 10:04:50 +07:00
Darcy Wong
aab6c1c6fb fix(common): Retry curl downloads up to 5 times 2024-04-29 09:49:03 +07:00
sgschantz
00e850c557 add script to update version string in settings 2024-04-23 13:24:40 +07:00
sgschantz
28806614a5 tagged and untagged versions of set-bundle-versions script 2024-04-23 12:32:28 +07:00
Darcy Wong
0dba365db8 chore(common): Set fetch-latest-cldr.sh executable 2024-04-23 11:08:15 +07:00
sgschantz
534741aff6 create separate script for setting the version of the bundle 2024-04-23 10:10:13 +07:00
sgschantz
985d49b856 script to call another script without cleaning environment 2024-04-22 15:28:10 +07:00
Steven R. Loomis
f080f52c0e chore(resources): data update from CLDR v45
"sha": "dd5776f650183c9172abe2a57313ed41619d41fb",
  "description": "release-45",
2024-04-19 17:26:11 -05:00
Steven R. Loomis
322e987d5d chore(resources): prepare scripts for updating CLDR from latest v45
- make the updater script a little clearer
- double check the correct version of CLDR is being imported
- prepare to support multiple CLDR version streams
2024-04-19 17:25:21 -05:00
Steven R. Loomis
33da6d0f66 Merge fix/developer/11233-ne-plus-ultra into chore/resources/bn-for-demo 2024-04-19 16:39:55 -05:00
sgschantz
ad6095ab68 remove openjdk 8 dependency for ios builds 2024-04-19 14:27:03 +07:00
Marc Durdin
db514e0dc5 fix(common): update emoji stripping for Unicode 15.1
Fixes #11220.

Replaces the sed script for matching emoji in ios prepRelease with a
tiny node project that uses emoji-regex package, to reduce future
maintenance.

Also strips lingering emoji and :xxx: emoji shortcut strings from
HISTORY.md. Note that :xxx: are not stripped programatically at this
time.
2024-04-18 09:05:30 +07:00
Marc Durdin
02812af97f fix(common): specify title explicitly when opening PR with hub
Fixes #11125.

Discussion in #11125; looks like it may be due to a race in hub?
2024-04-05 09:20:23 +07:00
Steven R. Loomis
096ac149a5 - updated azerty 2024-03-22 14:22:58 -05:00
Steven R. Loomis
35209c2c0b chore(resources): update to bn ldml keyboard 2024-03-20 19:38:30 -05:00
Marc Durdin
92899752c6 fix(common): add unit test for --debug flag for builder
Fixes #10957. The builder --debug flag appears to be passed correctly,
according to this test. This is a good test to keep, so won't remove it,
but there is something else going on in the base test.
2024-03-11 05:44:45 -05:00
jahorton
6d9b2cc0fe fix(common): missing script exec bit 2024-03-06 09:22:52 +07:00
Steven R. Loomis
8c86aff8dd
Merge branch 'beta' into chore/resources/10900-ldml-45 2024-03-04 08:25:38 -06:00
Steven R. Loomis
6d2ae221af chore(core,developer,resources): ldml update out of techpreview 🙀
- further fixes
2024-03-04 08:21:45 -06:00
Steven R. Loomis
a0a57289f0 chore(resources): ldml update out of techpreview 🙀
- update to cldr 40fa7fd5b074a203581d04ca0c0b004ab9aa491b (main) - alpha1+
- includes patch for bn

Fixes: #10900
2024-03-02 22:40:38 -06:00
Marc Durdin
d1aef64460 chore(developer): deploy compiler messages to help site
Fixes #10889.

This involved a bit more refactoring to help-keyman-com.sh in order to
allow for multiple paths to be uploaded.

I opted _not_ to move the entire Keyman Developer documentation into
this repository, partly because a number of pages are still in PHP
rather than Markdown.
2024-03-01 11:01:47 +07:00
Steven R. Loomis
f4328866b7 fix(resources): patch to bn.xml data 2024-02-28 17:22:30 -06:00
Steven R. Loomis
828369c8a9 fix(resources): support xmlns on keyboard3
- add xmlns to schema manually

For: chore(developer): support xmlns on keyboard3 files 🙀  #10803
2024-02-27 17:58:21 -06:00
Steven R. Loomis
db32e409db chore(resources): update to latest LDML
- maybe last 'techpreview' update

Unblocks: chore(developer): support xmlns on keyboard3 files 🙀  #10803
Unblocks: chore(developer): rename unicodeSet to uset 🙀  #10657

For: #10803
2024-02-27 17:23:53 -06:00
Marc Durdin
99e5b1951e feat(developer): publish api documentation to help.keyman.com
Relates to #10207.
2024-02-26 13:48:32 +07:00
Marc Durdin
d7411ec4c4 fix(developer): version string matches for sentry
Fixes two things:
* $VERSION_GIT_TAG was being misinterpreted by mkver as
  $VERSION + "_GIT_TAG". This has been addressed by making the $VERSION
  match the last one in the replaceVersionStrings_Mkver function, and
  also have moved to using the newer $VersionGitTag and $Environment
  vartiables instead.
* The 'dist' property was being set in sentry-cli sourcemap uploads,
  though we never set the dist prop when we initialize sentry.
2024-02-22 11:48:56 +07:00
Marc Durdin
2ce3bb4fbd chore: add from and to params to increment-version 2024-02-15 13:12:56 +07:00
Marc Durdin
fdc2cd438e chore: workaround release inc build block
Fixes #10721.

This arose partly because of the change from release- to release@ in at
17.0.30-alpha (triggered by sentry req). Will require a corresponding
patch to CI script to pass the --from and --to parameters.
2024-02-15 12:51:02 +07:00
Eberhard Beilharz
ba2db9fd58
chore(linux): Don't set VERSION_TAG to …-local in .deb packages
Previously we didn't detect that we were building a .deb package on
Launchpad or a Debian server, so we set VERSION_TAG to end in `-local`.
This change now checks the `KEYMAN_PKG_BUILD` environment variable which
will be set during .deb package builds (set in `debian/rules`). The
downside of this solution is that now `-local` also gets omitted if
we build a .deb package on a local dev machine, but that probably doesn't
happen too often, and even less often with modified source code. The
majority of builds where we want `-local` are local builds that get
installed locally, and those cases are covered by this change. And what
is more important is that for release builds we no longer append `-local`.
2024-02-08 16:45:07 +01:00
Marc Durdin
09e971d3ca chore: tweak script for stability 2024-02-01 16:16:19 +07:00
Marc Durdin
7c8003a0f7 chore(common): cancel earlier builds when new test builds triggered
Fixes #10590.

Cancels existing running or queued test builds on TeamCity when a new
build is started for the same 'branch' (aka branch or PR).

Does not touch release builds or other projects -- only touches
recognized test build configurations.
2024-02-01 16:02:23 +07:00
Marc Durdin
ef798afd57 chore(developer): add unicode-license.txt for ldml keyboards data
Fixes #10491.

Called unicode-license.txt in order to disambiguate.
2024-01-31 09:28:42 +07:00