Re: get subversion revision-number in a django-project

2007-06-18 Thread Frank Tegtmeyer
"Joseph Heck" <[EMAIL PROTECTED]> writes: > generally invoking "svnversion" is the easiest way to get this. This works only if you are not using an export. What works there also is keyword replacement (LastChangedRevision). Unfortunately you have to change the file that tracks the revision for

Re: get subversion revision-number in a django-project

2007-06-16 Thread Udi
Ok. I was trying something similar and I found that getting ant and svn talking nicely was a hassle. I ended up coming up with another solution that I've never heard of anyone else using that I think makes some sense. Instead of the svn version number, I have my ant build script take the

Re: get subversion revision-number in a django-project

2007-06-16 Thread Gábor Farkas
Udi wrote: > Mind if I ask why? > i've got the idea from here: http://www.thinkvitamin.com/features/webapps/serving-javascript-fast the idea is that you serve all your media files (js/css/png/jpg) at urls that contain for example the svn version number, like: /media/1432/js/form.js and you

Re: get subversion revision-number in a django-project

2007-06-15 Thread Joseph Heck
I don't know about Gabor, but I actually use it in a dashboard view on my site to know what version of the software is deployed at any given time. Very handy that way. -joe On 6/15/07, Udi <[EMAIL PROTECTED]> wrote: > > Mind if I ask why? > > Udi > > > > >

Re: get subversion revision-number in a django-project

2007-06-15 Thread Udi
Mind if I ask why? Udi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL

Re: get subversion revision-number in a django-project

2007-06-15 Thread David Reynolds
Gabor, On 15 Jun 2007, at 9:18 am, Gábor Farkas wrote: hi, in my project i need to get the svn-revision-number of the project somehow. in other words, i need to be able to find out my project's revision number in python (i am not talking about django's revision-number. i'm talking about

get subversion revision-number in a django-project

2007-06-15 Thread Gábor Farkas
hi, in my project i need to get the svn-revision-number of the project somehow. in other words, i need to be able to find out my project's revision number in python (i am not talking about django's revision-number. i'm talking about my own revision number) the best way i could find is to