aMule Forum
English => Feature requests => Topic started by: skolnick on January 03, 2005, 12:34:08 AM
-
Hi all!
It would be really cool (at least for me) if CVS versions instead of being just version "CVS" would be something like "CVS 01-02-2005" that way, I could know which of all the CVS tarballs I have compiled is the one I'm running :D
Thanks for any attention payed to this thread.
Skolnick.
-
Hi skolnick!
The script that generates the cvs tarballs always adds a file called CVSDATE to the tarball. I don't think it is being used by now, but maybe that helps.
regards
bootstrap
-
Hi!
Yes, I noticed the CVSDATE file. Very useful, but how do I know which cvs version is the one I am running right now?
[autizt@neptune ~]$ amule --version
Initialising aMule
aMule CVS using wxGTK2 v2.5.3 (Unicoded)
[autizt@neptune ~]$
This is all I get, I have no idea which CVS version was the one i last installed. Besides re-compiling, and comparing filesizes, how can I know the CVS date of my compiled amule?
Thanks.
-
I second this,since I am always using cvs versions and sometimes you can get mixed up with which version is currently installed.
-
right now you could run it always from the src dir via ./amule and it will not get mixed up at all ;)
but yes, we need some date anyway
-
bootstrap : can you show me the script, and I will try my best to make it work ?
-
Working on it. ;)
-
And done. :D
-
Originally posted by Xaignar
And done. :D
I downloaded amule CVS from 2005-01-20 and still shiows its version as CVS only. Or wasn't this what was done? :P
Regards.
-
Well, since the snapshots are taken once a day, you should probably try the one from today ... except that it seems that I've broke it. :P
DownloadListCtrl.cpp:1929: if ( ShowItemInCurrentCat( file, curTab ) {
change to:
DownloadListCtrl.cpp:1929: if ( ShowItemInCurrentCat( file, curTab ) ) {
Anyway ... when actually compiled:
$ src/amule --version
Initialising aMule
aMule CVS using wxGTK1 v2.4.2 (Snapshot: Fri Jan 21 07:01:04 CET 2005)
-
Hi!
Nice, I like it...could it be added to the "version" string in aMule?, so my signature looks like this:
aMule CVS 2005-01-24 has been running for 10:32 h
...
instead of this:
aMule CVS has been running for 10:32 h
...
Also, would be nice if the folder inside the .tar.bz2 file was amule-cvs-yyyy-mm-dd instead of only amule-cvs. I have overwritten my old folder many times when uncompressing :(
Thanks!
P.S: Sorry to bother so much with this...but I would really like to see this implemented, and I do not know enough C++ to do it by myself.
-
I will look into adding this after 2.0.0final is released. Sadly, people will probably be a lot less interested in running CVS snapshots then. :P
-
@skolnick
to avoid overwriting amule-cvs directory you could use a script for the time being.
i am using this script to extract amule-cvs snapshots. i hope you will find it useful as well.
name=`basename $1 .tar.bz2 | sed s/M/m/`
mkdir $name
tar --strip-path=1 -C $name -xjvf $1
for example it would extract the content of aMule-cvs-20050124.tar.bz2 into amule-cvs-20050124 in the currect directory.
-
Thanks a lot for the script ( I know, it's been a while since you posted it, it has always been useful.) I just wanted to point that recent versions of "tar" changed the commandline, so the script should be changed this way:
name=`basename $1 .tar.bz2 | sed s/M/m/`
mkdir $name
tar --strip-components=1 -C $name -xjvf $1
Thanks a lot for this!!