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

Re: changing svnlook / svnadmin (was: Confusing syntax)

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-08-15 06:16:34 CEST

On Wed, Aug 14, 2002 at 11:20:23PM -0400, Greg Hudson wrote:
> On Wed, 2002-08-14 at 20:21, Greg Stein wrote:
> > At lunch, I was talking with the guys, and suggested that we might want to
> > replace svnadmin with a Python script. Maybe svnlook, too. Those two
> > programs only run on the machine where the repository is located. It might
> > be reasonable to say that Python is required for the administrators. (we
> > would *never* want to do that for users, tho)
> -1 on this. Close to -1 even if only Python were required, and not
> SWIG. There's just no reason to introduce this dependency.

hehe... All righty. I was kinda thinking it might not be advisable for
something as simple as 'svnadmin create' to require Python+SWIG :-)

> > Maybe we can just say that some of the more esoteric svnadmin/svnlook
> > features are removed in favor of some Python-based tools. (e.g. the "shell"
> > subcommand in svnadmin)
> That would be okay, as long as "esoteric" doesn't start to include stuff
> you can't do any other way.

Here are svnadmin commands that I think don't need to be imp'd in C, and
which we could shift off to some Python code:

* createtxn: this just isn't needed for repos admin. it is in there for
  testing purposes, if I understand its heritage correctly. nuke it.
  [well, "nuke" means toss from C and into a Python (example) script]

* lscr: move to svnlook. possibly nuke; I'm not sure of its use case.

* lsrevs: move to svnlook or nuke. printing trees doesn't seem interesting.

* shell: definitely nuke.

* youngest: move to svnlook.

svnadmin would keep: create, dump, load, lstxns, rmtxns, setlog, undeltify

For svnlook, the only thing that I'd toss would be the "ids" command.


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 Thu Aug 15 06:12:50 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.