Timil Posted December 13, 2002 Report Share Posted December 13, 2002 Can someone tell me how to:Import file (client sided import)Remove Files/Directory And get the whole thing to be used automaticaly. It seem that CVS is useless in WinCVS (don't work at all, or maybe not at all like how it is explained..) I'm able to put files on the server, but can never take them back nor delete them.. it seem that it's Unix friendly only (and it make me really hateful of sourceforge actually!!) Link to comment Share on other sites More sharing options...
red knight Posted December 13, 2002 Report Share Posted December 13, 2002 Can someone tell me how to:Import file (client sided import)Remove Files/Directory And get the whole thing to be used automaticaly. It seem that CVS is useless in WinCVS (don't work at all, or maybe not at all like how it is explained..) I'm able to put files on the server, but can never take them back nor delete them.. it seem that it's Unix friendly only (and it make me really hateful of sourceforge actually!!)Dont know how to use CVS yet, but read something about doing a module checkout (from the create menu)... you will see a window like the one in the jpg i had posted. Then if you click on the [...] button on the right, the one that has the focus (that damn printscreen took out the mouse pointer)... You have to add a local path somewhere to put the downloaded... Thats what the theory sais... Besides you should be grateful i am still trying to make SSH keys to work... GreetingsRed Knight Link to comment Share on other sites More sharing options...
Timil Posted December 14, 2002 Author Report Share Posted December 14, 2002 My checkout setting:(all option non-specified are left blank) "Checkout Settings" - Module name and path: test - Local folder: H:\ "General" - Authentication: pserver (no setting change) - path: /cvsroot/xenocide - host: cvs.xenocide.sourceforge.net - user name: timil - CVS root: [email protected]:/cvsroot/xenocide (automaticaly completed) "Global" left default setting Result command line:Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32CVSROOT: [email protected]:/cvsroot/xenocide (password authentication)Filtering 'H:\'...Filtering 'H:\xenocide'...cvs checkout -P test (in directory H:\)cvs server: Updating testcvs server: Updating test/CVSROOTU test/CVSROOT/checkoutlistU test/CVSROOT/commitinfoU test/CVSROOT/configU test/CVSROOT/cvswrappersU test/CVSROOT/editinfoU test/CVSROOT/loginfoU test/CVSROOT/modulesU test/CVSROOT/notifyU test/CVSROOT/rcsinfoU test/CVSROOT/taginfoU test/CVSROOT/verifymsgcvs server: Updating test/CVSROOT/Emptydircvs [checkout aborted]: could not chdir to test/H:: Invalid argument ***** CVS exited normally with code 1 ***** ----------------------Side note: It created a test directory on my H: drive this time.. seem strange!But it's not the real test repository found on the server! Link to comment Share on other sites More sharing options...
Timil Posted December 14, 2002 Author Report Share Posted December 14, 2002 It seem that the "checkout as" on the first pannel allow you to log on the server while checking out. have you installed Python for windows? Link to comment Share on other sites More sharing options...
red knight Posted December 14, 2002 Report Share Posted December 14, 2002 My checkout setting:(all option non-specified are left blank) "Checkout Settings" - Module name and path: test - Local folder: H:\ "General" - Authentication: pserver (no setting change) - path: /cvsroot/xenocide - host: cvs.xenocide.sourceforge.net - user name: timil - CVS root: [email protected]:/cvsroot/xenocide (automaticaly completed) "Global" left default setting Result command line:Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32CVSROOT: [email protected]:/cvsroot/xenocide (password authentication)Filtering 'H:\'...Filtering 'H:\xenocide'...cvs checkout -P test (in directory H:\)cvs server: Updating testcvs server: Updating test/CVSROOTU test/CVSROOT/checkoutlistU test/CVSROOT/commitinfoU test/CVSROOT/configU test/CVSROOT/cvswrappersU test/CVSROOT/editinfoU test/CVSROOT/loginfoU test/CVSROOT/modulesU test/CVSROOT/notifyU test/CVSROOT/rcsinfoU test/CVSROOT/taginfoU test/CVSROOT/verifymsgcvs server: Updating test/CVSROOT/Emptydircvs [checkout aborted]: could not chdir to test/H:: Invalid argument ***** CVS exited normally with code 1 ***** ----------------------Side note: It created a test directory on my H: drive this time.. seem strange!But it's not the real test repository found on the server!The only thing that i really dont understand is how you manage to add things in the Sourceforge Repository using the PServer protocol... PServer protocol is not secure so the sourceforge people dont let you modify the repository if you dont use SSH... I had installed Python and Tcl... Anyway I will try with those setting and tell ya if i discover anything.... GreetingsRed Knight Link to comment Share on other sites More sharing options...
red knight Posted December 14, 2002 Report Share Posted December 14, 2002 Timil: With PServer if you want to do something that requires updates you get something like this: cvs init cvs [server aborted]: "init" requires write access to the repository about the checkout i think the problem was that you had added a directory named H: and for some reason WinCVS interpret it wrong, so it cancel the checkout operation... We should contact the sourceforge crew and tell them to delete the test module.... GreetingsRed Knight Link to comment Share on other sites More sharing options...
gangsta Posted December 15, 2002 Report Share Posted December 15, 2002 :/ hmm sucks that we are still having problems with cvs. btw have you guys tried doing it from a dos window? and using the linux instructions instead of the wincvs ones that way? might be worth a shot. Link to comment Share on other sites More sharing options...
Timil Posted December 16, 2002 Author Report Share Posted December 16, 2002 Already tried before using the wincvs stuff (I'm a text based guy )The problem is: You can log on, but you will be immediatly loged off, without any command line or anything.. Link to comment Share on other sites More sharing options...
red knight Posted December 16, 2002 Report Share Posted December 16, 2002 Already tried before using the wincvs stuff (I'm a text based guy )The problem is: You can log on, but you will be immediatly loged off, without any command line or anything..Thats how SSH works.. GreetingsRed Knight Link to comment Share on other sites More sharing options...
Timil Posted December 16, 2002 Author Report Share Posted December 16, 2002 If it's user friendly, it seem that it really choose carefully who are it's friend... Link to comment Share on other sites More sharing options...
MarkusEdholm Posted December 16, 2002 Report Share Posted December 16, 2002 or, It's user friendly for certain values of user btw, since I have a long relaxing -mas holiday coming up with nothing to do all day but eat candy and watch TV I thought I'd see if the cvs system considers me friend or foe. Pserver anonymous access seems to be working fine, I can checkout modules and retrieve files but I can't use SSH unless I'm a developer on the project. Would you consider adding me to the sourceforge project? My username on sourceforge is the same as here, MarkusEdholm. /Markus Link to comment Share on other sites More sharing options...
Guest Gravity Posted December 17, 2002 Report Share Posted December 17, 2002 Hi Guys, I saw your Project on XcomUFO and as I am also a developer on SourceForge, maybe I can help you: do: ssh cvs.xenocide.sourceforge.net ->as the project initiatorpress space -- Now you home dir is created -- cvs -d :pserver:[email protected]:/cvsroot/xenocide login -- Now you're logged in -- cvs co test -- Now you got the "test" module on you HD --Note: On Windowsbased Systems, I also have expirienced problems with Directorynames like ".asdf" or "a:" or "!!!aaa!!!". Under Linux, there is no problem @ all Hope that helped... Stay @ this, X-Com Fans like me are waiting for sth. like this. Especially those who cannot code C(++, #)! You're doin' really great stuff here! Link to comment Share on other sites More sharing options...
red knight Posted December 17, 2002 Report Share Posted December 17, 2002 Hey gravity, thanks... based on your post i try to do it completly on the command prompt instead of using WinCVS... it turn out that it had worked excelent... even though pserver do not have write access to the repository your post inspired me... so this is the instructions... First Install SSH and WinCVS....Do all the variable setting that they tell you to do.Put CVS and SSH on the path. Then if you want to import (upload a brand new module)... which is not necesary anymore (i have done it).... Go to the dir that you have the files that you want to add as a new module and then execute the next cvs -z3 -d:ext:[email protected]:/cvsroot/xenocide import -m "Some message" xenocide GNU V10after that without a message write your password and press enter Where you have to change flois for your login name...The last xenocide for the project nameAnd GNU and V10 are tags that i dont know what they do To get the code you must docreate the directory where you want to put the code (i had use xenocide.cvs) md xenocide.cvscd xenocide.cvscvs -z3 -d:ext:[email protected]:/cvsroot/xenocide checkout xenocide this will copy all xenocide module source to your hard disk, later i will investigate how to update files... It will continue.... GreetingsRed Knight Link to comment Share on other sites More sharing options...
Guest Gravity Posted December 18, 2002 Report Share Posted December 18, 2002 Ah, finally I've done something useful! :birthday: The Checkout works perfectly. Note: Instead of "checkout xenocide" you can also write "co xenocide" Is there some work a not very good C Programmer can do? I can code a PHP good, but C is just so low-level (you have to declare vars a.s.o.) (that's not bad @ all), it's too complicated for me As said, I'd be happy 2 help. -----------------------------------------------------------------------Make it idiot-proof, and someone will make a better idiot Gravity Link to comment Share on other sites More sharing options...
gangsta Posted December 19, 2002 Report Share Posted December 19, 2002 Well project is C++.. if you probably know PHP you could learn C++. I don't think one is more complicated than the other. Problem is alot of code out there (especially for c) isn't very clean so it makes it seem like C is harder than it is. Most game code that I've seen though is usually very clean and easy to understand. Link to comment Share on other sites More sharing options...
Dr-Gravity Posted December 19, 2002 Report Share Posted December 19, 2002 Ok, After 10 litres of coffee, I'm a C++-Junkie, up to classes (which I don't really understand yet (lack of time)), and 38 hours ago, we were released into 2-week-holidays (I love germany and its school sys. Also, I'm 15 and I got LOTS of time right now.... So, what's to do? Link to comment Share on other sites More sharing options...
gangsta Posted December 19, 2002 Report Share Posted December 19, 2002 Well that's the way to go! Also it will help that Red Knight and myself have a very clean coding style (my style is actually very simular to his). The main problem C and C++ have is that they both come with a bad default API. Java is nice and easy to understand because it comes with a nice API. C++ can however be just as nice as Java with the right API and I think we will make sure that the Xenocide API is that nice. Anyway if you have any C++ questions you can always send me a PM here or email me at [email protected]. Link to comment Share on other sites More sharing options...
red knight Posted December 20, 2002 Report Share Posted December 20, 2002 Well project is C++.. if you probably know PHP you could learn C++. I don't think one is more complicated than the other. Problem is alot of code out there (especially for c) isn't very clean so it makes it seem like C is harder than it is. Most game code that I've seen though is usually very clean and easy to understand.Thats because games are complex on their own, if your code is not clear then your project is doomed, thats why im insisting on define a good code style and then stick to it... Most of the Graphics code is over the average on complexity... the other is AI.... GreetingsRed Knight Link to comment Share on other sites More sharing options...
Recommended Posts