Adjust the max DESCRIPTION.toolong length to 100 characters so that
authorZac Medico <zmedico@gentoo.org>
Fri, 11 Jan 2008 22:24:30 +0000 (22:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 11 Jan 2008 22:24:30 +0000 (22:24 -0000)
it's not too small and only about 3% of packages will trigger it.

svn path=/main/trunk/; revision=9186

bin/repoman

index 3cb2b68effc5b65acf079064e38806fd82442429..71e6ded72a3e3239cfd5157fb1f504748cf6ce34 100755 (executable)
@@ -74,7 +74,7 @@ from portage.output import ConsoleStyleFile, StyleWriter
 initialize_logger()
 
 # 14 is the length of DESCRIPTION=""
-max_desc_len = 80 - 14
+max_desc_len = 100
 allowed_filename_chars="a-zA-Z0-9._-+:"
 allowed_filename_chars_set = {}
 map(allowed_filename_chars_set.setdefault, map(chr, range(ord('a'), ord('z')+1)))
@@ -261,7 +261,7 @@ qahelp={
        "KEYWORDS.stupid":"Ebuilds that use KEYWORDS=-* instead of package.mask", 
        "LICENSE.missing":"Ebuilds that have a missing or empty LICENSE variable",
        "DESCRIPTION.missing":"Ebuilds that have a missing or empty DESCRIPTION variable",
-       "DESCRIPTION.toolong":"DESCRIPTION line is over 80 characters",
+       "DESCRIPTION.toolong":"DESCRIPTION is over 100 characters",
        "EAPI.unsupported":"Ebuilds that have an unsupported EAPI version (you must upgrade portage)",
        "SLOT.missing":"Ebuilds that have a missing or empty SLOT variable",
        "HOMEPAGE.missing":"Ebuilds that have a missing or empty HOMEPAGE variable",