Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: corentin.chary@×××××.com
Subject: Re: [gentoo-dev] Re: euscan proof of concept (like debian's uscan)
Date: Wed, 07 Sep 2011 07:43:16
Message-Id: 20110907094404.39c94aea@pomiocik.lan
In Reply to: Re: [gentoo-dev] Re: euscan proof of concept (like debian's uscan) by Corentin Chary
1 On Wed, 7 Sep 2011 09:32:30 +0200
2 Corentin Chary <corentin.chary@×××××.com> wrote:
3
4 > On Tue, Sep 6, 2011 at 8:20 PM, Matt Turner <mattst88@g.o>
5 > wrote:
6 > > On Sun, Apr 3, 2011 at 1:20 PM, Corentin Chary
7 > > <corentin.chary@×××××.com> wrote:
8 > >> Hi again,
9 > >
10 > > Found a little problem: it's not finding a newer version of
11 > > wireless-regdb, which uses a date-based versioning system. If euscan
12 > > tried to view/parse the directory index where the distfiles are
13 > > located, it would find this new file.
14 > >
15 > > http://euscan.iksaif.net/package/net-wireless/wireless-regdb/
16 >
17 > Hi,
18 > If you try to run euscan on that, you'll get:
19 >
20 > > * Url doesn't seems to depend on version: 20101124 not found in
21 > > http://wireless.kernel.org/download/wireless-regdb/wireless-regdb-2010.11.24.tar.bz2
22 >
23 > What's happenning here is that the version can be found in the url, so
24 > even a directory scan won't find anything because it won't be able to
25 > match files.
26 > It would work correctly if the version was 2010.11.24 or the file was
27 > named wireless-regdb-20101124.tar.bz2.
28 >
29 > Unfortunatly, making that work would probably introduce a lot of false
30 > positive in other cases.
31
32 To be honest, you should be possible to preset PN, PV and other ebuild
33 variables and run the ebuild afterwards to see what SRC_URI it gives.
34 But that's a significant amount of work.
35
36 --
37 Best regards,
38 Michał Górny

Attachments

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