Stephen Haberman wrote:
> I wanted to file a feature request and am following the Issue Tracker
> directions (first posted to users, then Ben Collins-Sussman requested I
> repost it here).
> Short description:
> HTTP PUT autoversioning looks for an optional "Log" HTTP header to use
> instead of the generic log message.
Is there any kind of support for this in internet standards?
If not, I think it needs to be "X-SVN-Log".
> 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
> 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
> that the generic log message is a fine first step and Autoversioning in
> of itself is darn neat.
> But meaningful log messages would make it even better, and I thought a
> HTTP header would be easy for me to drop into a py-curl PUT request and
> for mod_dav_svn to get back out.
> Other notes:
> I came across someone else using HTTP PUT and having problems with setting
> svn:mime-type properties. Perhaps a general mechanism for setting both
> properties and the log message from HTTP headers could be rolled into
> I don't care about the actual name of the header - e.g. perhaps X-SVN-Log
> more appropriate - I don't know.
> This doesn't sound like rocket science, so I ViewCVS'd into the
> 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
> as a [feature] rather than a [patch].
The basic log message support seems reasonable, and fitting with the general
theme of DAV interoperability with traditional HTTP PUT clients.
I'm not so sure about the properties though. I'm tempted to say "use DAV
I really don't want to reinvent a subset of DAV#s functionality within PUT
I could be persuaded, though, if enough people think that the setting of
properties within PUT requests isn't the top of a slippery slope.
> Does this sound like a feature request I should put into the issue
Wait for some more opinions, but tentatively, for at least the X-SVN-Log
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu Jan 13 19:38:28 2005