summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-01-11 22:25:02 +0000
committerZac Medico <zmedico@gentoo.org>2008-01-11 22:25:02 +0000
commit10b8ce68c3088f3fba8ce472ed6e22ab00eb2087 (patch)
tree5b24d07c84d35f1beda41df76feb3618b5227110
parent80305c7076983e28938d03ebce0e6ed4453ea15b (diff)
downloadportage-10b8ce68c3088f3fba8ce472ed6e22ab00eb2087.tar.gz
portage-10b8ce68c3088f3fba8ce472ed6e22ab00eb2087.tar.bz2
portage-10b8ce68c3088f3fba8ce472ed6e22ab00eb2087.zip
Adjust the max DESCRIPTION.toolong length to 100 characters so that
it's not too small and only about 3% of packages will trigger it. (trunk r9186) svn path=/main/branches/2.1.2/; revision=9187
-rwxr-xr-xbin/repoman4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman
index e93f6593d..233799d77 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -35,7 +35,7 @@ exename=os.path.basename(sys.argv[0])
version="1.2"
# 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)))
@@ -170,7 +170,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",