Commit graph

186 commits

Author SHA1 Message Date
Eberhard Beilharz
456096cb63
maint(linux): remove Oracular, add Questing 🍒
Remove EOL Ubuntu 24.10 Oracular, add Ubuntu 25.10 Questing.

Cherry-pick-of: #14319
Build-bot: skip
Test-bot: skip
2025-09-18 10:10:15 +02:00
Eberhard Beilharz
d1de3c5f25
maint(linux): update to new version of gha-ubuntu-packaging 🍒
Version 2.0.1 of gha-ubuntu-packaging retries 5 times to install the
packages, so hopefully this will improve the reliability.

Cherry-pick-of: #14089
Cherry-pick-of: #14094
Test-bot: skip
2025-06-02 15:40:59 +02:00
Eberhard Beilharz
1b24e57c7d
chore(linux): add comment explaining filename
Addresses code review comment.
2025-03-19 16:10:06 +01:00
Eberhard Beilharz
2b6cf97af8
chore(linux): rename "Debian packaging" to "Ubuntu packaging"
So far the GHA was called "Ubuntu packaging" but the status reported as
"Debian packaging" which was confusing. This change now uses "Ubuntu
packaging" in both places.

We still keep the filename `deb-packaging.yml` because we're packaging
the .deb format, and because it's shorter.

Fixes: #13497
2025-03-17 17:52:18 +01:00
Eberhard Beilharz
7dfeaa7099
Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-07 17:08:31 +01:00
Eberhard Beilharz
1720328076
chore(linux): add link to fcitx5 issues to bug issue template
Per suggestion of fcitx5 maintainer this adds a link to fcitx5 issues
to the bug issue template.

See https://github.com/fcitx/fcitx5-keyman/issues/10#issuecomment-2704620889.
2025-03-07 10:42:18 +01:00
Marc Durdin
4839290921 chore: use sha instead of version for security 2025-02-27 17:40:51 +01:00
Marc Durdin
93d4828595 chore: add a workflow to automatically close linked issues 2025-02-27 17:40:50 +01:00
Eberhard Beilharz
b76bfc9b8a
fix(linux): add missing dependency for uploading to llso 2025-02-19 09:03:48 +01: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
de79efb8fb
chore(linux): update actions/cache to non-deprecated version
Our previous version of actions/cache will stop working at the end of
February. This change updates to the latest version.

https://github.com/actions/cache/discussions/1510
2025-02-11 19:56:19 +01:00
Eberhard Beilharz
af3756dd92
chore(linux): remove support of Ubuntu 20.04 Focal
Ubuntu 20.04 Focal will reach EOL in April and GitHub removes the
runner images, so we no longer will be able to build packages for Focal.
2025-02-11 19:24:22 +01:00
Eberhard Beilharz
34e314fdc9
chore(linux): add support for Ubuntu 25.04 Plucky Puffin
This change adds support for Plucky when building for llso/pso.
#12614 already added support when building on Launchpad.
2024-11-14 19:31:53 +01:00
Eberhard Beilharz
044256f291
chore(linux): improve output if dpkg-gensymbols fails and run other tests 2024-10-10 11:59:19 +02:00
Eberhard Beilharz
c4cebd124b
chore(linux): Improve output of API Verification
- remove useless branch name from name (this is always `master` due to
  the way the workflow gets triggered)
- add PR# to step summary so that it's visible on the Summary page
- fix PR check message to say "API verification" instead of "Package build"
2024-10-09 20:32:55 +02:00
Eberhard Beilharz
14fff2d0a4
chore(linux): display branch name with API verification
This change adds the branch name to the API verification workflow so that
it's easier to see which run belongs to which PR or branch build.
2024-09-27 12:54:16 +02:00
Eberhard Beilharz
a9b9c4d016
refactor(web): move common/models to web/src/engine/predictive-text
Fixes: #12133
2024-09-10 17:45:22 +02:00
Eberhard Beilharz
91bbc250a8
refactor(web): move model/templates to web/src/engine/predictive/text
Part-of: #12133
2024-09-10 17:10:12 +02:00
Eberhard Beilharz
c3e587193e
refactor(web): move model/types to web/types
Part-of: #12133
2024-09-09 19:59:01 +02:00
Eberhard Beilharz
484f596239
chore(linux): remove Ubuntu Mantic, add Oracular
Ubuntu 23.10 Mantic is EOL, Ubuntu 24.10 Oracular will be the next
release.
2024-07-24 09:49:57 +02:00
Eberhard Beilharz
c562d889a4
fix(linux): remove debug output and re-enable failures 2024-06-05 09:27:05 +02:00
Eberhard Beilharz
b413b3e0dd
fix(linux): specify path with package name 2024-06-05 08:03:21 +02:00
Eberhard Beilharz
9855bb3941
fix(linux): try a different way 2024-06-04 19:48:25 +02:00
Eberhard Beilharz
7abbaac740
fix(linux): more debug output 2024-06-04 17:21:16 +02:00
Eberhard Beilharz
410d1ee96a
fix(linux): add debug output 2024-06-03 17:14:30 +02:00
Eberhard Beilharz
aca8bf1aaf
fix(linux): match digit in package filename
The previous wildcard was too broad and matched on `libkeymancore-dev`
which is missing the API version number in the filename. This change
requires a digit after the name.
2024-06-03 16:51:09 +02:00
Eberhard Beilharz
7c2adf60c2
fix(linux): don't escape wildcard for package filename 2024-06-03 14:56:44 +02:00
Eberhard Beilharz
310ded91bd
fix(linux): include api version as part of package filename
The package name contains the API version. This change allows for that.
2024-06-03 13:09:50 +02:00
Eberhard Beilharz
74c2b4c287
fix(linux): remove debug code 2024-06-03 13:08:12 +02:00
Eberhard Beilharz
e947dbc519
fix(linux): restore of artifacts still needs to be in same job
This change reverts #11659 and moves setting the environment and
restoring the artifacts in the same job as the actual API verification.
It keeps checking out the git files to a separate directory.
2024-06-03 12:07:16 +02:00
Eberhard Beilharz
adf2c9b82f
fix(linux): paths in uses: can't use variables 2024-06-03 11:16:36 +02:00
Eberhard Beilharz
a858f63c8e
fix(linux): move environment to separate job and checkout to separate dir
In #11571 we tried to fix the failing API verification by moving
setting up the environment and restoring artifacts to the same job
as the api verification itself. However, this doesn't help and the
`artifacts` subdirectory still vanishes, caused by
https://github.com/actions/checkout/issues/1201.

This change reverts the change introduced in #11571 and changes the
git checkout to end in a separate subdirectory.

Reverts: #11571
2024-06-03 11:10:46 +02:00
Eberhard Beilharz
1ec7604f61
chore(linux): More debugging of API verification 2024-05-31 21:15:56 +02:00
Eberhard Beilharz
4d4b10fc95
fix(linux): Don't clean workdir after checkout in API verification
Set the option for the Checkout step to not  run `git clean` after checkout
because that gets rid of the artifacts we previously restored.
2024-05-28 16:32:05 +02:00
Eberhard Beilharz
32bc9e7833
fix(linux): Restore artifacts for API verification in the correct job
Previously we had an extra job where we setup the environment and
restored the artifacts. However, the artifacts then were no longer
available in the next job, `api_verification`. Instead of restoring
the artifacts a second time this change squashes the two jobs. This will
hopefully fix the API verification.
2024-05-27 19:18:11 +02:00
Eberhard Beilharz
710567590f
Merge pull request #11536 from keymanapp/fix/linux/apiverification
chore(linux): Debugging API verification
2024-05-27 15:31:57 +02:00
Marc Durdin
b1643bd6cd
Merge pull request #11565 from keymanapp/chore/run-sourcepackage-job-on-24.04
chore(linux): run deb-package sourcepackage job on Ubuntu 24.04
2024-05-27 20:25:06 +07:00
Eberhard Beilharz
8ae5090e6c
fix(linux): Ignore API verification check until it is working
This temporary change will always set the result to SUCCESS so as not
to block PRs. Once we get the API verification working we should undo
these changes again.
2024-05-27 15:06:40 +02:00
Marc Durdin
1c5d0c58e6 chore(linux): run deb-package sourcepackage job on Ubuntu 24.04
Ubuntu 22.04 has meson 0.61; 24.04 has meson 1.3, so updated the
sourcepackage step in deb-packaging to 24.04 to meet min reqs.
2024-05-27 15:10:08 +07:00
Marc Durdin
8f81fd17e7
Merge branch 'master' into chore/common/labels 2024-05-25 05:41:18 +07:00
Eberhard Beilharz
7b753241b1
chore(linux): Debugging API verification
Something is still not right. It looks like it can't find the files it
is expecting. This change lists the files we have.
2024-05-24 19:12:08 +02:00
Eberhard Beilharz
6b2437e8a3
fix(linux): Properly use and pass run_id
The previous attempt where we set a environment variable for the
artifacts key resulted in a chicken/egg problem: we needed the environment
variable to be able to restore the cached artifacts, but we needed
the cached artifacts in order to be able to read the variables...

This change now properly uses run_id: in `deb-packaging.yml` we can
directly use `run_id` from the context. In `api-verification.yml` we get
it from the payload context.

Cf https://docs.github.com/en/webhooks/webhook-events-and-payloads#workflow_run
2024-05-24 16:14:52 +02:00
Marc Durdin
0404aa5db2 chore(common): update labels to include change, style
* Updates supported labels and documentation relating to `change` and
`style` commit types
* Adds `core/` label
* Reorders various lists alphabetically
2024-05-24 09:43:10 +07:00
Eberhard Beilharz
f95ee27288
fix(linux): Pass artifacts key to API verification GHA 2024-05-23 16:21:55 +02:00
Eberhard Beilharz
89d3027f73
fix(linux): Add missing variable to API verification GHA 2024-05-23 08:28:33 +02:00
Marc Durdin
53b583e009
Merge pull request #11492 from keymanapp/change/common/11212-remove-is-open-from-issue-template
change(common): remove `is:open` from issue templates
2024-05-23 08:42:26 +07:00
Eberhard Beilharz
81957750aa
Merge pull request #10637 from keymanapp/chore/linux/10626_apichecks
chore(linux): Move API verification to separate action
2024-05-21 19:03:36 +02:00
Marc Durdin
2e5015e885 change(common): remove is:open from issue templates
Where bugs have been fixed and closed, users tend to miss this if the
bug has not yet stable. So expanding the search to show all issues that
match by default, whether open or closed.

Fixes: #11212
2024-05-21 12:56:43 +07:00
Eberhard Beilharz
696a70d58d
chore(linux): Adjust distros for GHA 2024-05-02 12:07:05 +02:00
Eberhard Beilharz
414a120bb2
chore(linux): Move API verification to separate action
The new `api-verification` workflow runs after `deb-packaging`.

Implements #10626.
2024-04-23 15:10:36 +02:00