chiark / gitweb /
wiki: include per-app link to all related activity on gitlab.com
authorHans-Christoph Steiner <hans@eds.org>
Tue, 23 Jan 2018 08:35:41 +0000 (09:35 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Fri, 26 Jan 2018 09:18:41 +0000 (10:18 +0100)
fdroidserver/update.py

index 9b97fdb04c59ee5706d89970b9e3beff7c2e29e0..0e46f7ac623c6e05b644a28c7d137979e583bcf3 100644 (file)
@@ -140,7 +140,7 @@ def update_wiki(apps, sortedids, apks):
             requiresroot = 'Yes'
         else:
             requiresroot = 'No'
-        wikidata += '{{App|id=%s|name=%s|added=%s|lastupdated=%s|source=%s|tracker=%s|web=%s|changelog=%s|donate=%s|flattr=%s|liberapay=%s|bitcoin=%s|litecoin=%s|license=%s|root=%s|author=%s|email=%s}}\n' % (
+        wikidata += '{{App|id=%s|name=%s|added=%s|lastupdated=%s|source=%s|tracker=%s|web=%s|changelog=%s|donate=%s|flattr=%s|liberapay=%s|bitcoin=%s|litecoin=%s|license=%s|root=%s|author=%s|email=%s|activity=%s}}\n' % (
             appid,
             app.Name,
             app.added.strftime('%Y-%m-%d') if app.added else '',
@@ -157,7 +157,9 @@ def update_wiki(apps, sortedids, apks):
             app.License,
             requiresroot,
             app.AuthorName,
-            app.AuthorEmail)
+            app.AuthorEmail,
+            'https://gitlab.com/search?group_id=28397&scope=issues&search=' + appid,
+        )
 
         if app.Provides:
             wikidata += "This app provides: %s" % ', '.join(app.Summary.split(','))