chiark / gitweb /
lint: warn about empty descriptions
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 16 May 2014 11:04:31 +0000 (13:04 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 16 May 2014 11:04:31 +0000 (13:04 +0200)
If some app has the default description because it's not going to be published
or will never have a working build, the whole app should be disabled.

fdroidserver/lint.py

index 1f16426e56bb1fcbaf6abff7e8ce49136cbb2711..261a20170a33187c1969beb2cedc499f991eb3f5 100644 (file)
@@ -74,6 +74,8 @@ regex_warnings = {
          "gitorious URLs should always use https:// not http://"),
         ],
     'Description': [
+        (re.compile(r'^No description available$'),
+         "Description yet to be filled"),
         (re.compile(r'[ ]*[*#][^ .]'),
          "Invalid bulleted list"),
         (re.compile(r'^ '),