[Open-graphics] Re: PDF files, version of TEX files in SVN

Jean-Baptiste Note jbnote at gmail.com
Tue Apr 17 15:45:30 EDT 2007


Le Sat, 14 Apr 2007 13:01:41 -0400, Timothy Normand Miller a écrit :

> When you try to download the file, the PHP script does an "svn update"
> on the .tex files and then checks the date stamps to determine whether
> or not to update the PDF files and does so only when the tex file has
> changed.

I've not followed the previous discussion, but wouldn't a server-side hook
which would regenerate the pdf in case of a commit be a better option ?

- lighter on the webserver, which would serve only static content, and
eliminate any potential DOS
- lighter on the svn server, which would not get uneeded connections from
the webserver

http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.hooks

JB



More information about the Open-graphics mailing list