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 @itemize
@item @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 @item
@code{RepoManifest} - The AndroidManifest.xml file in the most recent commit @code{RepoManifest} - The AndroidManifest.xml file in the most recent commit
in the source repository is checked. The appropriateness of this method depends 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) (version, vercode) = check_tags(app, sdk_path)
elif mode == 'RepoManifest': elif mode == 'RepoManifest':
(version, vercode) = check_repomanifest(app, sdk_path) (version, vercode) = check_repomanifest(app, sdk_path)
elif mode == 'Static':
pass
elif mode == 'None': elif mode == 'None':
version = None version = None
vercode = 'Checking disabled' vercode = 'Checking disabled'