Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Code Newbie > Lounge
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 03-06-2003, 11:52 AM   #1 (permalink)
Netrunner
Registered User
 
Join Date: Mar 2003
Posts: 2
Netrunner is on a distinguished road
Send a message via ICQ to Netrunner Send a message via Yahoo to Netrunner
Version Control

I need to get something up and running.

I haven't used anything but VS, but I hear people saying that the DB get corrupted, so I am looking for something else.

I know of CVS and Subversion, but I am totally lost in getting them to work. I am coming from the Windows side of things, so my way things work are a bit skewed.

Could someone write a tutorial on setup and implementing CVS or Subversion for use newbies.

Or what do you use for Version Control in you development enviroment. I am in the US and I have 3 programmers abroad that need access to the Version Control software.

Any help would greatly appriciated.

thanks
netrunner
__________________
Netrunner is offline   Reply With Quote
Old 03-06-2003, 12:03 PM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,397
sde is on a distinguished road
i guess i'm pretty n00b ..

what is Version Control, .. what is VS, .. and are we missing a programming forum that this should be in?
__________________
sde is offline   Reply With Quote
Old 03-06-2003, 12:09 PM   #3 (permalink)
jeffro
Person of interest
 
jeffro's Avatar
 
Join Date: Mar 2003
Location: New Jersey
Posts: 102
jeffro is on a distinguished road
CVS Tutorial

Would you be setting up a CVS server on Linux I am assuming? If so I could write a basic tutorial on how to set it up and get the server and clients running. Would this be worth anything to you?

Let me know!
__________________
Jeffro
Linux counter#:213782
GnuPG ID: 406238E7
jeffro is offline   Reply With Quote
Old 03-06-2003, 12:25 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,397
sde is on a distinguished road
duh thanks =) i need things spelt out twice sometimes.

thanks for offering to make the tutorial. when you do, let us know so we can expedite the moderation/approval process.
__________________
sde is offline   Reply With Quote
Old 03-06-2003, 12:29 PM   #5 (permalink)
Netrunner
Registered User
 
Join Date: Mar 2003
Posts: 2
Netrunner is on a distinguished road
Send a message via ICQ to Netrunner Send a message via Yahoo to Netrunner
<a href="http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=version+control">Version Control</a>

In short, version control is used to keep what ever you are working on saved in a database, with history versions for you to roll back on if you need too. Also, it allow multiple people to work on a project without over writing someone elses code.

VS = <a href="http://msdn.microsoft.com/ssafe/">Visual SourceSafe</a>

Well, yeah I would like to a tutorial, but I would like to find out what others are using, for my purpose right now.. I am stuck on the windows platform, so for me, it would be more benificial to see CVS or Subversion on windows 2k.

What other VS do you use?

Also, it would be nice the have the client use a web browser to checkin/checkout and upload/download from.

I hope other newbies benifit from this.

PS. I also have a linux box here, so if I have to use linux, I can, just tell me the port numbers so I can mod my router and tell abroad developers how to hit it.

thanks
netrunner
__________________
Netrunner is offline   Reply With Quote
Old 03-06-2003, 06:03 PM   #6 (permalink)
jeffro
Person of interest
 
jeffro's Avatar
 
Join Date: Mar 2003
Location: New Jersey
Posts: 102
jeffro is on a distinguished road
Hmm, I only know CVS

As for a web-based Version Control system the only one I know of is PVCS by Merant, but that isn't open-source and it costs a pretty penny from what I have heard.

One big thing that CVS doesn't do that some other Source Control systems do is file locking, so 2 developers can be working on the same file at the same time, which can cause problems. Essentially CVS just provides a central repository where everyone keeps their work that is associated with a project.

There isn't a web interface that I know of and everything is command-line driven. There are a few GUI-based CVS interfaces but I have never used them. (I type faster than I click!)

I am not quite sure why I felt compelled to share all that with you, but I guess its nice to know. I will probably work on that 'Beginning CVS Tutorial' this weekend, look for it early next week.

jeffro
__________________
Jeffro
Linux counter#:213782
GnuPG ID: 406238E7
jeffro is offline   Reply With Quote
Old 03-06-2003, 06:56 PM   #7 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
cvs can be used in windows, and there are several good visual front-ends for it (here's a good one), or you can use a commandline interface through cygwin. if you're using it only for yourself, setup should be pretty easy. if you want it on a central server, you'll have to set up a pserver or shell access which can be a pain. if you are using cvs, you should also install cvsweb, which is a very handy tool for browsing the sourcecode. as for locking in cvs, it is almost entirely unnecessary. cvs has great merging capabilities, so if two people are working on the same file, it can merge their differences together very well (having to do a manual merge is very rare). here's an example of cvsweb and cvs in general in an active codebase

for personal use, you may consider RCS (on which cvs is based), which is meant as a personal code repository. i doubt you'll find gui front-ends for it, though.

i've never tried subversion, but people seem to like it.

visual sourcesafe, on the otherhand, has some major issues with file corruption. since it uses windows filesharing (smb) to mount the repository, it is vulnerable to clients crashing or messing up and corrupting files (which happend alot because vss is not the most stable app). again, for one user it may be okay, but it does not scale well (past 5 or 6 developers, it is a bad idea...).
__________________
joe_bruin is offline   Reply With Quote
Old 03-07-2003, 05:42 AM   #8 (permalink)
jeffro
Person of interest
 
jeffro's Avatar
 
Join Date: Mar 2003
Location: New Jersey
Posts: 102
jeffro is on a distinguished road
true...

I will admit also that setting up CVS users can be a little bit of a paint because you need either a pserver or individual shell accounts for each user. I have never personally user CVSweb but it looks like a great tool, I will definitely be checking into it more here soon!

jeffro
__________________
Jeffro
Linux counter#:213782
GnuPG ID: 406238E7
jeffro is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
web control sureshkumar_kc MS Technologies ( ASP, VB, C#, .NET ) 2 09-28-2004 05:58 AM
Control Windows desktop remotely? Admin Linux / BSD / OS X 4 09-22-2004 09:20 AM
Red Hat version differences? Admin Linux / BSD / OS X 5 03-09-2003 11:45 AM
How to display PHP Version and Information sde PHP 0 02-16-2003 11:46 PM
what version of perl.. sde Linux / BSD / OS X 3 05-15-2002 06:09 PM


All times are GMT -8. The time now is 06:39 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle