1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

Add Static update check mode (issue #201)

This commit is contained in:
Ciaran Gultnieks 2013-03-23 07:35:09 +00:00
parent 7c8b3f09e7
commit 81d20c7637
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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'