mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-10 01:00:29 +03:00
parent
551fca21b3
commit
dedce2f236
1 changed files with 7 additions and 0 deletions
|
|
@ -690,6 +690,12 @@ def check_updates_expected(app):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def check_updates_ucm_http_aum_pattern(app): # noqa: D403
|
||||||
|
"""AutoUpdateMode with UpdateCheckMode: HTTP must have a pattern."""
|
||||||
|
if app.UpdateCheckMode == "HTTP" and app.AutoUpdateMode == "Version":
|
||||||
|
yield _("AutoUpdateMode with UpdateCheckMode: HTTP must have a pattern.")
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
||||||
global config, options
|
global config, options
|
||||||
|
|
@ -798,6 +804,7 @@ def main():
|
||||||
check_license_tag,
|
check_license_tag,
|
||||||
check_current_version_code,
|
check_current_version_code,
|
||||||
check_updates_expected,
|
check_updates_expected,
|
||||||
|
check_updates_ucm_http_aum_pattern,
|
||||||
]
|
]
|
||||||
|
|
||||||
for check_func in app_check_funcs:
|
for check_func in app_check_funcs:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue