Commit graph

509 commits

Author SHA1 Message Date
Eberhard Beilharz
2dfec17102
chore(linux): Trigger GHA packaging for stable builds
(cherry picked from commit 3b3fef0e96)
2024-05-21 17:04:14 +02:00
Darcy Wong
c9cbc851b7
Merge pull request #11399 from keymanapp/chore/common/min-ver-sh
chore(common): Auto-generate minimum-versions.md from min-ver.sh
2024-05-17 11:22:25 +07:00
Joshua Horton
d6ea20f520
Merge pull request #11319 from keymanapp/chore/web/consistent-npm-types
chore(web): updates most @types/node dependencies, makes them consistent 🏃
2024-05-15 14:10:35 +07:00
Marc Durdin
1643c1d424 chore: Merge branch 'master' into chore/merge-beta-into-master 2024-05-15 10:15:12 +07:00
Marc Durdin
9c273cfbc9 chore: stable-17.0 2024-05-15 10:08:03 +07:00
Marc Durdin
b7c3d65702 chore(common): update builder docs 2024-05-13 15:20:43 +07:00
Darcy Wong
a30807e3aa chore(common): Move template to /docs/ too 2024-05-13 11:36:23 +07:00
Darcy Wong
439dbeb7d6 chore(common): Move minimum-versions.md to /docs/ 2024-05-13 11:30:26 +07:00
Darcy Wong
947e931e55 chore(common): Rename min-ver.sh to publish-minimum-versions.sh 2024-05-13 10:23:01 +07:00
Marc Durdin
d7cafae5ed feat(common): improve builder parameter passing for child and dep builds
Fixes #11408.
Fixes #11394.
2024-05-09 13:54:17 +07:00
Darcy Wong
90a37de5fe fix: generate table and append to minimum-versions.md.in 2024-05-09 08:34:42 +07:00
Darcy Wong
15a0e36372 chore(common): Tweak for loop 2024-05-09 08:30:16 +07:00
Darcy Wong
326090b561 chore(common): Generate min-ver.md 2024-05-09 08:30:15 +07:00
Darcy Wong
134ecbe608 chore(common): List documentation to update 2024-05-09 08:30:15 +07:00
Darcy Wong
f799adc36c chore(common): Add minimum-versions.md 2024-05-09 08:30:15 +07:00
Eberhard Beilharz
4142187f21
chore(common): Rename variable 2024-05-08 10:56:20 +02:00
Eberhard Beilharz
096a011faf
chore(common): Apply suggestion from code review 2024-05-08 10:55:08 +02:00
Eberhard Beilharz
d00ef82369
chore(common): Apply suggestions from code review 2024-05-07 16:05:49 +02:00
Eberhard Beilharz
29952f272d
Update resources/build/minimum-versions.inc.sh
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2024-05-07 15:57:41 +02:00
Joshua A. Horton
01d0019d86 chore(web): removes package.json references to old @npm/types versions 2024-05-07 14:38:41 +07:00
Eberhard Beilharz
6f7acf8ace
chore(common): Add minimum-versions.inc.sh
This file contains the minimal required versions as discussed for
Keyman 18.

Implements #11371.
2024-05-06 17:19:19 +02:00
Marc Durdin
29f6204e45 chore(common): rename build-utils.md to builder.md 2024-05-03 05:58:06 +07: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
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
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
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
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
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
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
Eberhard Beilharz
a5f2d5fc96
fix(linux): Fix packaging GHA
For some reason with some PR builds we got an incorrect base ref. This
change makes better use of the information that GitHub provides and so
should work around the problem.
2023-11-16 22:15:25 +01:00
Eberhard Beilharz
c3750a6edc
fix(linux): Improve triggering of packaging GHA
We now pass the SHA for the base ref. Hopefully this will fix the failures
with API verification.
2023-11-14 18:50:15 +01:00