From: | Mike Gilbert <floppym@g.o> | ||
---|---|---|---|
To: | gentoo-portage-dev@l.g.o | ||
Subject: | Re: [gentoo-portage-dev] [PATCH v3] news: Support News-Item-Format 2.0 | ||
Date: | Wed, 07 Sep 2016 21:07:23 | ||
Message-Id: | CAJ0EP43J2mUwL50D3yPYiFUB8kvuYAhj=wqRK9MVf4ssQ_1cqw@mail.gmail.com | ||
In Reply to: | Re: [gentoo-portage-dev] [PATCH v3] news: Support News-Item-Format 2.0 by Zac Medico |
1 | On Wed, Sep 7, 2016 at 3:26 AM, Zac Medico <zmedico@g.o> wrote: |
2 | > On 09/04/2016 10:04 AM, Mike Gilbert wrote: |
3 | >> def isValid(self): |
4 | >> + if fnmatch.fnmatch(self.format, '1.*'): |
5 | >> + return isvalidatom(self.atom, eapi='0') |
6 | > |
7 | > We might want to check the existing news items to make sure that they |
8 | > are all conformant here. |
9 | > |
10 | |
11 | Good idea. I cleared out /var/lib/gentoo/news, and did not hit any |
12 | errors when emerge re-evaluated them. |