Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: mattst88@g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-admin/chrpath: ChangeLog chrpath-0.13-r2.ebuild
Date: Tue, 11 Oct 2011 19:47:13
Message-Id: 20111011214847.0d03c511@pomiocik.lan
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in app-admin/chrpath: ChangeLog chrpath-0.13-r2.ebuild by Matt Turner
1 On Tue, 11 Oct 2011 14:50:30 -0400
2 Matt Turner <mattst88@g.o> wrote:
3
4 > On Tue, Oct 11, 2011 at 2:34 PM, Samuli Suominen
5 > <ssuominen@g.o> wrote:
6 > > I just hope nobody will take an example of the ebuild with code
7 > > duplication (multiple epatch calls), overquoting, redudant use of
8 > > find when rm is more than enough, ...
9 >
10 > I haven't looked, but if we don't already, a little style guide would
11 > be very cool. I wouldn't think of most of these things without seeing
12 > it somewhere else first.
13 >
14 > It looks like the epatch devmanual page uses multiple calls. :\
15
16 I don't think that passing multiple files to epatch actually improves
17 readability. Simple example:
18
19 # bug #123456, foo, bar
20 epatch "${FILESDIR}"/${P}-foo.patch
21 # bug #234567, baz bazinga blah blah
22 epatch "${FILESDIR}"/${P}-baz.patch
23
24 With multiple arguments, you can't put comments in the middle.
25
26 --
27 Best regards,
28 Michał Górny

Attachments

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

Replies

Subject Author
[gentoo-dev] Re: Re: [gentoo-commits] gentoo-x86 commit in app-admin/chrpath: ChangeLog chrpath-0.13-r2.ebuild Steven J Long <slong@××××××××××××××××××.uk>