Re: [Amsn-devel] cvs_date & svn_date

2006-09-21 Thread Arieh Schneier
unrequested > Why? Was it requested or unrequested? > > > I would send you a screenshot of how the options for the hook script look, > > but I can't access it any more as I have been removed from the amsn project. - Take Sur

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Álvaro J. Iradier
Why? Was it requested or unrequested? Greets. > I would send you a screenshot of how the options for the hook script look, > but I can't access it any more as I have been removed from the amsn project. -- (:===:) Alvaro J. Iradier Muro - [EMAIL PROTECTE

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Arieh Schneier
e - From: Rafael Rodríguez To: Mailing list for developers and everyone helping AMSN Sent: Thursday, September 21, 2006 12:04 AM Subject: Re: [Amsn-devel] cvs_date & svn_date IIRC Subversion allows to change the hooks that are executed after every commit. Couldn&#

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Álvaro J. Iradier
I agree. The problem with the cron run script is it made hundreds of commits. Maybe we could improve it, so it only commits svn_date if the revision number has changed (the svn_date commit itself would increase the revision, so we have to notice this). Something like: svn update if revision < `ca

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Rafael Rodríguez
El Miércoles, 20 de Septiembre de 2006 16:21, Jonne Zutt escribió: > This was the point where I said that "svn info|grep ..." > is equal to "svnversion ." > > It was followed by Arieh stating some people might use packages/tarball > and don't have svn installed. I think that "some people" which ha

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Jonne Zutt
We are repeating an old thread here. This was the point where I said that "svn info|grep ..." is equal to "svnversion ." It was followed by Arieh stating some people might use packages/tarball and don't have svn installed. Then kkrt said something like use a file with svn info first, if it does no

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Rafael Rodríguez
Is it ok to do $ LANG=C svn info|grep 'Revision:'|cut -f2 -d' ' when generating the svn-based packages just for adding the svn revision number to the filename? R El Miércoles, 20 de Septiembre de 2006 16:18, Youness Alaoui escribió: > Yes, there are hooks, but I extensively read the SVN docume

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Philippe Valembois - Phil
Hi, I didn't like that because we had to do a modification to svn_date just before committing... I don't like that because if I want to do a fast commit just before to gone I can't Phil Le Wednesday 20 September 2006 17:18, Youness Alaoui a écrit : > Yes, there are hooks, but I extensively r

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Youness Alaoui
Yes, configure should always be in the repository, it is indeed generated from configure.ac, but not everyone has the autoconf utility + the .m4 and aclocal needed to generate it.. if you look at *almost* all OS projects, they always ship in the configure file themselves ... KKRT On Wed, Sep

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Youness Alaoui
Yes, there are hooks, but I extensively read the SVN documentation, the hooks receive a transaction ID, and a transaction is some sort of object containing all the modified data.. once a transaction is created, it should NOT modify a file (or for that matter, it is also discouraged to modify th

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Rafael Rodríguez
Also, should 'configure' be in the repository? Isn't it generated from configure.ac by autoconf? R El Miércoles, 20 de Septiembre de 2006 11:28, Álvaro J. Iradier escribió: > So those should be removed or changed, as cvs_date is not updated > anymore (in fact, it shouldn't exist in amsn distribu

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Rafael Rodríguez
IIRC Subversion allows to change the hooks that are executed after every commit. Couldn't a hook be added in order to increment a svn_date file after each commit?ROn 9/20/06, Álvaro J. Iradier <[EMAIL PROTECTED]> wrote: So those should be removed or changed, as cvs_date is not updatedanymore (in f

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Álvaro J. Iradier
So those should be removed or changed, as cvs_date is not updated anymore (in fact, it shouldn't exist in amsn distribution, I guess that's why there's a "file exists"). On 9/20/06, Vivia Nikolaidou <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] amsn]$ grep cvs_date * > amsn.spec:- added a relea

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Vivia Nikolaidou
[EMAIL PROTECTED] amsn]$ grep cvs_date * amsn.spec:- added a release number taken form cvs_date bugs.tcl: if {[file exists cvs_date]==1} { bugs.tcl: set fd [open cvs_date] Makefile:RELEASEVERSION := `cat cvs_date|head -c8` Makefile.in:RELEASEVERSION := `cat cvs_date|head -c8` On

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Álvaro J. Iradier
I think so. Please grep "cvs_date" * to check it's not used anywhere. Maybe you can use svn info to get the latest revision? Greets. On 9/20/06, Rafael Rodríguez <[EMAIL PROTECTED]> wrote: > BTW, then you agree that cvs_date can be removed? :=) > > El Miércoles, 20 de Septiembre de 2006 08:13, Á

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Rafael Rodríguez
BTW, then you agree that cvs_date can be removed? :=) El Miércoles, 20 de Septiembre de 2006 08:13, Álvaro J. Iradier escribió: > cvs_date is not used anymore. We removed it because there were so many > commits just for this. We were thinking about an alternative way (like > updating some file ins

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Rafael Rodríguez
Is there any alternative way of getting svn's revision for naming the packages produced from it? R El Miércoles, 20 de Septiembre de 2006 08:13, Álvaro J. Iradier escribió: > cvs_date is not used anymore. We removed it because there were so many > commits just for this. We were thinking about an

Re: [Amsn-devel] cvs_date & svn_date

2006-09-20 Thread Álvaro J. Iradier
cvs_date is not used anymore. We removed it because there were so many commits just for this. We were thinking about an alternative way (like updating some file inside the repository on every commit), but couldn't find any. Greets. On 9/19/06, Rafael Rodríguez <[EMAIL PROTECTED]> wrote: > Hi, > >