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
Hans-Christoph Steiner
594099a10c
gitlab-ci: remove arch_pip_install job
...
https://gitlab.com/fdroid/fdroidserver/-/jobs/8898887965
It broke and no one seems to want to maintain it.
2025-01-20 15:28:25 +01:00
Hans-Christoph Steiner
f14c3e38c8
Merge branch 'merge_weblate' into 'master'
...
weblate
See merge request fdroid/fdroidserver!1591
2025-01-20 14:04:35 +00:00
大王叫我来巡山
d588afd3f9
Translated using Weblate: Chinese (Simplified Han script) (zh_Hans) by 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
Максим Горпиніч
eecfcbe547
Translated using Weblate: Ukrainian (uk) by Максим Горпиніч <mgorpinic2005@gmail.com>
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: Максим Горпиніч <mgorpinic2005@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
Reno Tx
06eb722b13
Translated using Weblate: Serbian (sr) by Reno Tx <renotx@users.noreply.hosted.weblate.org>
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: Reno Tx <renotx@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sr/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
Besnik Bleta
d969181b55
Translated using Weblate: Albanian (sq) by Besnik Bleta <besnik@programeshqip.org>
...
Currently translated at 97.7% (598 of 612 strings)
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/sq/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
Andrey
49d18e494b
Translated using Weblate: Russian (ru) by Andrey <andrey@mailbox.org>
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: Andrey <andrey@mailbox.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ru/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
Golubev Alexander
a9404dbb42
Translated using Weblate: Russian (ru) by Golubev Alexander <fatzer2@gmail.com>
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: Golubev Alexander <fatzer2@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ru/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
Dmitry
89f44e0fed
Translated using Weblate: Russian (ru) by Dmitry <dmitrydmitry761@gmail.com>
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: Dmitry <dmitrydmitry761@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ru/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
ssantos
a3f9b244d9
Translated using Weblate: Portuguese (Portugal) (pt_PT) by ssantos <ssantos@web.de>
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_PT/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
LucasMZ
787612b93f
Translated using Weblate: Portuguese (Brazil) (pt_BR) by LucasMZ <git@lucasmz.dev>
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: LucasMZ <git@lucasmz.dev>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_BR/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
Liner Seven
d742fc4f65
Translated using Weblate: Japanese (ja) by Liner Seven <linour7gmekiblo@gmail.com>
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: Liner Seven <linour7gmekiblo@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ja/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
Aindriú Mac Giolla Eoin
f78492e8ad
Translated using Weblate: Irish (ga) by Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
...
Currently translated at 100.0% (612 of 612 strings)
Co-authored-by: Aindriú Mac Giolla Eoin <aindriu80@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ga/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00
Armand Camponovo
7720402d72
Translated using Weblate: French (fr) by Armand Camponovo <contact@camarm.dev>
...
Currently translated at 96.7% (592 of 612 strings)
Co-authored-by: Armand Camponovo <contact@camarm.dev>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2025-01-20 14:53:42 +01:00