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

8606 Commits

Author SHA1 Message Date
Hans-Christoph Steiner
560472e4e5 install: download from GitHub Releases 2024-11-01 00:16:13 +01:00
Hans-Christoph Steiner
1eb6516f16 install: add IPNS download method 2024-11-01 00:09:58 +01:00
Hans-Christoph Steiner
3da48e64bc install: use Maven Central as additional source 2024-11-01 00:09:58 +01:00
Hans-Christoph Steiner
b77eba824b install: convert to common.get_config() 2024-11-01 00:09:54 +01:00
Hans-Christoph Steiner
3a3417f6f8 install: add --privacy-mode flag 2024-10-31 23:49:34 +01:00
Hans-Christoph Steiner
c7bc8d0fea install: function to fetch, verify and install the F-Droid.apk 2024-10-31 23:49:30 +01:00
Hans-Christoph Steiner
681d705da0 install: reliable algorithm for picking devices from adb output
Versions of this algorithm are used elsewhere:
* https://github.com/openatx/adbutils/blob/master/adbutils/_adb.py
2024-10-31 21:55:20 +01:00
Hans-Christoph Steiner
f1b110942a net: let localhost RetryServer tests run with an HTTP proxy active 2024-10-31 21:55:20 +01:00
Hans-Christoph Steiner
59fcfa5dec index: download_repo_index_v2() uses mirrors
test_download_repo_index_v2_url_parsing is no longer needed, since all the
things it tested are now handled in test_download_repo_index_v2
2024-10-31 21:55:18 +01:00
Hans-Christoph Steiner
2e3f6d273a net: download_using_mirrors() to download like fdroidclient does 2024-10-31 21:54:47 +01:00
Hans-Christoph Steiner
49dcc53076 install: download_fdroid_apk() to fetch the recommended initial APK 2024-10-31 21:54:47 +01:00
Hans-Christoph Steiner
56bed02a29 install: download_apk() fetchs APKs by appid based on the index 2024-10-31 21:54:45 +01:00
Jochen Sprickerhof
97b156a963 Merge branch 'drop_known_apks' into 'master'
Drop stats/known_apks.txt

See merge request fdroid/fdroidserver!1547
2024-10-31 11:02:09 +00:00
Hans-Christoph Steiner
ab28c442e2 KnownApks: remove dead code 2024-10-31 09:20:26 +00:00
Hans-Christoph Steiner
173c1d67f4 KnownApks: appid is no longer needed at all, remove it. 2024-10-31 09:20:26 +00:00
Hans-Christoph Steiner
5032207da0 add basic tests of KnownApks mechanism
The tests in tests/run-tests do provide coverage for these cases, but it is
not explicit, but just comes from testing that the index file has not
changed.  These tests make it explicit what is being tested.
2024-10-31 09:20:26 +00:00
Jochen Sprickerhof
81c0c9d4aa Drop stats/known_apks.txt
Use repo/index-v2.json instead.
Also fix deprecated datetime.utcnow().
2024-10-31 09:20:26 +00:00
Hans-Christoph Steiner
83a3227235 Merge branch 'fix-checkupdates-one-MR-per-app' into 'master'
checkupdates: --merge_request commits to branch named after appid

See merge request fdroid/fdroidserver!1550
2024-10-30 19:03:14 +00:00
Hans-Christoph Steiner
25779e8b32 checkupdates: --merge_request commits to branch named after appid 2024-10-30 18:35:34 +01:00
Hans-Christoph Steiner
21cb8ac5e0 Merge branch 'frosting' into 'master'
scanner: scan frosting blocks in binary scanner

See merge request fdroid/fdroidserver!1548
2024-10-30 15:26:23 +00:00
linsui
e3eb597331 scanner: scan frosting blocks in binary scanner 2024-10-30 15:16:32 +00:00
linsui
5c32d5bb38 Merge branch 'checkupdates-merge-request' into 'master'
checkupdates: --merge-request flag for single app runs then a MR

See merge request fdroid/fdroidserver!1149
2024-10-30 14:44:28 +00:00
Hans-Christoph Steiner
9a34590e95 checkupdates: make merge-request per appid on push 2024-10-30 14:43:45 +00:00
Hans-Christoph Steiner
66a340fe89 checkupdates: add --verbose progress to push_commits() 2024-10-30 14:43:45 +00:00
Hans-Christoph Steiner
206f07364b checkupdates: remove appid branches that have been merged
To avoid having thousands of branches on checkupdatess-bot's remote, this
cleans up any remote branches that are pointing to commit that has been
fully merged.
2024-10-30 14:43:45 +00:00
Hans-Christoph Steiner
78b368f88b enforce black code format for tests/checkupdates.TestCase 2024-10-30 14:43:45 +00:00
Hans-Christoph Steiner
e03915e391 deploy: ensure progress is instantiated before trying to use it 2024-10-30 14:43:45 +00:00
Hans-Christoph Steiner
4c225f02d2 checkupdates: push_commits() to push auto-branch when new commits 2024-10-30 14:43:45 +00:00
Hans-Christoph Steiner
a9db97d214 Merge branch 'catalog2' into 'master'
scanner: catalog: get catalog from parent dirs

See merge request fdroid/fdroidserver!1540
2024-10-30 13:51:12 +00:00
linsui
24dc3baadf scanner: catalog: relax VERSION_CATALOG_REGEX
There may be other blocks in dependencyResolutionManagement
2024-10-20 21:21:28 +08:00
linsui
4c3dd9c76c scanner: catalog: get catalog from parent dirs
When walking through the repo, there may be another settings.gradle in a
sub project with a different catalog. In the subdir the catalog of the
sub project shuold be used and in other subdir the catalog of the root
project should be used.
2024-10-20 21:21:28 +08:00
Hans-Christoph Steiner
399ac608c7 Merge branch 'apkcache_no_checksum' into 'master'
Use mtime and file size for apkcache

See merge request fdroid/fdroidserver!1542
2024-10-18 10:50:57 +00:00
Jochen Sprickerhof
3544d5195d Use mtime and file size for apkcache
This reduces the update time significantly as we no longer compute the
sha256 for every apk.
2024-10-18 10:41:15 +00:00
Hans-Christoph Steiner
1e919a6e19 Merge branch 'doc_repo_web_base_url' into 'master'
Document repo_web_base_url

See merge request fdroid/fdroidserver!1178
2024-10-15 16:36:02 +00:00
Jochen Sprickerhof
de2f05e4da
Document repo_web_base_url 2024-10-15 18:31:56 +02:00
Hans-Christoph Steiner
5fbd5ed2d1 Merge branch 'move-mirror-script' into 'master'
mv mirror push script to fdroid-bootstrap-buildserver

See merge request fdroid/fdroidserver!1545
2024-10-11 09:44:11 +00:00
Hans-Christoph Steiner
40c6b7d9cf mv mirror push script to fdroid-bootstrap-buildserver
This script is only part of the production _buildserver_, so it should
be managed by the Ansible setup for the production _buildserver_.

fdroid-bootstrap-buildserver!26
2024-10-11 09:44:03 +00:00
Jochen Sprickerhof
ae42710d33 Merge branch 'flutter-triple-t' into 'master'
Consider subdir for Flutter app triple-t metadata discover

See merge request fdroid/fdroidserver!1541
2024-10-10 12:51:16 +00:00
linsui
deabd7bdc0 Consider subdir for Flutter app triple-t metadata discover 2024-10-10 12:50:59 +00:00
Hans-Christoph Steiner
f446be6c0c Merge branch 'gradlew_plugin' into 'master'
gradlew: fix plugin version

See merge request fdroid/fdroidserver!1544
2024-10-09 10:03:38 +00:00
linsui
eadfe415b0 gradlew: fix plugin version 2024-10-09 00:48:47 +08:00
Jochen Sprickerhof
b9ff024775 Merge branch 'read_metadata' into 'master'
Read only metadata of apps given on the command line

See merge request fdroid/fdroidserver!1037
2024-10-06 08:35:05 +00:00
Jochen Sprickerhof
15d3a3612d
Drop duplicated code (already done in get_metadata_files) 2024-10-06 10:25:19 +02:00
Jochen Sprickerhof
4d0a21f336
Use vercodes in read_metadata interface
read_metadata is only called in read_app_args with an argument. As
vercodes is already there, drop the duplicate call.
2024-10-06 10:25:19 +02:00
Jochen Sprickerhof
8ab1d53318
Read only metadata of apps given on the command line 2024-10-06 10:25:19 +02:00
linsui
66018d3f09 Merge branch 'catalog' into 'master'
scanner: catalog: dependency declaration can be declared as a simple string

See merge request fdroid/fdroidserver!1536
2024-09-27 16:33:58 +00:00
linsui
2ceec6b9d6 scanner: catalog: dependency declaration can be declared as a simple string 2024-09-27 14:28:55 +00:00
Hans-Christoph Steiner
1323751835 Merge branch 'gradle-release-checksums.py' into 'master'
update to gradle v8.10.2

See merge request fdroid/fdroidserver!1538
2024-09-25 11:08:17 +00:00
fdroid-bot
2a13d6d400 gradle v8.10.2 2024-09-25 10:58:29 +00:00
Hans-Christoph Steiner
ba91b71d60 Merge branch 'ipfs-cid' into 'master'
Only check for ipfs_cid when doing fdroid update

See merge request fdroid/fdroidserver!1503
2024-09-25 10:57:55 +00:00