Hans-Christoph Steiner
173c1d67f4
KnownApks: appid is no longer needed at all, remove it.
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
25779e8b32
checkupdates: --merge_request commits to branch named after appid
2024-10-30 18:35:34 +01:00
linsui
e3eb597331
scanner: scan frosting blocks in binary scanner
2024-10-30 15:16:32 +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
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
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
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
linsui
deabd7bdc0
Consider subdir for Flutter app triple-t metadata discover
2024-10-10 12:50:59 +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
2ceec6b9d6
scanner: catalog: dependency declaration can be declared as a simple string
2024-09-27 14:28:55 +00:00
g0t mi1k
5f7203ddf2
Only check for ipfs_cid when doing fdroid update
2024-09-25 11:44:05 +01:00
linsui
eff0ef48f4
scanner: support libs.versions.toml
2024-09-23 16:35:27 +08:00
Hans-Christoph Steiner
0d5c7516f2
throw error when CLI appid args end with a : but no Version Code
...
This is already the behavior in read_app_args(), but wasn't implemented in
read_pkg_args() yet.
2024-09-23 08:21:21 +00:00
Leo Heitmann Ruiz
0cee694c43
Remove all mentions of Flattr
2024-09-23 07:59:08 +00:00
Hans-Christoph Steiner
043492277e
scanner: always use built-in ruleset when running tests
...
The SUSS rule sets are changing all the time, but the test cases are not.
So this makes the test cases just use the built-in ruleset so the test
cases don't randomly break.
2024-09-21 17:20:11 +02:00
linsui
afc31e115e
Show \r when diffing reproducible apk
2024-09-19 20:19:44 +08:00
Licaon_Kter
02f0052806
scanner - jcenter is gone
2024-09-17 15:58:02 +00:00
Hans-Christoph Steiner
fe3d929f67
deploy: lists for command lines to handle escaping
...
fdroidserver uses lists of strings to handle the escaping command line
arguments, this converts the rclone code to that pattern.
2024-09-17 10:16:57 +00:00
Hans-Christoph Steiner
5126a58af8
deploy: rclone_config always as list to avoid code duplication
2024-09-17 10:16:57 +00:00
linsui
8648954f19
import_subcommand.py: misc fixes and updates
2024-09-16 19:48:02 +08:00
linsui
faac9b38c8
import_subcommand.py: move functions from common.py
...
These functions are only used in this file
2024-09-12 22:14:28 +08:00
linsui
5da4e670dd
import_subcommand.py: format
2024-09-12 22:12:06 +08:00
Hans-Christoph Steiner
492d4a5619
fix typo in translatable string: s,itmes,items,g
2024-09-10 17:00:54 +02:00
Hans-Christoph Steiner
fe1c6b5149
run tests/refresh-SUSS_DEFAULT.py
2024-09-10 11:11:34 +02:00
SilentGhost
8e89cf511d
Correct traversing cibase
...
Partly revert d9aab228 and fix bug introduced in 548f73d9 :
modifying list that is being iterated over
2024-09-06 15:05:36 +02:00
linsui
0ad2820b6f
lint: check config keys
2024-09-05 18:54:46 +08:00
linsui
debac3fd61
lint.py: format
2024-09-05 02:09:55 +08:00
linsui
9b633fb827
scanner: fix build_dir type
2024-09-04 23:58:09 +08:00
linsui
4e829e2f19
scanner: fix npm lock file name
2024-09-04 22:32:48 +08:00
linsui
9482ddfbe3
scanner: support workspace for lock files
2024-09-04 22:32:48 +08:00
linsui
9ccb3b5f0d
Remove comment of google mave repo to workground a bug of ruff
2024-08-31 02:45:14 +08:00
linsui
8884732114
scanner.py: skip format on hex literal
2024-08-31 01:47:26 +08:00
linsui
1d796b734f
scanner: error on dependency files without lock file
2024-08-30 13:46:17 +02:00
linsui
c3644464ff
scanner.py: format
2024-08-30 13:46:17 +02:00
WrenIX
d1d1eb4c53
chore(nightly): improve log messages
2024-08-29 09:58:27 +02:00
WrenIX
d9aab228e2
fix(nightly): workaround for broken os.walk and more logging
2024-08-29 00:51:30 +02:00
g0t mi1k
19aef075b4
Drop --reset-server
2024-08-15 15:44:59 +00:00
Jochen Sprickerhof
0edc732705
Support UpdateCheckName in dirs_with_manifest
...
Closes : #1155
2024-07-25 10:45:27 +02:00
Michael Pöhn
8cf4503a00
🐜 scanner: fix ScannerTool init crash
...
When scanner.py::ScannerTool is instatiated but the calling code was
started by a call to e.g. `build.py` ScannerTool will crash. This change
makes it so that ScannerTool will intializes with a default value
instead of crashing when triging to access a non existen cli argument.
also see https://gitlab.com/fdroid/fdroidserver/-/issues/1212
2024-07-25 06:54:42 +00:00
Jochen Sprickerhof
e1aaa3ce93
Replace unmaintained appdirs by platformdirs
...
8734277956
2024-07-25 08:36:45 +02:00
linsui
d1856bea26
Prune origin before fetch
2024-07-10 15:33:51 +08:00
Hans-Christoph Steiner
fbb6772e37
always use GitLab Pages, not Artifacts, with index-only mode
...
If the repo is too large, then it'll hit the GitLab Pages limit. That is
basically impossible in index-only mode, so it should always use Pages.
2024-07-03 09:18:22 +00:00
Hans-Christoph Steiner
034e83bfca
deploy: complete index-only support for awsbucket:
2024-07-03 09:18:22 +00:00