Hans-Christoph Steiner
1f96a84f9a
gitlab-ci: add yamllint job
2025-02-26 17:28:01 +01:00
Hans-Christoph Steiner
642499ec94
purge config.py handling, it is no longer supported
2025-02-26 17:27:58 +01:00
Hans-Christoph Steiner
cb9533bd74
Merge branch 'gradle-release-checksums.py' into 'master'
...
update to gradle v8.13
See merge request fdroid/fdroidserver!1609
2025-02-26 12:39:57 +00:00
fdroid-bot
a37c409c74
gradle v8.13
2025-02-26 10:19:22 +00:00
Michael Pöhn
0f5a1a0bfb
Merge branch 'lint-config.yml' into 'master'
...
Lint config.yml
See merge request fdroid/fdroidserver!1606
2025-02-26 10:18:47 +00:00
Hans-Christoph Steiner
1ee9ea8cf9
lint: implement for config.yml
2025-02-24 19:07:27 +01:00
Hans-Christoph Steiner
695d97e103
fix: "no new line character at the end of file"
...
If yamllint is installed `fdroid lint` will run it, and what will output
the (new-line-at-end-of-file) warning message.
2025-02-24 18:13:13 +01:00
Hans-Christoph Steiner
56865f9ba6
checkupdates: remove auto_author: config, it is no longer used
...
checkupdates-runner sets the required values anyway.
fe3cb890db/.gitlab-ci.yml (L35)
2025-02-24 11:58:56 +01:00
Hans-Christoph Steiner
ecdf47d893
update: do not crash on {env: } in paths in config.yml
2025-02-22 23:32:29 +01:00
Hans-Christoph Steiner
4d66f30faf
Merge branch 'skip-test-on-macOS' into 'master'
...
skip test with mystery failure only on macOS
See merge request fdroid/fdroidserver!1605
2025-02-14 10:15:17 +00:00
Hans-Christoph Steiner
f92542c7ea
skip test with mystery failure only on macOS
...
https://gitlab.com/fdroid/fdroidserver/-/merge_requests/1587#note_2273747610
This happened when this test was a shell script as well:
https://gitlab.com/fdroid/fdroidserver/-/blob/2.3.5/tests/run-tests#L1244
2025-02-14 11:12:22 +01:00
Hans-Christoph Steiner
dde1942520
Merge branch 'migrate-integration-tests-to-python' into 'master'
...
Migrate integration tests from Bash to Python
See merge request fdroid/fdroidserver!1587
2025-02-13 20:40:35 +00:00
Hans-Christoph Steiner
1694966455
gpg requires a short path to the socket to talk to gpg-agent
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
efda0f5d6c
skip gpgsign test if gpg is not availabe on the PATH
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
b7c5233668
test_integration: stop trying to handle proxy errors
...
I don't think it is possible to automatically handle those cases, because
proxy setups can be so widely varied and can have privacy ramifications.
The person running the test who hits proxy errors will need to handle them
manually.
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
efce0ce0e4
use shared test function to replicate .testfiles setup
...
* It should include a subdir named after the test case.
* self.testdir is the common var name for this.
* tmp_repo is not a repo/ subdir, but instead the root of the whole repo
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
820abbc876
'archive/' dir might have been locally created
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
7a21c24e45
test_integration: add docstring comments
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
b933043ca1
new helpers: get_output_extension() & get_release_apk_filename()
...
This also moves to the standard var names: appid & versionCode
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
8b52740636
use for f in files
var name; avoid using keyword as var name
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
1720a51e9e
replace := walrus operator usages
2025-02-13 17:56:30 +01:00
mindston
1cbd68af84
Ignore bandit insecure usage of tmp dir warnings
2025-02-13 17:56:30 +01:00
mindston
565ae02678
Remove macOS exceptions
2025-02-13 17:56:30 +01:00
mindston
fa4ff197aa
Force C.UTF-8 locale for messages instead of en_US.UTF-8
2025-02-13 17:56:30 +01:00
mindston
aeb6c612e9
Set configuration variables for tests that run Git
2025-02-13 17:56:30 +01:00
mindston
96f9d7fdf8
Fix androguard import for versions <4
2025-02-13 17:56:30 +01:00
mindston
385832c1fd
Fix usage of removed $WORKSPACE variable in run-tests
2025-02-13 17:56:30 +01:00
mindston
62b4af4f19
Fix UTC timezone import to work on Python <3.11
2025-02-13 17:56:30 +01:00
mindston
9201b3ca94
Migrate integration tests from Bash to Python
2025-02-13 17:56:30 +01:00
Hans-Christoph Steiner
49697d1479
Merge branch 'error-on-duplicate-files' into 'master'
...
index: error if duplicate package files are in repo
See merge request fdroid/fdroidserver!1602
2025-02-13 16:56:08 +00:00
Hans-Christoph Steiner
f7dc89e9ba
index: error if duplicate package files are in repo
...
Looks like the ~index-v2 work removed this error case, and the old bash
integration test case failed to catch it. This reestablishes this error.
@mindston's refactoring of the old bash test suite caught this issue, e.g.
!1587
2025-02-12 18:38:05 +01:00
Jochen Sprickerhof
6df9d0ecba
Merge branch 'autoname' into 'master'
...
checkupdates: sort the order of dirs when finding autoname
See merge request fdroid/fdroidserver!1601
2025-02-07 17:26:17 +00:00
linsui
a7e56598d6
checkupdates: sort the order of dirs when finding autoname
2025-02-07 22:16:18 +08:00
Hans-Christoph Steiner
9215f5e4b1
Merge branch 'triple-t' into 'master'
...
update.py: fix triple-t metadata extract when there is no subdir
See merge request fdroid/fdroidserver!1599
2025-01-27 13:49:11 +00:00
linsui
2b725a5966
update.py: fix triple-t metadata extract when there is no subdir
2025-01-27 13:47:36 +00:00
Hans-Christoph Steiner
7c376209e0
Merge branch 'testcommon-rename-to-shared_test_code' into 'master'
...
tests: rename testcommon module to shared_test_code
See merge request fdroid/fdroidserver!1583
2025-01-27 10:21:58 +00:00
Hans-Christoph Steiner
66d220bd9f
tests: rename testcommon module to shared_test_code
...
This name always confuses me, since there is also test_common.py. And this
module is not actually a test suite, even though it starts with "test".
This also makes for better tab completion, e.g.
python3 -m unittest tests/te[Tab] -> tests/test_
2025-01-27 10:11:19 +00:00
linsui
f9431aaf0f
Merge branch 'gradle' into 'master'
...
gradle v8.12.1
See merge request fdroid/fdroidserver!1598
2025-01-26 04:20:00 +00:00
linsui
0c6e976a01
gradle v8.12.1
2025-01-26 12:09:54 +08:00
Hans-Christoph Steiner
6e1c1f4cc0
make -C locale update
2025-01-21 17:03:56 +01:00
Hans-Christoph Steiner
f719efcba0
version 2.3.5
2025-01-21 16:43:22 +01:00
Hans-Christoph Steiner
e45709beef
update CHANGELOG.md
2025-01-21 16:43:16 +01:00
Hans-Christoph Steiner
0930937939
Merge branch 'ban-apksigner-v33' into 'master'
...
ban apksigner v33, it has bugs verifying APKs with v3/v3.1 sigs
See merge request fdroid/fdroidserver!1593
2025-01-21 15:00:24 +00:00
Hans-Christoph Steiner
2ac925a249
ban apksigner v33, it has bugs verifying APKs with v3/v3.1 sigs
2025-01-21 15:00:23 +00:00
Hans-Christoph Steiner
afd1a89ca5
Merge branch 'updatedebianimagetrick' into 'master'
...
Fix vagrant image download issue
See merge request fdroid/fdroidserver!1595
2025-01-21 14:08:09 +00:00
Licaon_Kter
f3102d81b1
Fix vagrant image download issue
2025-01-21 15:57:12 +02:00
Hans-Christoph Steiner
c8c2b1be78
Merge branch 'updatedebianimage' into 'master'
...
Use latest Bookworm images for makebuildserver
See merge request fdroid/fdroidserver!1594
2025-01-21 13:49:50 +00:00
Licaon_Kter
9e03dba11e
Use latest Bookworm images for makebuildserver
2025-01-21 13:36:56 +02:00
Hans-Christoph Steiner
1fc8053936
Merge branch 'fix-ci' into 'master'
...
two CI fixes: remove broken arch job and ignore one checkupdates test on macOS
See merge request fdroid/fdroidserver!1592
2025-01-21 09:34:12 +00: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