Re: [Rest2web-develop] timestamps, svn and modtime
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2008-10-04 21:10:50
|
Andrew Straw wrote: > Michael Foord wrote: > >> Andrew Straw wrote: >> >>> I'm in the process of updating my websites to use rest2web, but I'm >>> hitting one problem -- I keep my files under subversion, which seems >>> unable to maintain a file's "mtime" ( >>> http://subversion.tigris.org/issues/show_bug.cgi?id=1256 ). Thus, when I >>> check out the source for my site with svn, the modtimes are all screwed >>> up. Does anyone have any solutions? Of course, I could simply remove the >>> <% modtime %> from my template, but there must be a better way. >>> >>> The simplest idea I have at the moment is Python code in my template >>> that calls svn and asks for the svn commit time. This could fail >>> gracefully to the file systems mtime if the file was not under svn. >>> >>> >> I like this idea and I can't think of a better solution off the top of >> my head. >> > > OK, I did this and wrote it up at http://code.astraw.com/this-website.html > Great - thanks! Michael > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > -- http://www.ironpythoninaction.com/ http://www.voidspace.org.uk/ http://www.trypython.org/ http://www.ironpython.info/ http://www.theotherdelia.co.uk/ http://www.resolverhacks.net/ |