On Mon, 29 May 2006 22:33:17 -0400, Karol Krizka <[EMAIL PROTECTED]> wrote:

> On Mon, 2006-29-05 at 15:39 -0400, Youness Alaoui wrote:
>> Yes, but the file is not read... you should read the svn_rev file, if it
>> doesn't exist, then try the svn command, if it doesn't exist, then use  
>> the
>> $::date
> The problem with this at the moment is that $::date variable is always
> used with a release. So we should probably replace this with a new
> variable called ::revision that will be updated just like $::date is
> now.

not a bad idea....

>
> As for the svn_rev, we could do it like cvs_date, at least for now. Have
> it updated regulary with a cron job. I was looking through out the .svn
> directory and found a file that keeps the current revision embeded in
> bunch of XML. I would first like to figure out how the file is
> structured though so it dosn't change with different versions of svn.
>

lol, I just did too, and I sent a msg on how to use it. I don't think  
they'll ever change the format, it should always be backward compatible..  
anyways, if we fail to get the rev number with my code in the other mail,  
then use the 'svn info' command...
btw, the svn tarball created should have the revision number in a svn_rev  
file created, before the tarring process...

> About the command line checking of revision. If it is a svn build, then
> the svn_rev file should be present. I don't think that there would be a
> need to start a shell and run the svn command. What are others views on
> this?
>
> I started working on this (web and client parts) on my computer. Will
> commit it when everything will be finished.
>

cool, keep us informed.
Thanks,
KKRT

>> also, the revision number is not a date, so watch out for that, it may
>> crash the bug reporting if the DB assumes it should receive a date, not  
>> a
>> string...
>>
>> KaKaRoTo
>>
>> On Mon, 29 May 2006 15:15:00 -0400, Sander Hoentjen <[EMAIL PROTECTED]>
>> wrote:
>>
>> > On Tue, 2006-05-30 at 00:19 +1000, Arieh Schneier wrote:
>> >> Aren't you assuming that the user has svn support installed and is
>> >> using the
>> >> svn version? What about all the users that use the packages, or the
>> >> tarball?
>> >>
>> > Yes I am asuming that. In packages and the tarball there should be  
>> this
>> > info included.
>>
>>
>>
>
>
>
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel



-- 
KaKaRoTo


_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to