Commit Graph

66 Commits

Author SHA1 Message Date
Dan Smith
7eec52b0b8 Remove python3 test progress tracking
The share of python3-uncompliant drivers has dropped to such a small
fraction that I've forgotten to enforce that new drivers be added to
the matrix.

So, at this point, it's time to flip the whitelist to a blacklist and
just mark the drivers that haven't been tested. This removes the
matrix and generation script, content from the makesupported target,
and instructions from the PR template. It replaces those with a simple
list of drivers in tests/py3-untested-drivers.txt
2024-08-27 14:53:06 -07:00
Dan Smith
65ee680a4e Remove compat serial override from maintained drivers
Almost all the drivers in the tree now opt out of the byte-compat
behavior. The default has been flipped, so we can remove that from
all those drivers and remove it from the PR template so people don't
have to think about it anymore.
2024-06-17 17:07:47 -07:00
Dan Smith
75f95c3f1b Run driver tests on python 3.12 2024-04-12 18:10:22 -07:00
Dan Smith
ef783cb14b Drop support for Python <3.10 2024-04-12 18:10:22 -07:00
Dan Smith
4bcf5045cc Update PR guidelines 2024-04-09 14:38:00 -07:00
Dan Smith
316bffd32b Update PR guidelines for ticket linkage 2024-02-02 20:11:46 -08:00
Dan Smith
a1331151c7 Add a note to PR guidelines about commit messages 2023-11-22 08:29:21 -08:00
Dan Smith
6301c58554 Check for new instances of match_model()
This method should not be implemented by new drivers, so fail the
check if it looks like it is present.
2023-11-05 10:58:51 -08:00
Dan Smith
e20d445440 Update check_patch to look for similar drivers 2023-07-04 08:49:10 -07:00
Dan Smith
d9a8f48196 Amend check_commit and PR template
Require GPLv3 license and check for violations.
2023-07-02 20:40:10 -07:00
Dan Smith
95b388d0be Fetch full history for check-patch test
Also clean up the reporting for locale files needing update.
2023-06-14 18:22:34 -07:00
Dan Smith
ed829f5b4b Check patches to see if locale files need update
This makes msgmerge use sorted output to make the files stable.
2023-03-06 18:15:14 -08:00
Dan Smith
4d106c6238 Run fast-driver for CI 2023-01-28 08:51:26 -08:00
Dan Smith
0b6def9281 Stop running duplicate tests on push
I don't push direct to the main branches, and having this enabled
doubles the number of tests that run on my PRs. So just reduce this
to PRs only.
2023-01-19 15:35:17 -08:00
Dan Smith
c83d09343c Fix check-patch CRLF detection 2023-01-15 21:33:37 -08:00
Dan Smith
2c125a1ba5 Make check_commit detect CRLF files 2023-01-15 21:10:17 -08:00
Dan Smith
91c416b8d9 One more PR rule 2022-12-31 11:14:12 -08:00
Dan Smith
3641406a9b Add check_commit.sh and github action
This enforces some commit requirements, such as not adding new code
that relies on py2 compatibility.
2022-12-31 11:01:11 -08:00
Dan Smith
0234f6a316 Add a PR template with requirements 2022-12-31 11:01:11 -08:00
Dan Smith
6964f1a0cc Drop py2 tox targets 2022-12-28 08:32:01 -08:00
Dan Smith
ef83fabca7 Remove py2 github action stuff 2022-12-27 12:42:42 -08:00
Dan Smith
fc107bb8d0 Merge branch 'master' into py3-merge 2022-11-17 19:05:17 -08:00
Dan Smith
0ae1d346d1 Update py3 test runtime
Move everything to Jammy 22.04, but keep a driver job on 20.04 to
make sure we don't regress. 20.04 is the last release where it is
feasible to work on both master and py3, so we should try to avoid
breaking support there for the interim.
2022-11-17 16:18:10 -08:00
Dan Smith
06c2a7e477 Run py2 tests on Focal
Github just switched ubuntu-latest to jammy, so make sure these
run on focal.
2022-11-17 16:02:26 -08:00
Dan Smith
d9389c12b4 Don't fail to create PR if merge commit fails
If we fail to run makesupported, we will not touch anything, but
return nonzero, which will try to git commit, which will fail because
nothing is changed. Just ignore that and push the PR anyway so we have
something to work from.
2022-11-17 16:02:26 -08:00
Dan Smith
e51128724e py3-pr needs to push *after* matrix commit 2022-11-17 16:02:26 -08:00
Dan Smith
b5a17c708a py3-pr Needs file to commit 2022-11-17 16:02:26 -08:00
Dan Smith
c1e6c5ea96 Update py3-pr to have tox for makesupported 2022-11-17 16:02:26 -08:00
Dan Smith
05c223bd42 Make the auto-sync PR update support matrix 2022-11-17 16:02:26 -08:00
Dan Smith
2d2629a387 Run py2 tests on Focal
Github just switched ubuntu-latest to jammy, so make sure these
run on focal.
2022-11-17 15:37:49 -08:00
Dan Smith
44166380d2 Don't fail to create PR if merge commit fails
If we fail to run makesupported, we will not touch anything, but
return nonzero, which will try to git commit, which will fail because
nothing is changed. Just ignore that and push the PR anyway so we have
something to work from.
2022-11-08 18:49:24 -08:00
Dan Smith
f3d651ed7a py3-pr needs to push *after* matrix commit 2022-11-08 18:49:24 -08:00
Dan Smith
57a7e88edc py3-pr Needs file to commit 2022-11-08 18:49:24 -08:00
Dan Smith
5ace29a545 Update py3-pr to have tox for makesupported 2022-11-08 18:49:24 -08:00
Dan Smith
d13d94dd00 Make the auto-sync PR update support matrix 2022-11-08 18:49:24 -08:00
Dan Smith
ade8436ab0 Don't fail to create PR if merge commit fails
If we fail to run makesupported, we will not touch anything, but
return nonzero, which will try to git commit, which will fail because
nothing is changed. Just ignore that and push the PR anyway so we have
something to work from.
2022-11-08 17:34:10 -08:00
Dan Smith
c5b7540cbe py3-pr needs to push *after* matrix commit 2022-11-06 18:16:33 -08:00
Dan Smith
adf158e0b8 py3-pr Needs file to commit 2022-11-06 18:16:33 -08:00
Dan Smith
d845e6be93 Update py3-pr to have tox for makesupported 2022-11-06 18:16:33 -08:00
Dan Smith
901596d855 Make the auto-sync PR update support matrix 2022-11-06 18:16:33 -08:00
Dan Smith
2107dd110c py3-pr needs to push *after* matrix commit 2022-10-24 17:40:41 -07:00
Dan Smith
a354c59512 py3-pr Needs file to commit 2022-10-24 17:40:41 -07:00
Dan Smith
e39e1aac2c Update py3-pr to have tox for makesupported 2022-10-24 17:40:41 -07:00
Dan Smith
b652d585ac Make the auto-sync PR update support matrix 2022-10-24 17:40:41 -07:00
Dan Smith
867b48a86c py3-pr needs to push *after* matrix commit 2022-10-24 17:31:04 -07:00
Dan Smith
a4e611d00e py3-pr Needs file to commit 2022-10-24 17:26:59 -07:00
Dan Smith
097150a3e5 Update py3-pr to have tox for makesupported 2022-10-24 17:20:21 -07:00
Dan Smith
3b7d0afef0 Make the auto-sync PR update support matrix 2022-10-24 17:15:58 -07:00
Dan Smith
abdbb93d6f Change pygobject to wxpython for requirements
Accurately reflect what we expect to be installed for the py3
branch.
2022-10-21 16:41:17 -07:00
Dan Smith
22527b57c2 Add a py310 job
I noticed some different behavior on Python 3.10 Darwin, so we might
need a 3.10 test as well.
2022-10-18 15:24:36 -07:00