chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4db4a86
)
lint: complain about useless Name: fields
author
Daniel Martí
<mvdan@mvdan.cc>
Sun, 7 Jun 2015 12:03:15 +0000
(14:03 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sun, 7 Jun 2015 12:03:15 +0000
(14:03 +0200)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index cf63cf6eb214a59737703eaf9cfc0b4700f30d58..89c5c9a93a52b657a211fe090158a39f729b6892 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-170,6
+170,9
@@
def main():
elif not app['Categories']:
warn("Categories are not set")
+ if app['Name'] and app['Name'] == app['Auto Name']:
+ warn("Name '%s' is just the auto name" % app['Name'])
+
name = app['Name'] or app['Auto Name']
if app['Summary'] and name:
if app['Summary'].lower() == name.lower():