Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Inquisitor on October 18, 2002, 07:38:17 am
-
WinCVS Setup
Ok, go to Admin-->Preferences
In the CVS root, enter the following:
[email protected]:/home/fs2source/cvsroot
Where you replace Inquisitor your username. Anon users type :
[email protected]:/home/fs2source/cvsroot
Authentication is: Password file on CVS server. Then click on the WinCVS tab, and in the home folder, pick a folder on your hard drive.
Click ok to close the dialog.
Make sure the path you selected is reflected in the path dialog in the tool bar, the select the Admin menu again.
Admin-->Login
Type your password, in the case of anonymous users, this password is anonymous.
In the Feedback/Console window at the bottom, it should say something like:
"CVS exited with code 0"
That means you are logged in.
Now, you need to get set up for the first time, vack to the menus:
Create-->Checkout Module
In the "module to check out" field, type "fs2_open"
Verify that the path is correct in the path field. Click the "Checkout options" tab.
This is where you would specify a branch, in our case we have only the one leave this blank if you don;t want the directx build (it will be merged soon anyway), if you are working with the branch, you can type "directx8" here.
The globals tab you can tweak, but the defaults are fine. Click ok and start downloading the code!
It's that easy. when you want to grab a fresh copy, you simply right click on the folder you want to update in the CVS window, and select update, it will merge any code changes with yours, and life will be good :)
I'll cover committs later.
any questions?
-
Sorry if this is a little off topic, but I think we need a coder tutorial site where things like this can be put and added to.
-
Not off topic at all :)
HLP/VW: Another gentle reminder about hsting access :)
-
ah, It works :D
-
Sorry it took so long to write it up.
Bobboau, make sure you ask lots of questions if you have them :)
-
why are all the files read only?
-
There is a check box inpreferences youcan select to undo that
-
ok I'm going to try and get my beam changes ported over tonight, when I've got my changes I'll ask for more information on how to do what
-
Excellent :)
-
ok how do I upload my changes?
is it as simple as clicking on the folder and selecting commit?
-
No, you have update your code to get any changes that other people have made. You will then perhaps get conflicts between your new key stuff and mine. You wll have to resolve these, ask for help if you are anything less than 100% sure. Then give it a test and if its OK then commit.
-
Always update first, then commit. So if you have been working, and want to committ, gran a CVS update, pay attention to the merges (they are marked with a M in the console window of WinCVS), and resolve any conflicts (the are marked with a C), then right click, commit.
That way, you catch any thing that RT is talking about, and RT should be doing the same thing.
We all get an email when changes are committed, so we can go look at the changelog, see who did what.
Might help to find an email account that you can use for this, so you can subscribe that account to the notification dealie :)
-
what are things marked with a P?
-
I *THINK* those are files that you haven't changed locally, that are changed on the server, I'll have to look :)
-
ok, so I update and then commit,
I've updated twice and tested and everything seems to still work
well if I screw everything up you can undo it right?
-
Update then recompile the code. Then check for conflicts, for one thing the update will give you my key code which will conflict with yours (unless you've updated already). Give it a quick test to make sure its OK and only then commit.
-
I alredy took that into consideration (read no conflict with you're code)
so I'm gona cmommit and see if anything wrong hapens
-
k
-
ok there, I did it (I think), update and make sure I didn't break anything
-
Sounds like it worked, Im checking out a copy to see how it went.
What did you actually change?
Edit: Nevermind, I just read your checkin.
Looks like Im getting what I want. :yes:
-
All seems to have worked except I dont seem to have an e-mail of Bob's commit.
-
one thing I realy do like is how fast it compiles
-
I got an email, wierd...
Anyway, thanks Bobboau!
-
Seriously, I think that I just dont get half of them.
It would explain why I never know whats going on.
-
did someone change the definition of vector, like moveing the xyz into a substructure called xyz
-
Do you mean changed recently?
Its been like that for a while, dont know if it started like that, I assume it did.
-
possibly, we made some header changes a while back to sort out some wierd pathing problems. They are all documented in the CVS changelog, that particular thing doesn;t sound familiar, but that doesn;t mean we didn;t chaneg the structure.
Need to rerun doxygen, now that we have made significant progress here.
-
Originally posted by RandomTiger
Seriously, I think that I just dont get half of them.
It would explain why I never know whats going on.
checked, reasently i have only gotten RT´s & phreaks changes,
not bobboaus. it seems, maybe because we are using wincvs ?.
i got no email of my own changes. i thought/think this was because the email system was smart.
-
no, wincvs has nothing to do with it, the notify script might be borked, lemme look into it :)
-
Originally posted by Bobboau
what are things marked with a P?
"Patched" files -- ones that have changed since your previous update or checkout that have been successfully updated on your local copy.
Originally posted by Bobboau
did someone change the definition of vector, like moveing the xyz into a substructure called xyz
Yes, that was done some time ago, to make it ANSI compliant (and to get it compiling under gcc 2.95). The "matrix" struct was changed as well, and there were a few minor changes (to some structure with member names "or" and "and")
-
http://www.wincvs.org/winhtml/wincvs11.htm
-
broken link
-
Works for me. I'll download it when i am not on my cell phone modem in an airport terminal, and upload it to our servers.
Try the main CVS website, it should give overviews of all the functionality.
-
ok, so I'm about to make an update with my new decal code, but the decal code is all in new files, and all in a new folder, how do I make the new folder/files for the commit in the CVS
-
well, I'm gona just update and commit and see if it picks them up...
no, it didn't, well you're gona get a compile error...:doubt:
unless you have these (http://freespace.volitionwatch.com/blackwater/decals_sorce.zip) files
-
Create the folder.
Put the files in the folder.
Open CVS, right click on the folder, should be an add to CVS, then right click on it again and committ...
-
ok the only options I get when I right click on the folder is: explore selection, reload view, import module, checkout module, and customise this menu.
I see no add to CVS anywere
-
IRC
tomorrow
12pm EST
-
I'm guessing that someone fixed this as there hasn't been a thousand people screaming about it not compileing.
just checked, thank you DTP :)
-
yup :)
DTP rules :)
-
Originally posted by Bobboau
I'm guessing that someone fixed this as there hasn't been a thousand people screaming about it not compileing.
just checked, thank you DTP :)
No Problem, regarding how to add directories and files in wincvs just for the record.
There is an icon at the top the resembles a document with a red +sign
mark Directory and click the icon, we need a directory before we can add files in it.
now mark the files and click the icon
now commit the files, since this is not done when you click the icon to add the files.
-
Gonna get this added to the site.
Bumping for stealth and kasperl :)
-
Anyone know where to get WinCVS? Wincvs.org seems to be down. Tried Cnet's download.com but didn't find it.
-
they seem to go down now and again. seems up for me now...
-
I realized I still had the copy I'd downloaded quite a while ago when I first tried it (around the time it was first mentioned in this board) and installed that. It still seems to be current. And for anyone trying to use cvsgui.org, use wincvs.org instead. Looks like cvsgui.org was stolen or something. (Got quite a surprise when I followed a likely looking link from Altavista and ended up where it's pointing now.) And yes, the site is back up. :)