CVS real-life examples


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users CVS real-life examples
# 1  
Old 10-18-2002
Question CVS real-life examples

Hi all,


I have successfully setup a CVS pserver. I have successfully installed WinCVS, the jEdit CVS plugin and the vim CVS menu script. I have also installed cvsweb.

All works ok, from the frontends and the CLI.

I have a grasp of what CVS does apart from the typical examples commit-update and so but I am having a difficult time getting any examples of real life situations and what to do when conflicts arise and how to prevent them as much as possible. I have done the usual research (cvshome.org and google deep searches) but the subject is covered so much that no good results show up. You know, simple heuristics and so that help so much.

I have to explain CVS to a bunch of junior types and so and can't really do it if I don't "get it" myself.

Do you have any good pointers? Thanks in advance.

dani++

[BTW: It will be on Solaris, are cvs-solaris good friends?]
# 2  
Old 10-18-2002
CVS and Solaris are good enough friends. We use it to keep our NIS files from being screwed up by more than one admin (of course, that was when we had 14 admins versus the 3 still here - now it's not as big a deal).

From the man page:

CVS is a version control system, which allows you to keep
old versions of files (usually source code), keep a log of
who, when, and why changes occurred, etc., like RCS or SCCS.
Unlike the simpler systems, CVS does not just operate on one
file at a time or one directory at a time, but operates on
hierarchical collections of directories consisting of ver-
sion controlled files. CVS helps to manage releases and to
control the concurrent editing of source files among multi-
ple authors. CVS allows triggers to enable/log/control
various operations and works well over a wide area network.

cvs keeps a single copy of the master sources. This copy is
called the source ``repository''; it contains all the infor-
mation to permit extracting previous software releases at
any time based on either a symbolic revision tag, or a date
in the past.
Home of CVS
CVS Docs has information on why,what, how.

SCCS which comes with Solaris is lousy for SAs since it sets file permissions to read-only instead of leaving the permissions the way they were.

RCS is just as good as CVS except you have to remember to check the file out first (RCS is being used for DNS zone files but CVS would work too).
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need lot of examples

Hi, I need a word doc or pdf which contains lots of Shell Programming samples... This is for my open book examination, thanks in advance.. (2 Replies)
Discussion started by: karthikeayan
2 Replies

2. UNIX for Dummies Questions & Answers

SimpleAWK Examples

Can Anyone please give me some simple AWK Examples to clearly understand the usage and syntax of the command. Thanks (2 Replies)
Discussion started by: unxusr123
2 Replies

3. UNIX for Advanced & Expert Users

End of Life / Life Cycle Information

Hello everyone, I was searching for locations where I can get End of Life information on multiple versions of Unix. I have found some information which I list below, what I have not found or confirmed is where I can get the information for: DEC Unix/OSF1 V4.0D NCR Unix SVR4 MP-RAS Rel 3.02.... (2 Replies)
Discussion started by: robertmcol
2 Replies

4. UNIX for Advanced & Expert Users

Most useful Unix commands and Examples

These commands are placed in the MS Word Doc. with command options and the their respective examples. hope this will help for the beginners. Thanks. Varun Gupta:D (2 Replies)
Discussion started by: varungupta
2 Replies

5. Shell Programming and Scripting

need examples?

Can someone give me an example of two shells? (1 Reply)
Discussion started by: wmosley2
1 Replies

6. UNIX for Advanced & Expert Users

looking for .profile examples

I'm looking for some 'well documented' .profile examples (8 Replies)
Discussion started by: JimC
8 Replies
Login or Register to Ask a Question