Welcome
Welcome to xnaquickstart

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

SourceForge SVN: Guidelines and How To Access

Latest Releases and news about the QuickStart project !

Moderator: Coordinators

SourceForge SVN: Guidelines and How To Access

Postby ShawMishrak on Tue Apr 08, 2008 1:00 am

Before I explain how to access the SVN repository, let's go over some basic ground rules!

    1. Only commit complete work into the trunk branch! The trunk branch should always compile and be comprised of only tested code. The code does not need to be rigorously tested yet, but enough to guarantee nothing obvious breaks. Basically, only mrege your branch with the trunk branch after your code has been reviewed and accepted!

    2. For your personal work, use a separate branch. If you are not familiar with the concept of SVN branching, do a search on Google and read all of the information you find. If you have any additional questions, feel free to post them here.




I have committed the latest engine source from CodePlex into the SourceForge SVN repository under the trunk branch. To access the SVN repository, configure your SVN client with the following settings:

URL: https://quickstartengn.svn.sourceforge. ... startengn/<branch>

The trunk branch is the "main" branch. To check it out, you would use the following url: https://quickstartengn.svn.sourceforge. ... engn/trunk

Check-outs are anonymous, and your SourceForge username/password are used for SVN commits.
Last edited by ShawMishrak on Tue Apr 08, 2008 2:38 am, edited 1 time in total.
ShawMishrak
Administrator
 
Posts: 155
Joined: Thu Apr 03, 2008 7:44 pm

Postby bingomouche on Tue Apr 08, 2008 2:16 am

Shaw, the link you gave for checking out the source reports a 404 error.

The correct link which (worked for me) is
https://quickstartengn.svn.sourceforge.net/svnroot/quickstartengn
User avatar
bingomouche
Administrator
 
Posts: 68
Joined: Thu Apr 03, 2008 2:41 am

Postby ShawMishrak on Tue Apr 08, 2008 2:38 am

Ah, sorry. I edited the links.

Don't forget that these are SVN links, not web page links.
ShawMishrak
Administrator
 
Posts: 155
Joined: Thu Apr 03, 2008 7:44 pm

Postby lordikon on Tue Apr 08, 2008 4:43 am

not familiar with how to make branches with tortoise, I'm looking it up, but it is amazing when a 30 page manual doesn't mention branches anywhere....

Edit: Got it. Here's the link for anyone else needing to create a branch, and using TortoiseSVN.

http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/help-onepage.html#tsvn-dug-branchtag
User avatar
lordikon
Administrator
 
Posts: 342
Joined: Thu Apr 03, 2008 11:26 pm
Location: Colorado

Postby ShawMishrak on Tue Apr 08, 2008 8:07 pm

One more thing I want to mention: branching does not need to be a "per developer" thing. In fact, branching is more useful as a "per new feature" thing. Every developer having their own branch is fine, but also keep in mind that you may also want to create an "editor" branch or a "scenemanager" branch, corresponding to the editor project and the SceneManager re-write project, respectively.
ShawMishrak
Administrator
 
Posts: 155
Joined: Thu Apr 03, 2008 7:44 pm

Postby bingomouche on Wed Apr 09, 2008 2:38 am

When creating a branch, does it always creates a full copy of the trunk ?
User avatar
bingomouche
Administrator
 
Posts: 68
Joined: Thu Apr 03, 2008 2:41 am

Postby lordikon on Wed Apr 09, 2008 3:12 am

Depends on the SVN utility you're using. It is probably easiest though. It is only 8mb or so.
User avatar
lordikon
Administrator
 
Posts: 342
Joined: Thu Apr 03, 2008 11:26 pm
Location: Colorado

Postby ShawMishrak on Wed Apr 09, 2008 3:24 am

No, SVN only copies changes. An unmodified file in a branch is just a reference to the file in the trunk branch. When you modify the file, the branch only stores the differences in the file. That's how SVN works anyway. When you commit a change, only the difference is actually stored.
ShawMishrak
Administrator
 
Posts: 155
Joined: Thu Apr 03, 2008 7:44 pm

Postby lordikon on Wed Apr 09, 2008 3:45 am

My branch is a full copy. Verified that just in case. In my experience with Perforce the branch is a full copy, but during reverse integration only changes are merged into the trunk. Without a full copy how would the solution run/compile?
User avatar
lordikon
Administrator
 
Posts: 342
Joined: Thu Apr 03, 2008 11:26 pm
Location: Colorado

Postby Sturm on Wed Apr 09, 2008 9:13 am

I think you are talking server/local on the server it's only stores diff, while locally you have a full copy.
User avatar
Sturm
Administrator
 
Posts: 184
Joined: Thu Apr 03, 2008 6:26 am
Location: Denmark

Postby lordikon on Wed Apr 09, 2008 1:31 pm

I've have the trunk and local copies on my machine. A good practice is to download the newest trunk onto your machine, merge your branch with it, then make sure to run the trunk's .sln and see if everything is ok. To do this you need the trunk on your machine. Then if the trunk (with your changes) works fine, and your review goes well, your merge only the diff files.
User avatar
lordikon
Administrator
 
Posts: 342
Joined: Thu Apr 03, 2008 11:26 pm
Location: Colorado

Postby bingomouche on Wed Apr 09, 2008 2:09 pm

go it thanks.
User avatar
bingomouche
Administrator
 
Posts: 68
Joined: Thu Apr 03, 2008 2:41 am

Postby lordikon on Thu Apr 10, 2008 4:39 am

Wow, I can't express how much better SVN is than codeplex's CPC! I can download anyone's branch at anytime to see their progress (from the last time they committed their changes). It makes it very easy to download someone's copy and review it. Heck, if it isn't compiling right for some reason you could download it and help them.

Just thought I'd throw in that I'm very glad we're using SVN finally.

Now we just need a live chat feature in the forums. It would be great for discussions/design. Of course, that requires to two people happen to be in chat at the same time, or collaborate a meeting time, which is difficult on a project we all do in our spare time as that time is not usually pre-determined.
User avatar
lordikon
Administrator
 
Posts: 342
Joined: Thu Apr 03, 2008 11:26 pm
Location: Colorado

Postby Sturm on Thu Apr 10, 2008 5:26 am

Well Live Meeting is great for designing cross locations.
User avatar
Sturm
Administrator
 
Posts: 184
Joined: Thu Apr 03, 2008 6:26 am
Location: Denmark

Postby lordikon on Thu Apr 10, 2008 5:55 am

Can it be joined by any member at anytime? Does it require software?

I'm thinking something like a IRC channel.
User avatar
lordikon
Administrator
 
Posts: 342
Joined: Thu Apr 03, 2008 11:26 pm
Location: Colorado

Next

Return to News

Who is online

Users browsing this forum: No registered users and 0 guests

cron