Distributed Code Help

This forum is for site announcements. Please go here to read the SITE & FORUM RULES.

Distributed Code Help

Postby Phade » Thu Nov 14, 2002 11:11 am

Hey All,

I'm thinking that it would be really nice to have more than just me working on the code for the site. The problem come in when a bunch of people are updating the code. How do we keep from overwriting each other's fixes, track who is fixing what, doublecheck for newly introduced bugs, integrate fixes into the site, maintain security, and so on?

So, does anyone have any expirence with this kind of distributed coding? Can we do it effectivly for free (not have to buy some big pre-made code tracking software)?

Thanks in advance for your help and have fun!! ^_^

Phade.
User avatar
Phade
Site Admin
 
Joined: 20 Oct 2000
Location: Little cabin in the woods...

Postby Kusoyaro » Thu Nov 14, 2002 3:42 pm

Why not have a "vault" of sorts, where people submit their completed code changes, and only one person has write access to any vault files, and that one person integrates the vaulted code into the system? That's kind of what we do at work here, except the vault is run by software.

I guess you'd also need a log where your coders record their contributions into the vault.
I have no idea how to use this new forum.
User avatar
Kusoyaro
LEGENDARY!!!
 
Joined: 16 Jan 2001
Location: HOT FUCKING

Postby Phade » Thu Nov 14, 2002 3:49 pm

Hey,

Yeah, that's sorta what I had in mind. But is there some kinda free/open source "vault" out there? geared toward web projects instead of exe application code? I'm sure I'm not the first one to run into this kinda problem.

Phade.
User avatar
Phade
Site Admin
 
Joined: 20 Oct 2000
Location: Little cabin in the woods...

Postby paizuri » Thu Nov 14, 2002 4:44 pm

There's always SourceForge.net. I think they're the largest Open Source repository.
My favorite video: Grilled Steak Trigun I LOVE THE COPS! Rargh!
I ain't 2 proud 2 beg! haha school rumble is great
Why do I always have the most preposterous sigs???
My current favorite thread. I'm a huge fan of GA-JAMMING.
User avatar
paizuri
 
Joined: 24 Sep 2001
Location: All hail me, the BEEFMASTER!!!!!

Postby Phade » Thu Nov 14, 2002 5:54 pm

Hey,

Yeah, I checked there, but I couldn't find anything that was for web projects. :-\

Phade.
User avatar
Phade
Site Admin
 
Joined: 20 Oct 2000
Location: Little cabin in the woods...

Postby dj-ohki » Thu Mar 06, 2003 9:26 am

i know this is a necro post, but this part of the fora seems a bit slow anyway.

if you're still looking for input, CVS == <3
User avatar
dj-ohki
 
Joined: 17 Apr 2001

Postby Phade » Thu Mar 06, 2003 9:57 am

Hey,

CVS is too limited for what we need to do. CVS is good for application code, but not so good for managing web sites. Something better needs to be found.

Phade.
User avatar
Phade
Site Admin
 
Joined: 20 Oct 2000
Location: Little cabin in the woods...

Postby dj-ohki » Thu Mar 06, 2003 10:45 am

Phade wrote:Hey,

CVS is too limited for what we need to do. CVS is good for application code, but not so good for managing web sites. Something better needs to be found.

Phade.


:shock:

well, thats a pickle there. how many people are going to be working on how many pages? cause im failing to grasp how CVS is too limited for web site dev usage.

unless you're speaking of managing the live site... if so, you could switch the site over to a content mangement system... but thats a major overhaul.
User avatar
dj-ohki
 
Joined: 17 Apr 2001

Postby Phade » Thu Mar 06, 2003 11:50 am

Hey,

Yeah, we need something that will manage what is on the "test" site vs. what is on the "live" site and user management, user permissions, testing, approving code, database change tracking, etc all with a nice web interface. CVS doens't do that. There's going to be about 25-30 people working on it at the same time.

If you can come up with a PHP/MySQL-based system, that would be great!! ^_^

Phade.
User avatar
Phade
Site Admin
 
Joined: 20 Oct 2000
Location: Little cabin in the woods...

Postby dj-ohki » Thu Mar 06, 2003 12:13 pm

Phade wrote:Yeah, we need something that will manage what is on the "test" site vs. what is on the "live" site and user management, user permissions


code branches and built in cvs features

testing, approving code

again, code branches + testing site. as for code approval... you could just have people send in diffs for approval with only a few people with commit access to the CVS repo. also, bugzilla seems to be quite the nice fit for testing.

database change tracking

ok.. thats the kicker.. i have no idea how to pull this off in cvs. but again, could be done via code sumissions as diffs into a acceptance queue.

[/quote] etc all with a nice web interface. CVS doens't do that.[/quote]

there is cvsweb for tracking, and various 3rd party tools that interface cvs and web.

There's going to be about 25-30 people working on it at the same time.

thats easily manageable with a few people with checkin rights and code submission queues.

If you can come up with a PHP/MySQL-based system, that would be great!! ^_^


i dont see php/mysql as the end all be all of tools. IMO, cvs + submission queues seem to be quite a well fit to the problem.

this seems to be turning into a discussion that would be more suited to a chat then message board, so if you want, catch me on AIM, or we can arrange to meet up on irc somewhere.
User avatar
dj-ohki
 
Joined: 17 Apr 2001

Postby Lonley Driver » Mon Mar 10, 2003 2:45 am

I have to agree CVS is probably the best solution for what you're trying to do.

1. It's free.

2. It's already coded for you so you don't have to waste time developing (and it's open source so if you can futz around with it if you need to)

3. It has some really neat Front Ends.

4. Your programmers don't have to change the way they do things too much, all they need to know is how diffs work, checkout, and commit.

I'm not really sure what you'd be able to do with a PHP/MYSQL system, that you wouldn't be able to do with CVS. You'd basically be writing a new CVS.

-David
User avatar
Lonley Driver
 
Joined: 10 Feb 2003

Postby kmv » Tue Mar 11, 2003 4:41 pm

database change tracking

ok.. thats the kicker.. i have no idea how to pull this off in cvs. but again, could be done via code sumissions as diffs into a acceptance queue.


How big would the test db be? They are just files after all...
User avatar
kmv
 
Joined: 03 Mar 2003
Location: Another day, another city

Postby Lonley Driver » Tue Mar 11, 2003 8:41 pm

Hmm... database tracking changes... You could write a little front end in PHP where you can execute SQL and comments on it, and then you just take the SQL and the comments and throw it into another table. It'd probably take someone a whole 10 minutes to write.

This would allow you to keep a record of every single change to the database, with coder comments.

Use something like that and CVS, and you have what you need. :)

-David
User avatar
Lonley Driver
 
Joined: 10 Feb 2003

Postby dj-ohki » Tue Mar 11, 2003 8:48 pm

Lonley Driver wrote:This would allow you to keep a record of every single change to the database, with coder comments.


cvs does this natively IIRC. i was just refering to a sumission queue to make life easier on the admin side insted of having everyone with commit access.
User avatar
dj-ohki
 
Joined: 17 Apr 2001

Postby Phade » Tue Mar 11, 2003 9:01 pm

Hey,

It's more complicated than that. We need to track which pages use which database tables (hopefully down to the specific columns used), database changes, obselecense, and other database/page relationships, all of which CVS is incapable of tracking (as far as I know). I also want user management to be stored in MySQL so that can be easily integrated into the current user management system.

Phade.
User avatar
Phade
Site Admin
 
Joined: 20 Oct 2000
Location: Little cabin in the woods...

Next

Return to Site Announcements

Who is online

Users browsing this forum: No registered users and 3 guests