From a7daec7c361f21f22876fef40fff95af3b37f7ef Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 12 Apr 2017 17:53:49 +0200 Subject: [PATCH] add char limits for text: Name=30, Video=256, WhatsNew=500 Since this info can come from automated sources, this prevents giant blobs from being mistakenly stuck in these fields. It also brings it inline with the standard lengths other popular app stores use. https://support.google.com/googleplay/android-developer/answer/113469?hl=en https://stackoverflow.com/a/20276565 --- fdroidserver/common.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 02d8aceb..6ffb54ae 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -93,8 +93,11 @@ default_config = { 'keystore': 'keystore.jks', 'smartcardoptions': [], 'char_limits': { + 'Name': 30, 'Summary': 80, 'Description': 4000, + 'Video': 256, + 'WhatsNew': 500, }, 'keyaliases': {}, 'repo_url': "https://MyFirstFDroidRepo.org/fdroid/repo", -- 2.30.2