Gentoo Archives: gentoo-portage-dev

From: Pacho Ramos <pacho@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: Mon, 08 Oct 2012 21:06:59
Message-Id: 1349722061.3068.49.camel@belkin4
In Reply to: Re: [gentoo-portage-dev] About adding a repoman check to test for missing files in FILESDIR by Zac Medico
1 El lun, 08-10-2012 a las 11:32 -0700, Zac Medico escribió:
2 > On 10/08/2012 11:26 AM, Pacho Ramos wrote:
3 > > Hello
4 > >
5 > > Sometime ago this was already discussed but, if I don't misremember, it
6 > > was hard to implement a check for repoman to prevent us from forgetting
7 > > to commit new patches. Maybe the check could simply check if all
8 > > "${FILESDIR}" files are present? The idea is that it could simply check
9 > > of that files existence, if they are not present, show a warn (not a
10 > > "hard" warn as it could be a false positive I guess). Regarding that
11 > > file not being added to cvs tree, it doesn't show so much problems as
12 > > that error is already shown at commit time (file present but not added
13 > > to cvs)
14 >
15 > Given the expressiveness of the bash language, it's really a non-trivial
16 > thing to check without actually executing bash. See discussion here:
17 >
18 > https://bugs.gentoo.org/show_bug.cgi?id=431196
19
20 Then, maybe I could have a custom repoman script that would check for
21 them in my "files/" directory (either using bash to check for them or
22 simply running "ls") :/

Attachments

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

Replies