Gentoo Archives: gentoo-portage-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] About adding a repoman check to test for missing files in FILESDIR
Date: Tue, 09 Oct 2012 09:02:35
Message-Id: 20121009064933.GV912@gentoo.org
In Reply to: Re: [gentoo-portage-dev] About adding a repoman check to test for missing files in FILESDIR by Pacho Ramos
1 On 08-10-2012 20:47:41 +0200, Pacho Ramos wrote:
2 > El lun, 08-10-2012 a las 11:32 -0700, Zac Medico escribió:
3 > > Given the expressiveness of the bash language, it's really a non-trivial
4 > > thing to check without actually executing bash. See discussion here:
5 > >
6 > > https://bugs.gentoo.org/show_bug.cgi?id=431196
7 >
8 > Then, maybe I could have a custom repoman script that would check for
9 > them in my "files/" directory (either using bash to check for them or
10 > simply running "ls") :/
11
12 Yes, but still it is very hard to make it 100% reliable. If you stick
13 to simple "${FILESDIR}"/${PN}-x.y.patch patterns, it's very well
14 feasible, though. See for inspiration the fetch_files() function from [1].
15
16
17 [1] http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/scripts/eupdate.in
18
19
20 --
21 Fabian Groffen
22 Gentoo on a different level

Attachments

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