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

7449 Commits

Author SHA1 Message Date
Michael Pöhn
9c5b35742d use ScannerTool for basic cacheing and scanning 2022-10-06 12:08:26 +02:00
Michael Pöhn
f56b1f3012 basic downloading for scan_binary signatures 2022-10-06 12:08:23 +02:00
Jochen Sprickerhof
82355b8559 Merge branch 'linsui-master-patch-90027' into 'master'
fix typo

See merge request fdroid/fdroidserver!1201
2022-10-05 06:15:53 +00:00
linsui
5354661fb4 fix typo 2022-10-05 06:15:53 +00:00
Hans-Christoph Steiner
cfd426cc1f Merge branch 'scan_more_binary' into 'master'
Support more file types in get_embedded_classes

Closes #999

See merge request fdroid/fdroidserver!1123
2022-09-30 18:09:32 +00:00
Hans-Christoph Steiner
3de6063a01 scanner: open DEX/ZIP by file magic; throw errors on bad filenames 2022-09-30 17:56:15 +00:00
Hans-Christoph Steiner
aa190d532f scanner.TestCase: manually convert to black code format
I manually changed some code structures to give a decent code format.
2022-09-30 17:56:15 +00:00
Jochen Sprickerhof
4197455436 Support more file types in get_embedded_classes
Closes: #999
2022-09-30 17:56:15 +00:00
Hans-Christoph Steiner
6a4b7ba4c1 Merge branch 'pyproject.toml' into 'master'
Move lint tools configuration to pyproject.toml

See merge request fdroid/fdroidserver!1196
2022-09-30 17:55:42 +00:00
FestplattenSchnitzel
e4d16ec1e8 Move lint tools configuration to pyproject.toml
This commit removes the mypy CI job, since there are no or few type
hints in the codebase and it failed on unrelated changes in the past.
It might be reintroduced when type hints get added.
2022-09-30 17:53:31 +00:00
Hans-Christoph Steiner
42cb31039e Merge branch 'fix_status_deploy' into 'master'
Sync all status files

See merge request fdroid/fdroidserver!1199
2022-09-29 17:54:22 +00:00
Jochen Sprickerhof
96f8284a50
Sync all status files 2022-09-29 19:41:12 +02:00
Hans-Christoph Steiner
244273e58e Merge branch 'clojars' into 'master'
scanner: allow repo.clojars.org

See merge request fdroid/fdroidserver!1197
2022-09-26 18:58:28 +00:00
linsui
ec69be04ce scanner: allow repo.clojars.org 2022-09-26 18:58:15 +00:00
Hans-Christoph Steiner
bd6689a75d Merge branch 'editorconfig' into 'master'
Add .editorconfig

See merge request fdroid/fdroidserver!1194
2022-09-20 15:12:15 +00:00
FestplattenSchnitzel
ecc9ad0e8c Add .editorconfig
See https://editorconfig.org/
2022-09-20 14:08:04 +00:00
Hans-Christoph Steiner
e239a600a3 Merge branch 'fix_v4_signing' into 'master'
Work around old apksigner on f-droid.org publish server

See merge request fdroid/fdroidserver!1192
2022-09-20 13:58:42 +00:00
Jochen Sprickerhof
cf228d35a3 Work around old apksigner on f-droid.org publish server 2022-09-20 13:58:41 +00:00
Michael Pöhn
2b5ac31bf8 Merge branch 'test_getref' into 'master'
Add test for git getref

Closes #1040

See merge request fdroid/fdroidserver!1191
2022-09-15 11:48:00 +00:00
Jochen Sprickerhof
f96f247095
Add test for git getref 2022-09-15 13:32:11 +02:00
Michael Pöhn
603c8c5cd4 Merge branch 'fix_getref' into 'master'
Use old python-git exception API for getref

See merge request fdroid/fdroidserver!1190
2022-09-15 08:35:10 +00:00
Jochen Sprickerhof
0f48294a6e
Use old python-git exception API for getref
The is_valid_object method is not even in Debian bullseye.
2022-09-15 07:44:02 +02:00
Michael Pöhn
2aebc48a65 Merge branch 'linsui-master-patch-61703' into 'master'
scanner: add some rules

See merge request fdroid/fdroidserver!1150
2022-09-14 15:02:38 +00:00
linsui
ac96e43e13 scanner: add some rules 2022-09-14 15:02:37 +00:00
Jochen Sprickerhof
0a157d3f17 Merge branch 'fix_check_updates_expected' into 'master'
[lint] Fix comparisons in check_updates_expected

See merge request fdroid/fdroidserver!1188
2022-09-14 10:10:34 +00:00
FestplattenSchnitzel
580ce85412 [lint] Fix comparisons in check_updates_expected 2022-09-14 10:10:20 +00:00
Jochen Sprickerhof
7d94055830 Merge branch 'Adding-IPFS-CID-to_Index' into 'master'
Addition of IPFS CID onto Index-v2.json file

Closes #976

See merge request fdroid/fdroidserver!1154
2022-09-14 09:28:28 +00:00
pmmayero
0ad45a94a8 Addition of IPFS CIDv1 to Index
IPFS CIDv1 is only generated for APKs and "repo files"
2022-09-14 09:28:02 +00:00
Michael Pöhn
5e31f23a96 Merge branch 'fix_getref' into 'master'
git.getref: use python-git

See merge request fdroid/fdroidserver!1186
2022-09-14 09:25:28 +00:00
Jochen Sprickerhof
7b31535c25 git.getref: use python-git
Fixes a "warning: refname is ambiguous." problem:

$ git clone https://gitlab.com/joshua.tee/wx.git
$ cd wx
$ git rev-parse 55699
warning: refname '55699' is ambiguous.

8760bb0ce7 (note_1090707468)
2022-09-14 09:12:02 +00:00
Jochen Sprickerhof
7aa4b2678b Merge branch 'check_no_updates_expected' into 'master'
[lint] Complain if checking for updates makes no sense

See merge request fdroid/fdroidserver!1187
2022-09-12 13:51:44 +00:00
FestplattenSchnitzel
d32e53798d
[lint] Check if checking for updates makes no sense 2022-09-12 12:27:38 +02:00
Hans-Christoph Steiner
a3b7ba4eed Merge branch 'dump_internal_metadata_format' into 'master'
Cleanup tests/dump_internal_metadata_format.py

See merge request fdroid/fdroidserver!1184
2022-09-08 19:54:20 +00:00
Jochen Sprickerhof
483d6da51c
Cleanup tests/dump_internal_metadata_format.py
- Update usage documentation.
- Use argparse.
- Simplify config handling (similar to readmeta.py).
- Drop code for fdroidserver before 0.7.0.
- Reformat with black.
2022-09-08 21:40:26 +02:00
Jochen Sprickerhof
8eea3a6822 Merge branch 'three-commits-for-things' into 'master'
four random fixes

See merge request fdroid/fdroidserver!1183
2022-09-08 17:19:16 +00:00
Hans-Christoph Steiner
66d8b783f0 gitlab-ci: only display message if not running docker push 2022-09-08 18:55:32 +02:00
Hans-Christoph Steiner
53a507d7c4 buildserver: default to HTTPS for apt sources
Debian Docker images will soon default to HTTPS for apt sources, so force
it now:
https://github.com/debuerreotype/docker-debian-artifacts/issues/15
2022-09-08 18:55:17 +02:00
Hans-Christoph Steiner
b854f3bab7 update: fully isolate testInsertStoreMetadata test
The test was failing due to something on my local filesystem, this
runs the test in a new dir every time.
2022-09-08 18:45:30 +02:00
Hans-Christoph Steiner
e79585b0c0 index: remove unused, confusing args to file_entry() 2022-09-08 18:13:26 +02:00
Hans-Christoph Steiner
21c4c118a1 Merge branch 'ci_bump_release' into 'master'
CI: Bump RELEASE_COMMIT_ID for new release

See merge request fdroid/fdroidserver!1181
2022-09-08 16:13:07 +00:00
Jochen Sprickerhof
da9a12bf5a
CI: Bump RELEASE_COMMIT_ID for new release
Drop old sed hacks.
2022-09-08 17:58:59 +02:00
Jochen Sprickerhof
707753a289 Merge branch 'opt-in-docker-push' into 'master'
gitlab-ci: make push in "docker" job opt-in

See merge request fdroid/fdroidserver!1182
2022-09-08 15:58:39 +00:00
Hans-Christoph Steiner
2d5d98fe32 gitlab-ci: stop tags/branches overwriting buildserver docker image
https://gitlab.com/fdroid/fdroidserver/-/jobs/2988110595
https://gitlab.com/eighthave/fdroidserver/-/jobs/2997738047
2022-09-08 17:51:23 +02:00
Hans-Christoph Steiner
dbe4af7951 gitlab-ci: make push in "docker" job opt-in
gitlab.com has added pretty small quotas to free tier accounts, and this
job pushes a docker image that is nearly 1GB.  And those rarely get used,
so this makes it opt in via a variable that can be set when manually
running a job, or globally in the "CI/CD Variables" Settings.
2022-09-08 11:28:59 +02:00
Hans-Christoph Steiner
4fc9c309c1
make -C locale/ update 2022-09-06 22:28:02 +02:00
Hans-Christoph Steiner
54e84d8770 Merge branch 'weblate' into 'master'
weblate

See merge request fdroid/fdroidserver!1180
2022-09-06 14:53:31 +00:00
Hans-Christoph Steiner
78c552aa0a Translated using Weblate: Chinese (Traditional) (zh_Hant) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 76.3% (467 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hant/
2022-09-06 16:38:23 +02:00
Hans-Christoph Steiner
56e5846dd6 Translated using Weblate: Tibetan (bo) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 61.7% (378 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/bo/
2022-09-06 16:38:10 +02:00
Yang Yulin
8d73bb45ea Translated using Weblate: Chinese (Simplified) (zh_Hans) by Yang Yulin <yylteam@hotmail.com>
Currently translated at 70.4% (431 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 16:37:42 +02:00
linsui
25a5754c3c Translated using Weblate: Chinese (Simplified) (zh_Hans) by linsui <linsui@inbox.lv>
Currently translated at 70.4% (431 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 16:37:42 +02:00