Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-pms
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Ulrich Mueller <ulm@g.o>
From: Ciaran McCreesh <ciaran.mccreesh@...>
Subject: Re: [PATCH] How about a \ChangeWhenAddingAnEAPI marker?
Date: Sun, 6 May 2012 20:42:34 +0100
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
Attachment:
signature.asc (PGP signature)
Replies:
Re: [PATCH] How about a \ChangeWhenAddingAnEAPI marker?
-- Ulrich Mueller
Re: [PATCH] How about a \ChangeWhenAddingAnEAPI marker?
-- Brian Harring
References:
[PATCH] How about a \ChangeWhenAddingAnEAPI marker?
-- Ciaran McCreesh
Re: [PATCH] How about a \ChangeWhenAddingAnEAPI marker?
-- Ulrich Mueller
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [PATCH] How about a \ChangeWhenAddingAnEAPI marker?
Next by thread:
Re: [PATCH] How about a \ChangeWhenAddingAnEAPI marker?
Previous by date:
Re: [PATCH] How about a \ChangeWhenAddingAnEAPI marker?
Next by date:
Re: The "Feature Availability by EAPI" table is ugly


Updated Jul 18, 2012

Summary: Archive of the gentoo-pms mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.