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

[feature] log header for webdav autocommit

From: Stephen Haberman <stephen_at_exigencecorp.com>
Date: 2005-01-13 05:58:19 CET

Hi,

I wanted to file a feature request and am following the Issue Tracker
directions.

Short description:

WebDAV PUT autoversioning looks for an optional "Log" HTTP header to use
instead of the generic log message.

Rationale:

Every so often, I've wanted to get things into and out of a svn repo with
Python. I've looked at SubWiki, the svn bindings, etc., and know those
things are possible, but I've found the simplest solution to just be HTTP
GETs/PUTs.

Integrated with py-curl to handle ssl and digest auth, in ~8 lines of code
(~4 of those being setting ssl/digest options on py-curl), I can get a
single file into and out of svn with great ease.

For my simple purposes, this is really cool.

My only gripe is the auto-generated log message that result from PUTs. I get
that the generic log message is a fine first step and Autoversioning in and
of itself is darn neat.

I'd just like to have meaningful log messages, and I thought a "Log" HTTP
header would be the easiest for me to drop into a py-curl PUT and the
easiest way for the WebDAV stuff to get back out.

Other notes:

I came across someone else using WebDAV PUT and having problems with setting
svn:mime-type properties. Perhaps a general mechanism for setting both file
properties and the log message from HTTP headers could be rolled into the
WebDAV stuff.

Plea:

This doesn't sound like rocket science, so I ViewCVS'd into the mod_dav_svn
code to see what I could make of it. Unfortunately, Java and Python have
made me soft. Structs, bit brigades, and batons are forcing me to file this
as a [feature] rather than a [patch].

Does this sound like a feature request I should put into the issue tracker?

Thanks,
Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 13 06:00:47 2005

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

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