1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-18 20:50:10 +01:00
Commit Graph

7924 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
c5ba4bc848 Merge branch 'fix_vagrantfile' into 'master'
Set vm_provider in example Vagrantfile.yaml

See merge request fdroid/fdroidserver!1277
2023-02-08 21:17:23 +00:00
Jochen Sprickerhof
629b2650d0 makebuildserver: make sure config is a dict
yaml.safe_load returns None for an empty file.
2023-02-08 21:17:12 +00:00
Hans-Christoph Steiner
84dd97e007 Merge branch 'purge_travis_ci' into 'master'
Remove references to Travis CI, clean up README

See merge request fdroid/fdroidserver!1284
2023-02-08 21:03:17 +00:00
FestplattenSchnitzel
1074b5938d
README: Remove CI/CD status section 2023-02-08 21:49:03 +01:00
FestplattenSchnitzel
406652988a
Remove references to Travis CI
We do not use it any longer.
2023-02-08 21:48:45 +01:00
Hans-Christoph Steiner
375f68480c Merge branch 'fix_fedora_ci' into 'master'
CI: Add missing dependency on Fedora

See merge request fdroid/fdroidserver!1263
2023-02-08 17:34:01 +00:00
Jochen Sprickerhof
6118925387 Skip nightly test on Fedora with pip in $HOME 2023-02-08 18:32:13 +01:00
Hans-Christoph Steiner
b293252029 Merge branch 'rework_unittests' into 'master'
Rework unittests

See merge request fdroid/fdroidserver!1269
2023-02-08 17:29:01 +00:00
Jochen Sprickerhof
5715e377b0 nightly test: cleaup test directory 2023-02-08 18:14:38 +01:00
Jochen Sprickerhof
55c3a28568 run-tests: make mirror test independent of update test 2023-02-08 18:14:38 +01:00
Jochen Sprickerhof
a667074d89 run-tests: make scanner test independent on importer test 2023-02-08 18:14:38 +01:00
Jochen Sprickerhof
b1fca3f722 run-tests: always cleanup testfiles 2023-02-08 18:14:38 +01:00
Jochen Sprickerhof
6ba40b7349 common tests: use patch.dict for os.environ 2023-02-08 18:14:36 +01:00
Jochen Sprickerhof
d29a486e31 tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01:00
Jochen Sprickerhof
1eeb992118
Don't create unused testfiles directory 2023-02-06 14:52:35 +01:00
Jochen Sprickerhof
d5400549f6
update test: set update options 2023-02-06 14:52:35 +01:00
Jochen Sprickerhof
4a6ccae71a
install_ndk: cleanup tempdir 2023-02-06 14:52:32 +01:00
Hans-Christoph Steiner
b285603e43 Merge branch 'destroy_vm' into 'master'
build: close ssh_channel upon timeout

See merge request fdroid/fdroidserver!1287
2023-02-06 11:12:28 +00:00
Jochen Sprickerhof
a6700e65ed build: close ssh_channel upon timeout
The build can get stuck when running into the timeout and paramiko not
noticing it. This can be reproduced by setting a small build timeout for
an app. I tried setting set_keepalive() but it did not help. This
forcefully closes the ssh channel to the VM so the fdroid build will
continue. As we destroy the VM in the next step anyhow I think this is
fine.
2023-02-04 10:14:03 +00:00
Jochen Sprickerhof
5e08187567 build: Rename chan to ssh_channel 2023-02-04 10:14:03 +00:00
Hans-Christoph Steiner
45af14f9a0 Merge branch 'test' into 'master'
CI: fix permissions for git diff --cached

See merge request fdroid/fdroidserver!1292
2023-02-04 10:13:02 +00:00
Jochen Sprickerhof
702f84e920 CI: fix permissions for git diff --cached
fdroid build runs git diff --cached for git_repo.is_dirty(). This does
no longer work without these permissions.
2023-02-04 10:12:48 +00:00
Jochen Sprickerhof
6b9db76c8b Merge branch 'git-tag-docker-tag' into 'master'
gitlab-ci: sanitize git ref names for use as docker tags

See merge request fdroid/fdroidserver!1289
2023-02-03 09:50:43 +00:00
Hans-Christoph Steiner
98aa39a597 gitlab-ci: sanitize git ref names for use as docker tags
git ref names can contain many chars that are not allowed in docker tags.

https://docs.docker.com/engine/reference/commandline/tag/
A tag name must be valid ASCII and may contain lowercase and uppercase
letters, digits, underscores, periods and dashes. A tag name may not start
with a period or a dash and may contain a maximum of 128 characters.

https://gitlab.com/brandsimon/fdroidserver/-/jobs/3705004274
2023-02-03 09:50:31 +00:00
Hans-Christoph Steiner
0cdc2e3f4f Merge branch 'weblate' into 'master'
weblate

See merge request fdroid/fdroidserver!1290
2023-02-02 20:08:56 +00:00
RainSlide
5c8ab55813 Translated using Weblate: Chinese (Simplified) (zh_Hans) by RainSlide <RainSlide@outlook.com>
Currently translated at 78.8% (491 of 623 strings)

Translated using Weblate: Chinese (Simplified) (zh_Hans) by RainSlide <RainSlide@outlook.com>

Currently translated at 77.2% (481 of 623 strings)

Co-authored-by: RainSlide <RainSlide@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
Pixel-Tux
e3e64b8a42 Translated using Weblate: Italian (it) by Pixel-Tux <luis.pardus@gmail.com>
Currently translated at 99.0% (617 of 623 strings)

Translated using Weblate: Italian (it) by Pixel-Tux <luis.pardus@gmail.com>

Currently translated at 98.7% (615 of 623 strings)

Translated using Weblate: Italian (it) by Pixel-Tux <luis.pardus@gmail.com>

Currently translated at 97.5% (608 of 623 strings)

Co-authored-by: Pixel-Tux <luis.pardus@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/it/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
Ihor Hordiichuk
bf12406b98 Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
Currently translated at 100.0% (623 of 623 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-02-02 17:36:06 +01:00
Sergii Horichenko
136c5bffc6 Translated using Weblate: Ukrainian (uk) by Sergii Horichenko <m@sgg.im>
Currently translated at 100.0% (623 of 623 strings)

Co-authored-by: Sergii Horichenko <m@sgg.im>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
Eric
db74db3ccc Translated using Weblate: Chinese (Simplified) (zh_Hans) by Eric <hamburger1024@duck.com>
Currently translated at 75.9% (473 of 623 strings)

Co-authored-by: Eric <hamburger1024@duck.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
快乐的老鼠宝宝
ca5f402733 Translated using Weblate: Chinese (Simplified) (zh_Hans) by 快乐的老鼠宝宝 <keaitianxinmail@qq.com>
Currently translated at 75.9% (473 of 623 strings)

Co-authored-by: 快乐的老鼠宝宝 <keaitianxinmail@qq.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
ZZY2357
adf039286c Translated using Weblate: Chinese (Simplified) (zh_Hans) by ZZY2357 <ZZY2357@outlook.com>
Currently translated at 75.9% (473 of 623 strings)

Co-authored-by: ZZY2357 <ZZY2357@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
Dan
fd9911d41b Translated using Weblate: Ukrainian (uk) by Dan <denqwerta@gmail.com>
Currently translated at 100.0% (623 of 623 strings)

Co-authored-by: Dan <denqwerta@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/uk/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
gallegonovato
b26942e0fd Translated using Weblate: Spanish (es) by gallegonovato <fran-carro@hotmail.es>
Currently translated at 100.0% (623 of 623 strings)

Translated using Weblate: Spanish (es) by gallegonovato <fran-carro@hotmail.es>

Currently translated at 97.7% (609 of 623 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/es/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
nautilusx
46ccddfede Translated using Weblate: German (de) by nautilusx <translate@disroot.org>
Currently translated at 100.0% (623 of 623 strings)

Co-authored-by: nautilusx <translate@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/de/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
Xiang Heng Wei
da73550401 Translated using Weblate: Chinese (Simplified) (zh_Hans) by Xiang Heng Wei <yylteam@hotmail.com>
Currently translated at 76.8% (479 of 623 strings)

Translated using Weblate: Chinese (Simplified) (zh_Hans) by Xiang Heng Wei <yylteam@hotmail.com>

Currently translated at 75.7% (472 of 623 strings)

Translated using Weblate: Chinese (Simplified) (zh_Hans) by Xu ZhuoHan <yylteam@hotmail.com>

Currently translated at 74.9% (467 of 623 strings)

Co-authored-by: Xiang Heng Wei <yylteam@hotmail.com>
Co-authored-by: Xu ZhuoHan <yylteam@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
random r
dfe7e1fbd5 Translated using Weblate: Italian (it) by random r <epsilin@yopmail.com>
Currently translated at 96.7% (603 of 623 strings)

Co-authored-by: random r <epsilin@yopmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/it/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
Fjuro
14c7b8e1b8 Translated using Weblate: Czech (cs) by Fjuro <ifjuro@proton.me>
Currently translated at 100.0% (623 of 623 strings)

Translated using Weblate: Czech (cs) by Fjuro <ifjuro@proton.me>

Currently translated at 98.7% (615 of 623 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-02-02 17:36:06 +01:00
Agnieszka C
1f6d1feec9 Translated using Weblate: Polish (pl) by Agnieszka C <aga_04@o2.pl>
Currently translated at 100.0% (623 of 623 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-02-02 17:36:06 +01:00
Andrei Stepanov
c915c61ead Translated using Weblate: Russian (ru) by Andrei Stepanov <adem4ik@gmail.com>
Currently translated at 100.0% (623 of 623 strings)

Co-authored-by: Andrei Stepanov <adem4ik@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ru/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:06 +01:00
Ihor Hordiichuk
796f42fe1d Translated using Weblate: Ukrainian (uk) by Ihor Hordiichuk <igor_ck@outlook.com>
Currently translated at 100.0% (623 of 623 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-02-02 17:36:05 +01:00
Eric
306ff33800 Translated using Weblate: Chinese (Simplified) (zh_Hans) by Eric <hamburger1024@mailbox.org>
Currently translated at 69.8% (435 of 623 strings)

Co-authored-by: Eric <hamburger1024@mailbox.org>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2023-02-02 17:36:05 +01:00
Hans-Christoph Steiner
7f1e96fe63 Merge branch 'fix-ci' into 'master'
fix CI

See merge request fdroid/fdroidserver!1288
2023-02-02 15:42:41 +00:00
Hans-Christoph Steiner
497fcfc848 silence new pylint checks that are too much for the current state
Ideally, these would be fixed.  But it'll be a project.

* C0201: Consider iterating the dictionary directly instead of calling .keys() (consider-iterating-dictionary)
* R1705: Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
* R1720: Unnecessary "elif" after "raise", remove the leading "el" from "elif" (no-else-raise)
* R1720: Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it (no-else-raise)
* R1722: Consider using 'sys.exit' instead (consider-using-sys-exit)
* R1723: Unnecessary "elif" after "break", remove the leading "el" from "elif" (no-else-break)
* R1724: Unnecessary "elif" after "continue", remove the leading "el" from "elif" (no-else-continue)
* R1735: Consider using '{}' instead of a call to 'dict'. (use-dict-literal)
* W0133: Exception statement has no effect (pointless-exception-statement)
* W0718: Catching too general exception Exception (broad-exception-caught)
* W0719: Raising too general exception: Exception (broad-exception-raised)
* W1510: 'subprocess.run' used without explicitly defining the value for 'check'. (subprocess-run-check)
2023-02-02 16:13:54 +01:00
Hans-Christoph Steiner
b152916b49 fix pylint: C1803: 'local_metadata_files != []' can be simplified to 'local_metadata_files' as an empty list is falsey (use-implicit-booleaness-not-comparison) 2023-02-02 16:02:49 +01:00
Hans-Christoph Steiner
75bf953c80 fix pylint: C0104: Disallowed name "bar" (disallowed-name) 2023-02-02 16:02:49 +01:00
Hans-Christoph Steiner
9d2cc1ecc5 fix pylint C1803: 'icons_src == {}' can be simplified to 'not icons_src' as an empty dict is falsey (use-implicit-booleaness-not-comparison) 2023-02-02 16:02:49 +01:00
Hans-Christoph Steiner
176301d831 fix pylint W0715: Exception arguments suggest string formatting might be intended (raising-format-tuple) 2023-02-02 15:49:20 +01:00
Hans-Christoph Steiner
156b3f91cc fix pylint W0404: Reimport 're' (imported line 21) (reimported) 2023-02-02 15:49:20 +01:00
Hans-Christoph Steiner
98769d8405 gitlab-ci: ignore setuptools DoS error from safety 2023-02-02 15:49:20 +01:00