Hans-Christoph Steiner
f5d5d9e9b8
Merge branch 'remove-download-handling' into 'master'
...
remove NDK download handling in favor of fdroid/sdkmanager
See merge request fdroid/fdroidserver!1070
2023-04-11 11:55:18 +00:00
Hans-Christoph Steiner
36d2a8f899
all ndk paths in config must be strings
...
The paths in the config must be strings because they are used in things
like env vars where they must be strings. Plus lots of other places in the
code assumes they are strings. This is the first step to defining the
border of where paths can be pathlib.Path() and where they must be strings.
2023-04-11 13:54:19 +02:00
Hans-Christoph Steiner
898624dcac
common.get_android_tools_versions() for modern NDK dir layout
...
NDK r10e is still in use, but is so old, it does not have the modern
sdkmanager package metadata.
2023-04-11 13:54:17 +02:00
Hans-Christoph Steiner
0dd5a7db64
remove NDK download handling in favor of fdroid/sdkmanager
2023-04-11 13:54:05 +02:00
Hans-Christoph Steiner
66d750e5fa
Merge branch 'fix_ipfs_test' into 'master'
...
Strip ipfsCIDv1 before testing index-v2
See merge request fdroid/fdroidserver!1335
2023-04-11 10:29:57 +00:00
Jochen Sprickerhof
d59a88f844
Strip ipfsCIDv1 before testing index-v2
2023-04-11 10:29:27 +00:00
Hans-Christoph Steiner
239ab5bd21
Merge branch 'test_find_sdk_tools_cmd-intermittent' into 'master'
...
set skipUnless for test that relies on ANDROID_HOME
See merge request fdroid/fdroidserver!1334
2023-04-11 09:05:18 +00:00
Hans-Christoph Steiner
94badac317
set skipUnless for test that relies on ANDROID_HOME
...
This job just started failing, but wasn't before:
https://gitlab.com/eighthave/fdroidserver/-/jobs/4060582594
But I look at it, and it looks right that it fails. So how on earth
was it succeeding before? Basically the `os.getenv('ANDROID_HOME')`
returns `None` when `ANDROID_HOME` is not set. It is not set in both the
jobs, so how did it not stacktrace before?
2023-04-04 22:41:46 +02:00
Hans-Christoph Steiner
7c85afc988
Merge branch 'fix_antifeatures' into 'master'
...
Fix antifeatures
See merge request fdroid/fdroidserver!1331
2023-04-04 14:21:10 +00:00
Jochen Sprickerhof
889b8cb372
Don't copy per version anti features to all versions
...
make_v0() modified the apps data structure to copy an anti feature for a
specific version to all versions resulting in index-v1 and -v2 to
contain wrong anti feature annotations. This patch fixes this and adds a
test that the data structure is no longer modified.
The bug shadowed bugs in the AF implementation of -v1 and -v2 resulting
in not coping the version specific data. This is corrected as well.
This is also tested now.
For -v2 the AF dict is now sorted to make the result reproducible.
Finally The NoSourceSince AF was added as a per version and overall AF
in -v1 and is now only applied as an overall AF and the test is updated
accordingly.
2023-04-04 14:20:41 +00:00
Jochen Sprickerhof
484f289919
index.TestCase: support more arguments (like -k)
2023-04-04 14:20:41 +00:00
Hans-Christoph Steiner
4a386aa2eb
Merge branch 'licaon-kter-master-patch-59706' into 'master'
...
Scanner - add newer sonatype maven repos
Closes #1113
See merge request fdroid/fdroidserver!1333
2023-04-04 11:30:55 +00:00
Licaon_Kter
35133a9a8f
Scanner - add newer sonatype maven repos
2023-04-04 11:00:13 +00:00
Hans-Christoph Steiner
4165c32e2f
Merge branch 'fix_class' into 'master'
...
vmtools: Properly initialize provider member
See merge request fdroid/fdroidserver!1329
2023-03-21 14:02:21 +00:00
Jochen Sprickerhof
2a5b127773
vmtools: Properly initialize provider member
2023-03-21 14:00:58 +01:00
Hans-Christoph Steiner
0136872154
Merge branch 'pylint' into 'master'
...
pylint: Reenable 10 checks
See merge request fdroid/fdroidserver!1319
2023-03-20 16:51:40 +00:00
Hans-Christoph Steiner
8f4167660e
disable pylint no-member on tests/extra/manual-vmtools-test.py
...
This script is some of the only documentation of certain processes that
run in the buildserver setup. It is not really maintained, but is still
here as a kind of reference.
2023-03-20 17:38:10 +01:00
Hans-Christoph Steiner
9749b26baa
pylint: Reenable C0201 consider-iterating-dictionary
...
* C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
2023-03-20 16:33:16 +01:00
FestplattenSchnitzel
a4c1ca48ad
pylint: Reenable R1722 consider-using-sys-exit
...
* R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
2023-03-20 16:33:16 +01:00
Hans-Christoph Steiner
1fbfae355a
pylint: Reenable R1723 no-else-break
...
* R1723: Unnecessary "elif" after "break", remove the leading "el" from "elif" (no-else-break)
2023-03-20 16:33:16 +01:00
FestplattenSchnitzel
abc752314b
pylint: Reenable E1101 no-member
2023-03-20 16:33:16 +01:00
FestplattenSchnitzel
1dcb863f55
pylint: Set Python version, exclude vendored file
2023-03-20 16:33:16 +01:00
Jochen Sprickerhof
b5ec531e72
Merge branch 'checkupdates' into 'master'
...
checkupdates: skip when there is no match for version
See merge request fdroid/fdroidserver!1321
2023-03-20 14:43:41 +00:00
linsui
88eac942ec
checkupdates: skip when there is no match for version
...
... name regex in CheckUpdateData
2023-03-20 14:31:08 +00:00
Jochen Sprickerhof
99be8d679d
Merge branch 'fix-ci' into 'master'
...
fix the current crop of new CI failures
See merge request fdroid/fdroidserver!1327
2023-03-20 14:28:21 +00:00
Hans-Christoph Steiner
b92e280eab
fix code format for new black rule
2023-03-20 14:47:48 +01:00
Hans-Christoph Steiner
e903952029
always use defusedxml.ElementTree, never xml.etree.ElementTree
...
defusedxml is now available and installed everywhere, including the
buildserver VM and the buildserver host.
This fixes bandit's error because it didn't understand the try: block
* https://gitlab.com/eighthave/fdroidserver/-/jobs/3965835264
* https://bandit.readthedocs.io/en/1.7.5/blacklists/blacklist_calls.html#b313-b320-xml
2023-03-20 14:44:13 +01:00
Hans-Christoph Steiner
4295d254f9
build: actually raise exception when ndk: entry is invalid
...
pylint said:
fdroidserver/common.py:4238:8: W0133: Exception statement has no effect (pointless-exception-statement)
2023-03-20 14:43:44 +01:00
Hans-Christoph Steiner
bf5e65dd24
pylint: hide broad-exception-caught and broad-exception-raised
...
I suppose it would be nice to have these enabled, but yeah...
2023-03-20 14:43:44 +01:00
Hans-Christoph Steiner
08d4b4671c
Merge branch 'ndk-path-long' into 'master'
...
metadata.Build.ndk_path(): find long form ndk too
Closes #1099
See merge request fdroid/fdroidserver!1313
2023-03-20 13:40:10 +00:00
FC Stegerman
a5978ad8b2
metadata.Build.ndk_path(): find long form ndk too
2023-03-20 13:39:47 +00:00
Jochen Sprickerhof
668a83a9af
Merge branch 'update-handle-bad-xml-namespaces' into 'master'
...
update: handle messed up namespaces in AndroidManifest.xml
See merge request fdroid/fdroidserver!1326
2023-03-20 13:24:59 +00:00
Hans-Christoph Steiner
e6ff596b4c
update: handle messed up namespaces in AndroidManifest.xml
2023-03-20 13:24:59 +00:00
Hans-Christoph Steiner
1f6eab8365
set dev version: 2.3 alpha 0
2023-03-09 16:00:50 +01:00
Hans-Christoph Steiner
35a1cb20e6
version 2.2.1
2023-03-09 14:53:00 +01:00
Hans-Christoph Steiner
e093d471f8
update CHANGELOG for 2.2.1
2023-03-09 13:58:14 +01:00
Hans-Christoph Steiner
770a860fe7
Merge branch 'weblate' into 'master'
...
weblate
See merge request fdroid/fdroidserver!1325
2023-03-09 12:54:40 +00:00
Hans-Christoph Steiner
202ecc858c
gitlab-ci: break out locale tests into job that fails on errors
2023-03-09 13:42:33 +01:00
Hans-Christoph Steiner
5a0453ca9d
make -C locale update
2023-03-09 13:20:42 +01:00
Hans-Christoph Steiner
68cd544dfb
fix bad formats in translations
2023-03-09 13:16:14 +01:00
Max Xie
950e342d6e
Translated using Weblate: Chinese (Simplified) (zh_Hans) by Max Xie <monyxie@gmail.com>
...
Currently translated at 77.9% (417 of 535 strings)
Co-authored-by: Max Xie <monyxie@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:33 +01:00
Oğuz Ersen
aa80a762c4
Translated using Weblate: Turkish (tr) by Oğuz Ersen <oguz@ersen.moe>
...
Currently translated at 100.0% (535 of 535 strings)
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/tr/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:33 +01:00
Fjuro
b45fa5d864
Translated using Weblate: Czech (cs) by Fjuro <ifjuro@proton.me>
...
Currently translated at 100.0% (535 of 535 strings)
Co-authored-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/cs/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:33 +01:00
Besnik Bleta
963d119a0c
Translated using Weblate: Albanian (sq) by Besnik Bleta <besnik@programeshqip.org>
...
Currently translated at 97.5% (522 of 535 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
2023-03-09 12:48:32 +01:00
VfBFan
7973dd2c8f
Translated using Weblate: German (de) by VfBFan <drop0815@posteo.de>
...
Currently translated at 100.0% (535 of 535 strings)
Translated using Weblate: German (de) by VfBFan <drop0815@posteo.de>
Currently translated at 100.0% (535 of 535 strings)
Co-authored-by: VfBFan <drop0815@posteo.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/de/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
ssantos
ad391f02f3
Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
...
Currently translated at 100.0% (535 of 535 strings)
Translated using Weblate: Portuguese (Portugal) (pt_PT) by ssantos <ssantos@web.de>
Currently translated at 100.0% (535 of 535 strings)
Translated using Weblate: German (de) by ssantos <ssantos@web.de>
Currently translated at 100.0% (535 of 535 strings)
Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/de/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt/
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_PT/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Agnieszka C
4fc443ce9c
Translated using Weblate: Polish (pl) by Agnieszka C <aga_04@o2.pl>
...
Currently translated at 100.0% (535 of 535 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pl/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Andrey
37441f6f1a
Translated using Weblate: Russian (ru) by Andrey <andrey@mailbox.org>
...
Currently translated at 100.0% (535 of 535 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
2023-03-09 12:48:32 +01:00
Ihor Hordiichuk
cadd53c40c
Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
...
Currently translated at 100.0% (535 of 535 strings)
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00
Translator
8c4f8cb388
Translated using Weblate: French (fr) by Translator <kvb@tuta.io>
...
Currently translated at 100.0% (535 of 535 strings)
Co-authored-by: Translator <kvb@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/fr/
Translation: F-Droid/F-Droid Server
2023-03-09 12:48:32 +01:00