1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00
Commit Graph

7660 Commits

Author SHA1 Message Date
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
Hans-Christoph Steiner
a27cf3d42d gitlab-ci: use black from Debian for a stable code format
This avoids surprise code format CI breakage when black pushes new rules:
https://gitlab.com/fdroid-bot/fdroidserver/-/jobs/3703868702
2023-02-02 15:49:19 +01:00
Hans-Christoph Steiner
e1d0ff175f Merge branch 'ndk-release-checksums.py' into 'master'
update NDK

See merge request fdroid/fdroidserver!1286
2023-02-02 14:00:49 +00:00
fdroid-bot
e71afa1299 Android NDK None (None) 2023-02-02 13:35:29 +00:00
Hans-Christoph Steiner
c28bb024af Merge branch 'destroy_vm' into 'master'
Distroy VM when running into timeout (Closes: #1094)

Closes #1094

See merge request fdroid/fdroidserver!1285
2023-02-02 13:34:49 +00:00
Jochen Sprickerhof
f8e3356365
Distroy VM when running into timeout (Closes: #1094)
halt results in an Traceback.
2023-02-02 10:03:34 +01:00
Hans-Christoph Steiner
282a7724ef Merge branch 'liberapay' into 'master'
remove liberapayID

Closes #1073

See merge request fdroid/fdroidserver!1266
2023-01-16 17:16:32 +00:00
linsui
5858d8fcb4 remove liberapayID 2023-01-16 17:02:56 +00:00
Jochen Sprickerhof
96d80fbd7c Merge branch 'git' into 'master'
Add codeberg.org

See merge request fdroid/fdroidserver!1280
2023-01-16 14:02:41 +00:00
linsui
a3f760f849 Add codeberg.org 2023-01-16 09:36:05 +00:00
Michael Pöhn
48e682bd80 Merge branch 'yaml_1.2' into 'master'
Use ruamel.yaml in metadata.py and metadata.TestCase

See merge request fdroid/fdroidserver!1238
2023-01-15 12:15:39 +00:00
FestplattenSchnitzel
aa71dd57f6
update.TestCase: Avoid creating metadata with duplicate keys 2023-01-15 12:52:41 +01:00
FestplattenSchnitzel
671a264dfe
Use ruamel.yaml in metadata.py and metadata.TestCase
This is to read metadata based on YAML 1.2 rather than 1.1.
2023-01-15 12:52:41 +01:00
Jochen Sprickerhof
8c10614bf9 Merge branch 'fix-name-int' into 'master'
index.make_v0: ensure name is a str

See merge request fdroid/fdroidserver!1279
2023-01-10 19:25:55 +00:00
FC Stegerman
fc8820ff8e
index.make_v0: ensure name is a str 2023-01-10 19:40:52 +01:00