mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Add Static update check mode (issue #201)
This commit is contained in:
parent
7c8b3f09e7
commit
81d20c7637
2 changed files with 6 additions and 1 deletions
|
|
@ -916,7 +916,10 @@ Valid modes are:
|
|||
|
||||
@itemize
|
||||
@item
|
||||
@code{None} - No checking is done
|
||||
@code{None} - No checking is done because there's no appropriate automated way
|
||||
of doing so. Updates should be checked for manually.
|
||||
@item
|
||||
@code{Static} - No checking is done - updated versions are not expected.
|
||||
@item
|
||||
@code{RepoManifest} - The AndroidManifest.xml file in the most recent commit
|
||||
in the source repository is checked. The appropriateness of this method depends
|
||||
|
|
|
|||
|
|
@ -221,6 +221,8 @@ def main():
|
|||
(version, vercode) = check_tags(app, sdk_path)
|
||||
elif mode == 'RepoManifest':
|
||||
(version, vercode) = check_repomanifest(app, sdk_path)
|
||||
elif mode == 'Static':
|
||||
pass
|
||||
elif mode == 'None':
|
||||
version = None
|
||||
vercode = 'Checking disabled'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue