You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Stephen Haberman <st...@exigencecorp.com> on 2005/01/13 04:58:19 UTC

[feature] log header for webdav autocommit

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