[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svndumpfilter - rfc.

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-04-11 21:29:54 CEST

On Fri, Apr 11, 2003 at 10:44:15AM -0400, Paul Lussier wrote:
> In a message dated: 11 Apr 2003 09:32:27 CDT
> cmpilato@collab.net said:
> >Paul Lussier <pll@lanminds.com> writes:
> >
> >> Greg> It is a frickin' text file with quite easy-to-handle syntax
> >> Greg> and semantics.
> >>
> >> IMO, this screams for a perl solution :)
> >
> >The man quotes Greg Stein, and then says he wants Perl. All I have to
> >say is, I'm shielding my eyes from the carnage now.

*laf*

> I have nothing against Python, other than I don't know it, and as
> yet, I've not seen a reason to learn yet another scripting language.
> Perl was specifically designed with text munging in mind, and since
> that's what I spend most of my life as a sysadmin doing, I'm pretty
> good at it.

Oh, by all means. We have a number of Perl scripts in our tools/ area, and
it would be nice to add one for filtering. As Alexander said, the
svndumpfilter is a very fine tool, and does its work quite well. I just tend
to think that a Perl/Python script will enable new kinds of features and
functionality that we haven't thought about and/or are unwilling to invest
time in at this point.

Regarding Perl vs Python. Yes, Perl is great at text processing. Personally,
I think it falls over once you start to manipulate data structures. In this
case, you're going to parse the dumpfile into structures, then manipulate
those in some logical way. I'd choose Python for that, but if you can get
Perl to work... more power to ya :-)

> If you don't want a Perl solution, that's fine. I'm simply offering

Oh no... we'd go ahead and add that to our tools/ area.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 11 21:26:13 2003

This is an archived mail posted to the Subversion Dev mailing list.