1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-05 23:10:12 +01:00
Commit Graph

7784 Commits

Author SHA1 Message Date
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
Jochen Sprickerhof
5075586f7d Merge branch 'ci_doc_debian' into 'master'
CI: Use Debian packages for documenation build

See merge request fdroid/fdroidserver!1278
2023-01-05 18:23:46 +00:00
Jochen Sprickerhof
37dd416aeb
CI: Use Debian packages for documenation build 2023-01-05 19:19:28 +01:00
Jochen Sprickerhof
d3c51f3abd Merge branch 'fix-bullseye-blocklist' into 'master'
checkupdates: only use bullseye_blocklist when openjdk-11 is mentioned

Closes #1076

See merge request fdroid/fdroidserver!1273
2022-12-07 06:58:35 +00:00
FC Stegerman
cefcf432c3
checkupdates: only use bullseye_blocklist when openjdk-11 is mentioned 2022-12-07 03:37:55 +01:00
Jochen Sprickerhof
bc56704eb0 Merge branch 'checkupdates_block_jdk11' into 'master'
checkupdates: Block one more openjdk-11

See merge request fdroid/fdroidserver!1272
2022-12-06 09:07:23 +00:00
Jochen Sprickerhof
a739a262f2
checkupdates: Block one more openjdk-11
See:

e397da7962 (note_1197704481)
2022-12-06 10:06:47 +01:00
Jochen Sprickerhof
393301c9e3 Merge branch 'verify-apks-diff' into 'master'
verify_apks(): compare to unsigned APK if copying fails

See merge request fdroid/fdroidserver!1264
2022-12-01 13:49:53 +00:00
FC Stegerman
c81ad4485c verify_apks(): compare to unsigned APK if copying fails 2022-11-30 10:39:46 +00:00
Hans-Christoph Steiner
159ae4a163 Merge branch 'clean_submodules' into 'master'
clean_repos plugin: also clean submodules

See merge request fdroid/fdroidserver!1268
2022-11-29 10:30:48 +00:00
Jochen Sprickerhof
46e5fa3714 clean_repos plugin: also clean submodules 2022-11-29 10:30:10 +00:00
Hans-Christoph Steiner
07481953ae Merge branch 'gradle-release-checksums.py' into 'master'
update to gradle v7.6

See merge request fdroid/fdroidserver!1271
2022-11-29 10:29:36 +00:00
fdroid-bot
4574728bb4 gradle v7.6 2022-11-28 13:20:41 +00:00
Hans-Christoph Steiner
37ffdd9a2a Merge branch 'linsui-master-patch-50291' into 'master'
gradle 7.6

See merge request fdroid/fdroidserver!1270
2022-11-28 13:19:59 +00:00
linsui
e6bf930fd4 gradle 7.6 2022-11-28 10:13:18 +00:00
Hans-Christoph Steiner
e70ef18d52
examples/fdroid_clean_repos.py: fix typo
!1227
2022-11-22 20:47:09 +01:00
Hans-Christoph Steiner
052c753075 examples/fdroid_clean_repos.py: black code format
!1227
2022-11-22 20:43:19 +01:00
Hans-Christoph Steiner
d7d4c18502 Merge branch 'cleanup_repos' into 'master'
update: make sure VCSs are clean

See merge request fdroid/fdroidserver!1227
2022-11-22 19:37:23 +00:00
Jochen Sprickerhof
1015225a00 Add plugin to cleanup app VCSs 2022-11-22 19:36:33 +00:00
Jochen Sprickerhof
886394c9a4 Merge branch 'index-v2-nightly' into 'master'
nightly bug fixes and tests

See merge request fdroid/fdroidserver!1257
2022-11-16 21:26:40 +00:00
Hans-Christoph Steiner
09b0405eb0
gitlab-ci: apksigner from current build-tools in ubuntu_jammy_pip 2022-11-16 20:16:36 +01:00
Hans-Christoph Steiner
1a30766c24
deploy: GIT_DEPTH=1 so GitLab Pages job runs as quick as possible
* https://docs.gitlab.com/ee/ci/large_repositories/index.html#shallow-cloning
2022-11-16 20:16:34 +01:00
Hans-Christoph Steiner
947d94e0a9
deploy: support GitLab Job Artifacts as a mirror 2022-11-16 20:16:32 +01:00
Hans-Christoph Steiner
d0976a3684
deploy: check repo size before enabling GitLab Pages 2022-11-16 20:16:30 +01:00
Hans-Christoph Steiner
cdce0958f8
deploy: convert .gitlab-ci.yml generation to dict + yaml.dump() 2022-11-16 20:16:27 +01:00
Hans-Christoph Steiner
f24613b701
index: fix git-mirror size check for GitLab Pages
The test case had the wrong folder setup, this was confirmed on a production
repo setup.
2022-11-16 20:16:25 +01:00
Hans-Christoph Steiner
83335437b9
nightly: if repo is too large, set archive_older to 3
If the user has not manually set --archive-older, then this will auto-switch
it from 20 to 3 to shrink the repo down so it fits into GitLab Pages.
2022-11-16 20:16:23 +01:00