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

Re: bugtraq properties in the command line client?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-13 19:10:06 CET

Ben Reser wrote:
> On Thu, Jan 13, 2005 at 05:30:37PM +0100, SteveKing wrote:
>> as you guys might have heard already, TSVN has defined and implemented
>> some new properties to integrate svn clients with bugtracking systems.
>> They're all documented here:
>> http://svn.collab.net/repos/tortoisesvn/trunk/doc/issuetrackers.txt
>> Now those properties are mostly only useful for GUI clients, but I was
>> thinking that some of them could be even used in the command line
>> client. The props I'm talking about are
>> bugtraq:message
>> bugtraq:append
>> The command line client, when specified to use a text editor to enter a
>> log message pre-fills the text editor with a list of files to commit. In
>> the same function, those properties could be used to add another line to
>> the log message template so the user knows the format of how the
>> bugtracking information has to be entered into the log message.
> I don't think this is appropriate functionality for the command line
> client to have. If we do anything we should make it so people can
> implement their own scripts to generate the templates.
> Then people wanting the functionality can drop such scripts into their
> config to handle this, rather than us trying to code configurability for
> every imagineable workflow.

To some extent that makes sense - a "client side hook", called to generate
template log messages.

On the other hand, such things could not be configurable by the repository,
since that would provide the opportunity for the server to run arbitrary
code on the client at commit time, which would be a major security hole.

Perhaps instead what we need is a generic "log-template" configuration
thing, determined by the repository, which would be a text string, which has
certain substitutions performed on it by the client.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jan 13 19:11:28 2005

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.