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

[POST 1.0 task] Custom Keywords - Issue 890

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-02-02 17:17:51 CET

I have begun working to update the patch that Plasma submitted lo these many
months ago to support custom keywords:

        http://subversion.tigris.org/issues/show_bug.cgi?id=890

based on Eric Gillespie's excellent design suggestions.

My first pass is to bring the existing patch in line with the [many] changes to
the source files since June 2003. In this, I am mostly sucessful (export from a
URL works but export from a WC cores). Once I get past that problem, I'll
attach it to the issue and begin looking at redesigning it to be more flexible
(with input from the list).

I am doing this for strictly selfish reasons; I need to have a $Version: $
keyword and No, $Revision: $ isn't in any way, shape, or form equivalent.
Consequently, I am mostly interested in the '%p' format (and will probably take
plasma's SVN_KEYWORD_PLASMA and make it the more generic SVN_KEYWORD_PROPERTY).

I don't want to distract anyone from testing 1.0.0 for release on schedule, but
I am moving from our CVSNT-based repository in the next couple of months and
want/need to get at least plasma's existing version working now, before I convert.

I welcome any and all suggestions, not limited to:

1) How to keep sitewide custom keyword definitions somewhere in the repository,
instead of requiring all .subversion/config files to be maintained in sync;

2) How to reduce the maze of hardcoded if() tests in the source to be a more
generic single test vs a hash of keywords (default plus site configured);

3) How to handle the limitation on keywords being currently being unable to span
lines (this may be as simple as truncating to a fixed width).

If this becomes a protracted argument/discussion which is distracting the dev
list overmuch, I would be happy to set up a custom listserv for offline
discussions...

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 2 17:17:50 2004

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.