From: Ciaran Gultnieks Date: Wed, 11 Dec 2013 11:22:12 +0000 (+0000) Subject: Add timestamp to index X-Git-Tag: 0.1~112 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=34470eaa2bd2ae7ad80b6c450506e62bfb223665;p=fdroidserver.git Add timestamp to index --- diff --git a/fdroidserver/update.py b/fdroidserver/update.py index ed9476c8..93e1cccd 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -479,6 +479,7 @@ def make_index(apps, apks, repodir, archive, categories): repoel.setAttribute("icon", os.path.basename(config['repo_icon'])) repoel.setAttribute("url", config['repo_url']) addElement('description', config['repo_description'], doc, repoel) + repoel.setAttribute("timestamp", str(int(time.time()))) if config['repo_keyalias'] is not None: