Hans-Christoph Steiner
8c7f5abf92
checkupdates: only run tests on GNU/Linux
...
checkupdates is only ever run in production on Debian and it often fails
elsewhere.
https://gitlab.com/fdroid/fdroidserver/-/jobs/12307572200
2025-12-03 19:07:25 +01:00
Hans-Christoph Steiner
be27b58114
checkupdates: standardize on "from fdroidserver import X"
...
This is the code style used in most of the rest of the submodules.
2025-11-26 11:49:49 +00:00
Hans-Christoph Steiner
0b4764504d
checkupdates: fix pylint invalid-name use-dict-literal no-else-return/raise
2025-11-26 11:49:49 +00:00
linsui
7a98650ed3
Sort import
...
ruff check --fix --select I
2025-07-26 15:35:19 +00:00
Hans-Christoph Steiner
8c9b0b3a2a
add test case
2025-05-22 12:12:24 +02:00
Hans-Christoph Steiner
9b5a67340e
checkupdates: skip test_get_upstream_main_branch on macOS
...
This test checks the detection of the default initial branch. It is a hard
thing to test since different platform configurations have different
defaults. checkupdates is basically only used on GNU/Linux anyway.
Here's the failure:
https://gitlab.com/fdroid/fdroidserver/-/jobs/8896420261
2025-01-20 15:37:54 +01:00
Hans-Christoph Steiner
0ec9cd6921
checkupdates: only update app branches if metadata file changed
2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
e3f724681a
checkupdates: parse default branch from upstream remote
2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
c97503b5f3
checkupdates: get default branch from git config
2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
cd8d4ef88b
checkupdates: reuse per-app branches when making merge requests
...
https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1551#note_2206085258
2024-11-21 12:15:14 +00:00
Hans-Christoph Steiner
20ff302e89
checkupdates: remove duplicate push in push_commits()
2024-11-21 12:15:14 +00:00
SilentGhost
7ff32bc4b0
Refactor TestCase files into python modules
...
Convert all TestCase files into standard python modules to be run and
discovered by unittest.
2024-11-20 10:37:52 +01:00