Gentoo Archives: gentoo-portage-dev

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