Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] repoman: Add a check for relative dosym candidates
Date: Sat, 15 Apr 2017 21:59:31
Message-Id: 1492293564.5563.0.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] repoman: Add a check for relative dosym candidates by Zac Medico
1 On sob, 2017-04-15 at 10:11 -0700, Zac Medico wrote:
2 > On Sat, Apr 15, 2017 at 4:04 AM, Michał Górny <mgorny@g.o> wrote:
3 > > diff --git a/repoman/pym/repoman/modules/scan/ebuild/checks.py b/repoman/pym/repoman/modules/scan/ebuild/checks.py
4 > > index 57c8b10a5..e6e5d78ba 100644
5 > > --- a/repoman/pym/repoman/modules/scan/ebuild/checks.py
6 > > +++ b/repoman/pym/repoman/modules/scan/ebuild/checks.py
7 > > @@ -921,7 +921,7 @@ class EbuildNonRelativeDosym(LineCheck):
8 > > def check(self, num, line):
9 > > match = self.regex.match(line)
10 > > if match:
11 > > - return "dosym '%s' could use relative path" % (match.group(1), ) + " on line: %d"
12 > > + return "dosym '%s'... could use relative path" % (match.group(1), ) + " on line: %d"
13 > >
14 > >
15 > > _base_check_classes = (InheritEclass, LineCheck, PhaseCheck)
16 >
17 > It looks like you forgot to post a first patch in this series, because
18 > I don't see a EbuildNonRelativeDosym class anywhere:
19 >
20 > https://github.com/gentoo/portage/search?utf8=%E2%9C%93&q=EbuildNonRelativeDosym&type=
21 >
22
23 Yeah, I'm sorry, I forgot that I had an earlier commit and didn't squash
24 it properly.
25
26 --
27 Best regards,
28 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature