• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

CVS Server

dchaley

Landlubber
Hi everybody <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />

OK, I've set up the CVS server. Read all about it here:
<a href="http://piratesmod.`the-haleys`.org/" target="_blank">http://piratesmod.`the-haleys`.org/</a>.

That should explain the basic information for connecting. I'll expand it as we go along, perhaps adding a FAQ or something for common connection problems.

Let me know if you have trouble connecting. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/pirate2.gif" style="vertical-align:middle" emoid=":p:" border="0" alt="pirate2.gif" />

Also, developers should get in touch with me about `write-access`. However I'd appreciate it if perhaps some of the "veteran developers" could let me know who's ok. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />

So anyways, this should be fun and make things a lot easier on everybody for distributing/creating mods.

There are of course "rules" for committing files - I'll have to expand that page with a list of things to be careful about when using CVS. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/bookish.gif" style="vertical-align:middle" emoid=":mm" border="0" alt="bookish.gif" />
 
I've added some more information to the website that should help clear a few things up. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
COOL, thanks, David!!! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
Sounds great! Now I just need to know how to use it. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/laugh.gif" style="vertical-align:middle" emoid="xD:" border="0" alt="laugh.gif" />

Does this CVS server space include the RESOURCE directory as well? Quite a few new mods require new texture/model files, so we'd need to upload those along with the new code in order for everything to work properly.
 
I'm gonna be gone for the weekend, but I'm looking forward to digging into this when I get back... <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
Well, I left the directory structure open for new resources, but didn't put anything there because I didn't want to upload my whole texture directory. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/pirate2.gif" style="vertical-align:middle" emoid=":p:" border="0" alt="pirate2.gif" />

I'll create the folders and then people can put their stuff there; but CVS isn't really meant to handle images and all - it's not supposed to be a file server. Rather it just tracks code changes and is meant specifically for just that, not a whole project management.

How much disk space are we talking about using for models/textures? I think I should have enough but I just want to be sure.
 
RE: disk space, I'm not really sure. But a problem will come up if/when someone updates the code for a mod that also requires a new texture/model file that hasn't come along for the trip, you know?

As far as this CVS thing goes... Uh, how does it work? I downloaded TortoiseCVS, did all the instructional stuff on your site, but I can't get into anything. Keeps saying I need write access for "import" or something. I'm totally lost here. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />
 
Also need to put up the Resourceini*.* and Resourcequesttext I'd think.
However, we should clean out the unused files both there and program*.* first IMO.

iamthejarha: I believe per first post dchaley needs to set up users with write access before users can, err, write. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />

<b>A big whopping THANKYOU to you, dchaley, for putting this together!</b> <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/par-ty.gif" style="vertical-align:middle" emoid=":cheers" border="0" alt="par-ty.gif" />
 
thanks so much!

aaahhhhh so it has to be closed group of modders with access... that's political, that is... how do people want to deal with that?

re. textures, we can always just put textures up on the pa! ftp and let everyone know that they need them next time they update?
 
iamthejarha: Yes, Nathan is right, so far the only user with write access is me because, well, I'm the sysadmin. :p Like I said I wasn't sure who should get the access. But you should be able to check out code with the anonymous user.

And yeah, Kieron, it's political. I don't believe anybody is "in charge" of the project as far as I can tell, so there's no easy way for me to figure that out.

One idea would be to just give *everybody* write access, but IMHO that's a very bad idea. You need some kind of quality control, which at the moment is given by whoever assembles the build before release. Here the quality control could be that only a group of people have write access, and so random people can't mess things up.

So about write access, I'm guessing that I should give it to NathanKell, iamthejarha, Kieron, Catalina, ... who else? At some point you might want to designate a project leader(s) to handle this kind of stuff. I don't know anything about how you've handled this so you guys need to decide how you want to control access to the repository.

re: Textures shouldn't be a big issue if we're only talking about textures related to new mods. I don't want the whole PotC texture base on the server, though. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/pirate2.gif" style="vertical-align:middle" emoid=":p:" border="0" alt="pirate2.gif" /> But yeah, just new textures should be fine.

Out of curiosity has anybody been able to check out the code, just to make sure it works?
 
hey dchaley, i've just 'checked out' the code (why on earth do they call it that? hehe), and it seems only the program directory is in there. for potc modding we definitely need the resourceini directory too, hope that's not too much trouble <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/happy.gif" style="vertical-align:middle" emoid="^_^" border="0" alt="happy.gif" />

about the write access, i really don't know. i suppose in the previous builds there has been one person, or a group of people, doing the quality control, so i spose it's the same <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/happy.gif" style="vertical-align:middle" emoid="^_^" border="0" alt="happy.gif" />
 
<!--`QuoteBegin-dchaley`+--><div class='quotetop'>QUOTE(dchaley)</div><div class='quotemain'><!--QuoteEBegin-->So about write access, I'm guessing that I should give it to NathanKell, iamthejarha, Kieron, Catalina, ... who else?[/quote]

probably screwface too, cos i'd love him to be able to add in his khael roa mod before build 12 (if it's ready, screwface?).
 
I've added the resource/ini files to the repository.

As for 'check out' it's like checking in and out from a hotel. You 'check out' the files or 'update' them, work on them, and then 'check in' (commit) your changes. I don't think it means "check out" as in to take a look at. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/pirate2.gif" style="vertical-align:middle" emoid=":p:" border="0" alt="pirate2.gif" />
 
Okay, that's what screwed me up. I think I was inadvertently trying to <i>add</i> a new module. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/oops3.gif" style="vertical-align:middle" emoid=":eek:ops2" border="0" alt="oops3.gif" />

I'm pretty exhausted at the moment, just finished touching up screen captures of <i>every</i> ship in my game (a total of 68 screenshots) for various visual aids and references. I'll "check out" the code later and have a looksie. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/onya.gif" style="vertical-align:middle" emoid=":onya" border="0" alt="onya.gif" />
 
Sorry, have been trying to get back here all day! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0" alt="rolleyes.gif" />

Thank you, David, this is going to be a TREMENDOUS THING!!! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_praise.gif" style="vertical-align:middle" emoid=":bow" border="0" alt="icon_praise.gif" />

I am going to take the discussion of "who's in charge" to a separate thread - so we can talk about it without muddying up the waters here.

Less confusion, more progress! <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/icon_mrgreen1.gif" style="vertical-align:middle" emoid=":cheeky" border="0" alt="icon_mrgreen1.gif" />
 
hey david,

another thought's just struck me, the resourcequeststext directory also needs to be in there. apart from that, i think that's everything <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />
 
Done. <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/pirate2.gif" style="vertical-align:middle" emoid=":p:" border="0" alt="pirate2.gif" />
 
This is pretty much just code, so I don't think the textures themselves need to be here (all of them, anyhow) unless they are germaine to the mod... Then they will have to be in there because of any testing that goes on, right?
 
Well, the reasons to have the models/textures there are:
- if you check out the whole project, then you just have to copy it to your game folder and you have the whole thing
- there is a central repository for all modded files

The reasons not to have them are:
- it takes up some disk space, but depending on how much this might not be a problem at all.

How much disk space are we looking at here?
 
ehhh... that depends on what we want to include <img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/happy.gif" style="vertical-align:middle" emoid="^_^" border="0" alt="happy.gif" />

the only one of my mods that includes textures is the custom sails mod, which has... just under 12mb of textures (they zip up to about 6mb).
 
Back
Top