Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] repoman: Set max DESCRIPTION length to 80, #562808
Date: Mon, 12 Oct 2015 15:58:17
Message-Id: 561BD892.5030605@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] repoman: Set max DESCRIPTION length to 80, #562808 by "Michał Górny"
1 On 10/12/2015 12:52 AM, Michał Górny wrote:
2 > Correct the max DESCRIPTION length in qa_data, and remove the comment
3 > confusingly suggesting that the variable name is taken into the count.
4 >
5 > Bug: https://bugs.gentoo.org/show_bug.cgi?id=562808
6 > ---
7 > pym/repoman/qa_data.py | 3 +--
8 > 1 file changed, 1 insertion(+), 2 deletions(-)
9 >
10 > diff --git a/pym/repoman/qa_data.py b/pym/repoman/qa_data.py
11 > index dddfb98..df9b836 100644
12 > --- a/pym/repoman/qa_data.py
13 > +++ b/pym/repoman/qa_data.py
14 > @@ -7,8 +7,7 @@ from _emerge.Package import Package
15 > # import our initialized portage instance
16 > from repoman._portage import portage
17 >
18 > -# 14 is the length of DESCRIPTION=""
19 > -max_desc_len = 100
20 > +max_desc_len = 80
21 > allowed_filename_chars = "a-zA-Z0-9._-+:"
22 >
23 > qahelp = {
24 >
25
26 Looks good.
27 --
28 Thanks,
29 Zac

Replies