From 81d20c76376dd062ff4f94860500818d69b840b6 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Sat, 23 Mar 2013 07:35:09 +0000 Subject: [PATCH] Add Static update check mode (issue #201) --- docs/fdroid.texi | 5 ++++- fdroidserver/checkupdates.py | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/fdroid.texi b/docs/fdroid.texi index bd181094..2be5524d 100644 --- a/docs/fdroid.texi +++ b/docs/fdroid.texi @@ -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 diff --git a/fdroidserver/checkupdates.py b/fdroidserver/checkupdates.py index 0242d325..d72257ad 100644 --- a/fdroidserver/checkupdates.py +++ b/fdroidserver/checkupdates.py @@ -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' -- 2.30.2