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

Re: HTTP GET doesn't do keyword replacement?

From: Daniele Nicolodi <daniele_at_grinta.net>
Date: 2003-12-20 11:53:30 CET

On Fri, Dec 19, 2003 at 11:05:08PM -0800, Ben Reser wrote:

> I'll get around to looking at it eventually, I certainly wanted to use
> urls like http://foo/project/current/filename.pl to link to the current
> version of some scripts without having to update them or export stuff
> out of the repo to another URL, but still provide keywords so I can tell
> what version they actually ended up with.

You can write a "proxy" cgi script, peraps in python, that given a path
in the repository take the file and do keyword substitution then return
the result to the browser. You can call it trasparently like

http://server/proxy.py/path/to/file/in/repository

and guess the path of file in the repository from REQUEST_PATH.

Ciao

-- 
Daniele
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Dec 20 11:57:17 2003

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.