Commit graph

469 commits

Author SHA1 Message Date
Eberhard Beilharz
cb9b3ead07
Merge pull request #4582 from keymanapp/fix/linux/4579-version
fix(linux): Improve version number
2021-03-04 11:01:49 +01:00
jahorton
51f9bdc9a7 docs(ios): about the ios l10n updating process 2021-03-04 10:26:03 +07:00
Eberhard Beilharz
33bf5750b0
fix(linux): Improve version number
This change modifies the reported version number for km-config:
if km-config is installed from a debian package, the package
version will be output as well, e.g.:
`km-config version 14.0.252-beta (package version 14.0.252-1+bionic1)`

Otherwise the output will be identical to before:
`km-config version 14.0.252-beta-local`.

This change also modifies the script that sets the version number so
that builds on Jenkins are now detected in addition to TC.

This fixes #4579.
2021-03-03 20:01:34 +01:00
Darcy Wong
b10ae8b0d4 fix(common/resources): Fix help.keyman.com path for CI 2021-03-02 08:41:44 +07:00
Marc Durdin
000867e89b chore(common): allow forced version increment
Allows us to manually run a version increment, for example if there is
a problem with a release build such as running out of space on the
download server.
2021-02-25 06:28:32 +11:00
Darcy Wong
cf758452c0 fix(common): Set help-keyman.com.sh executable 2021-02-24 09:35:40 +07:00
Marc Durdin
380832cda8
Merge pull request #4486 from keymanapp/fix/windows/4484-tsysinfox64-not-signed
fix(windows): tsysinfox64 not signed
2021-02-12 15:47:19 +11:00
Marc Durdin
42511c442e chore: whitespace 2021-02-12 15:44:07 +11:00
Darcy Wong
beeec37195
Merge pull request #4470 from keymanapp/chore/ios/check-in-help
change(ios/app): Generate offline help from markdown
2021-02-12 11:35:42 +07:00
Marc Durdin
09ace08f7e fix(windows): tsysinfox64 not signed
Fixes #4484.

tsysinfox64 was being signed, but too late in the build
process as it is embedded into tsysinfo.exe. There was
code to sign it earlier, but that was being skipped due
to a missing build flag. This has been a problem for
some time.
2021-02-12 14:20:41 +11:00
Joshua Horton
b5535c52e4
Merge pull request #4474 from keymanapp/fix/common/core/web/mock-construction-caret-index-zero
fix(common/core/web): mock construction with caret at index 0
2021-02-11 15:48:52 +07:00
Marc Durdin
afdbf52f51 chore: add common/core/web to trigger defs 2021-02-11 18:57:59 +11:00
Marc Durdin
af860002d4
Merge pull request #4472 from keymanapp/fix/common/serial-comment-creation
fix(common): create GitHub comments serially
2021-02-11 16:17:05 +11:00
Marc Durdin
14d6cc0fab chore: add logging 2021-02-11 14:42:48 +11:00
Marc Durdin
daa07c1b99 chore: add timeout as well 2021-02-11 14:40:18 +11:00
Marc Durdin
9975e8a215 fix(common): create GitHub comments serially 2021-02-11 14:27:06 +11:00
Darcy Wong
b9851c9136 change(ios): Update build-help.sh
* Generate offline help from markdown
* Update bundle to use index.html
2021-02-11 08:46:38 +07:00
Darcy Wong
78f6be1c64 fix(common/resources): Fix help.keyman.com path for commit 2021-02-11 06:52:33 +07:00
Darcy Wong
02f2e3e5ff fix(common/resources): Just use master branch for help.keyman.com 2021-02-10 06:55:20 +07:00
Darcy Wong
81eaadce58 fix(common): Use long --help parameter 2021-02-09 17:15:17 +07:00
Darcy Wong
32420f832d
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-02-09 17:10:19 +07:00
Darcy Wong
6065e36fa4 chore(common): Add note to build windows help first 2021-02-09 11:56:40 +07:00
Darcy Wong
1fdaf59f6c fix(common): Use platform parameter instead of environment var 2021-02-09 11:49:00 +07:00
Darcy Wong
56b4b4c23b change(common): Update help-keyman-com.sh for other platforms 2021-02-08 09:51:58 +07:00
Darcy Wong
90bb475bcd chore(common): Move help-keyman-com.sh for refactoring 2021-02-08 08:37:52 +07:00
Eberhard Beilharz
9bcfcc7626
chore(linux): Pass second tag parameter to Jenkins build
This is necessary to be able to distinguish between a newly triggered
tagged build and a retriggered tagged build. The first tag param gets
saved between builds, but then we need a second parameter that doesn't
get saved that tells us if this build is a retriggered one.
2021-02-01 12:29:31 +01:00
Darcy Wong
bc85e08ba4 chore(android): Address review comments
* Remove "+" icon from display language list
* Restart the app on changing display language
* Document updating DisplayLanguages
* Misc code cleanup
2021-01-19 10:44:50 +07:00
Darcy Wong
65d6227cec chore: Add note about Crowdin API limitation with custom languages 2021-01-15 07:06:38 +07:00
Eberhard Beilharz
7b0a1caac1
chore(linux): pass tag to Jenkins build (#4160)
This change is part of a fix for #4160 so that we build the tag
instead of the next version.

(cherry picked from PRs #4215 and #4220)
2021-01-07 18:20:52 +01:00
Marc Durdin
6ec78ac4c1 feat(common): annotate PRs with build links
Fixes #4201.

This adds a comment to pull requests with information about which build
a particular PR will be landing in, based on the HISTORY.md we have
already updated.
2020-12-22 14:42:26 +11:00
Marc Durdin
bcb63ed232 fix(common): increment version needs to check base
The version history collector got confused because of commits
on two branches and needs to differentiate when asking for
the latest PR on a branch.
2020-12-16 06:19:56 +11:00
Marc Durdin
85fd8a53d9 chore: fix trigger for beta branches 2020-12-15 08:14:57 +11:00
Marc Durdin
4cc830a918 chore: re-trigger beta 2020-12-15 08:03:03 +11:00
Marc Durdin
af4a04ff47 fix: build trigger definitions 2020-12-15 07:48:11 +11:00
Marc Durdin
b888a6075b fix(common): improve increment-version robustness
Fixes #4061.

Four things:

1. Reorder the script steps so that builds are triggered before the PR
   is created. This should not really be necessary, but I am seeing some
   evidence that TeamCity is not respecting the commit sha we request to
   build. (This arose with 14.0.194 where a build agent became
   unavailable during a build and TC cancelled and restarted the build,
   but from a later revision... which this particular fix may not help,
   I guess...)
2. Add debug logging so we can see exactly which commit sha that we
   send to TeamCity
3. Handle errors in version increment by aborting the script with an
   error.
4. Add a -f force mode which we can use to trigger a build even if no
   changes are detected. This will need a corresponding patch in TC.
2020-12-03 10:24:19 +11:00
Darcy Wong
7089081433 chore(common/resources): Clean up README 2020-12-02 11:21:06 +07:00
Marc Durdin
fb36fc3f69 chore(common): remove --first-parent when searching for PRs
Instead of just reporting on --first-parent, now lists all merges that
are in the log, which means we get some non-PR merges but that's ok. At
least we get all of them.

This was most visible with chained PRs which were merged bottom-up.
2020-11-26 09:49:21 +11:00
Marc Durdin
fd1b200c02 chore(common): improve build README.md
The background reason for this is to test a fix to the web build, where
s.keyman.com resources were not being updated since we refactored the
build configurations (sadly, the build did not die when it should have).
2020-11-04 08:54:28 +11:00
dependabot[bot]
f63831374f
chore(deps): bump @actions/core in /resources/build/version
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.2 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 17:29:43 +00:00
dependabot[bot]
3fc56a0ee5
chore(deps): bump node-fetch in /resources/build/version
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-11 18:02:30 +00:00
Eberhard Beilharz
135121ed68
docs(common): Clarify l10n readme
Up- and download from Crowdin now happen automatically on GitHub
(at least once it's enabled again).
2020-08-21 11:41:36 +02:00
Eberhard Beilharz
11f018366b
feat(linux): Add i18n for Linux 2020-08-19 19:22:33 +02:00
Darcy Wong
709e43d45c fix(android): export all the VERSION vars 2020-08-06 11:40:21 +07:00
Darcy Wong
fe09ac73fe fix(android/app): Fix environment portion of app version string
When displaying the Info page of alpha builds from the Play Store, we noticed the version string displayed the wrong environment:
`14.0.X-alpha-local` (CI builds should have ended with `-alpha`).

It turns out  the `VERSION_` shell variables  from `build-utils.sh` aren't visible in `version.gradle` (though CI environment variables like `build_counter` are visible).

This PR:
* Exports the two VERSION strings needed in version.gradle
* Updates the Info page to simply display `BuildConfig.VERSION_NAME`
2020-08-06 10:34:26 +07:00
Marc Durdin
66a2d9b350 chore: unify crowdin.yml
This is groundwork for most likely using the Crowdin Github integration
and should simplify the management, I hope...
2020-07-29 10:21:51 +10:00
Marc Durdin
d085467001 feat(windows): Crowdin i18n groundwork 2020-07-27 15:09:30 +10:00
Darcy Wong
ef11647b5a feat(android): Use build-download-resources.sh for KMApro and FV apps
Follow-on to #3300

* Update the FV Android app to use the same build script to download its default keyboard package. (fv_all.kmp)
    * This means downloading fv_all.kmp is the only valid option for the build (remove option to copy/rebuild keyboards)
* Reduce the number of exports in the Bash scripts
* Also removes sil_euro_latin.kmp since the app will fallback to fv_all/sil_euro_latin (in a future PR)
2020-07-08 14:03:02 +07:00
Darcy Wong
4b153468f9 fix(android): Avoid build-utils.sh from getting called multiple times 2020-07-01 15:36:02 +07:00
Darcy
7150931dab fix(android): Address review comments 2020-07-01 11:50:31 +07:00
Darcy Wong
63857437d0 feat(android/resources): Split package download to resources/ scriipt 2020-06-30 16:11:20 +07:00