Sébastien MARQUE ha scritto: > please let me know your suggestions/thoughts, and feel free to reuse > some ideas in it if you find them useful. > > eehhehe I will :-) >> look inside my script, it does it, both for cvs and svn without any >> password or login request. >> > Unfortunately I think it works on your system with > download_and_compile.sh because you have already downloaded the sources > from the repo, so you have the file $HOME/.cvspass already containing > the passwords, cvs just reuse it. If you rename or delete this file, cvs > login command will ask you for a password then. > Every time I run the script, I use a new ubuntu empty virtual machine, so there is no $HOME/.cvspass file. and every time I modify and re-test the script I wipe out the hard disk image and copy from a saved one.
this are the lines for simgear: cvs -z5 -d :pserver:cvsguest:gu...@cvs.simgear.org:/var/cvs/SimGear-0.3 login cvs -z5 -d :pserver:cvsgu...@cvs.simgear.org:/var/cvs/SimGear-0.3 co source look: france...@pc-francesco:~$ rm .cvspass france...@pc-francesco:~$ cd /tmp france...@pc-francesco:/tmp$ cvs -z5 -d :pserver:cvsguest:gu...@cvs.simgear.org:/var/cvs/SimGear-0.3 login Logging in to :pserver:cvsgu...@cvs.simgear.org:2401/var/cvs/SimGear-0.3 cvs login: CVS password file /home/francesco/.cvspass does not exist - creating a new file france...@pc-francesco:/tmp$ cvs -z5 -d :pserver:cvsgu...@cvs.simgear.org:/var/cvs/SimGear-0.3 co source ? source/simgear/compatibility cvs checkout: Updating source cvs checkout: Updating source/projects cvs checkout: Updating source/projects/VC7.1 etc...... OSG: you have to use http and not https here ! svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk OpenSceneGraph FG: cvs -z5 -d :pserver:cvsguest:gu...@cvs.flightgear.org:/var/cvs/FlightGear-0.9 login cvs -z5 -d :pserver:cvsgu...@cvs.flightgear.org:/var/cvs/FlightGear-0.9 co source Cheers Francesco > ------------------------------------------------------------------------------ > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > > ------------------------------------------------------------------------------ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel