Gentoo Archives: gentoo-pms

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: Ulrich Mueller <ulm@g.o>
Cc: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH] How about a \ChangeWhenAddingAnEAPI marker?
Date: Sun, 06 May 2012 19:45:34
In Reply to: Re: [gentoo-pms] [PATCH] How about a \ChangeWhenAddingAnEAPI marker? by Ulrich Mueller
On Sun, 6 May 2012 21:40:42 +0200
Ulrich Mueller <ulm@g.o> wrote:
> > It's easy to miss some places that have to be updated when adding a > > new EAPI. This hack fixes that. It works like this: > > > In pms.tex, at the top, we say > > > \CurrentEAPIIs{4} > > > Then everywhere where we have EAPI dependent content, we put > > > \ChangeWhenAddingAnEAPI{4} > > > which we can then grep for. Also, if you change the current EAPI, > > and forget to change any of the markers, an error is produced. > > This looks a bit over-engineered to me. Wouldn't simple comments serve > the same purpose?
Comments don't force a failure when you forget about them. Being self-validating makes it hard to screw up accidentally. -- Ciaran McCreesh


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