chiark / gitweb /
downcase all 'localized' key names to match the rest of index-v1
authorHans-Christoph Steiner <hans@eds.org>
Thu, 27 Apr 2017 19:12:49 +0000 (21:12 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 27 Apr 2017 19:12:49 +0000 (21:12 +0200)
commitcdef5bcd92eb15ce2c24fbb02af14883f00f95a5
treea113dfc1bf4a1f1381f7fe675b101760d42b901d
parent9f9f0d1a16e03da1e1ca4a371585877d035828bd
downcase all 'localized' key names to match the rest of index-v1

This is a little omission.  keys that are used in metadata/*.yml all start
with an UpperCase letter, but in fdroidserver, index-v1.json, and
fdroidclient, it is all camelCase with lowercase first letter. The keys
from the 'localized' section are currently never in metadata/*.yml, so
these keys never get downcase.  This change will break fdroidclient
versions that do not also have this change, but since we're in alpha, that
should be fine.

If support for a 'localized' section is added to metadata/*.yml, then the
keys there should probably be UpperCase CamelCase to match the other keys.
fdroidserver/common.py
fdroidserver/lint.py
fdroidserver/update.py
tests/update.TestCase