public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rfc: versionator.eclass
@ 2004-09-05 22:23 Ciaran McCreesh
  0 siblings, 0 replies; only message in thread
From: Ciaran McCreesh @ 2004-09-05 22:23 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

Here's a little eclass I wrote the other day while out duck hunting
with a judge:

http://dev.gentoo.org/~ciaranm/tmp/versionator.eclass

The idea is to make it easier for people to get rid of a load of those
nasty global scope sed / cut calls. Actually, I lied. The idea is to
stop people from pestering me at 3am asking how to replace the second
hyphen with an underscore.

You could, of course, write a load of bash voodoo like certain ebuilds
do already. This leads to headaches though, especially when people get
it wrong...

Any use? Worth committing? I've got a few things that currently do bash
magic that could be converted over for readability purposes, and I know
others are in a similar situation...

Suggestions welcomed, especially if they come with patches.

-- 
Ciaran McCreesh : Gentoo Developer (Sparc, MIPS, Vim, Fluxbox)
Mail            : ciaranm at gentoo.org
Web             : http://dev.gentoo.org/~ciaranm


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-05 22:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-05 22:23 [gentoo-dev] rfc: versionator.eclass Ciaran McCreesh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox