This easy-to-follow reference shows a variety of professionals how to use the Concurrent Versions System (CVS), the open source tool that lets you manage versions of anything stored in files. Ideal for software developers tracking different versions of the same code, this new edition has been expanded to explain common usages of CVS for system administrators, project managers, software architects, user-interface (UI) specialists, graphic designers and others. Current for version 1.12, Essential CVS, 2nd Edition offers an overview of CVS, explains the core concepts, and describes the commands that most people use on a day-to-day basis. For those who need to get up to speed rapidly, the book's Quickstart Guide shows you how to build and use a basic CVS repository with the default settings and a minimum of extras. You'll also find:
- A full command reference that details all aspects of customizing CVS for automation, logging, branching, merging documents, and creating alerts
- Examples and descriptions of the most commonly used options for each command
- Why and when to tag or branch your project, tagging before releases, and using branching to create a bugfix version of a project
- Details on the systems used in CVS to permit multiple developers to work on the same project without loss of data
An entire section devoted to document version management and project management includes ways to import and export projects, work with remote repositories, and shows how to fix things that can go wrong when using CVS. You'll find more screenshots in this edition as well as examples of using graphical CVS clients to run CVS commands. Essential CVS also includes a FAQ that answers common queries in the CVS mailing list to get you up and running with this system quickly and painlessly.
Inhaltsverzeichnis
Dedication;
Preface;
Changes for the Second Edition;
Structure of the Book;
Conventions Used in This Book;
Learning More About CVS;
Web Site and Manpages;
Using Code Examples;
How To Contact Us;
Safari® Enabled;
Acknowledgments for the First Edition;
Acknowledgments for the Second Edition;
Part I: Introduction;
Chapter 1: What Is CVS? ;
1. 1 What Is a Versioning System? ;
1. 2 Why CVS? ;
1. 3 CVS in the Field;
Chapter 2: CVS Quickstart Guide;
2. 1 Installing CVS;
2. 2 Building Your First Repository;
2. 3 Importing Projects;
2. 4 Accessing Remote Repositories;
2. 5 Checking Out Files;
2. 6 Editing Files;
2. 7 Committing Changes;
2. 8 Updating Sandboxes;
2. 9 Adding Files;
2. 10 Removing Files;
2. 11 Exporting and Building Projects;
2. 12 Quick Tips for Success;
Part II: Using CVS;
Chapter 3: Basic Use of CVS;
3. 1 General Information;
3. 2 Sandboxes and Repositories;
3. 3 Committing Changes to the Repository;
3. 4 Updating the Sandbox Files from the Repository;
3. 5 Adding Files to the Repository;
3. 6 Removing Files from the Repository;
3. 7 Moving Files or Directories;
3. 8 Releasing a Sandbox;
3. 9 Keywords;
3. 10 Binary Files and Wrappers;
3. 11 Specifying Default Command Options;
Chapter 4: Tagging and Branching;
4. 1 Tagging;
4. 2 Stickiness;
4. 3 Branching;
4. 4 Branching Strategies;
4. 5 Merging Strategies;
Chapter 5: Multiple Users;
5. 1 Using Simultaneous Development;
5. 2 Watching a File;
5. 3 Reserving Files;
5. 4 Comparing File Revisions;
5. 5 Displaying Recent Changes;
5. 6 Displaying File History;
Part III: CVS Administration;
Chapter 6: Repository Management;
6. 1 Creating a Repository;
6. 2 Deleting a Repository;
6. 3 Securing Your Projects;
6. 4 Repository Structure;
6. 5 CVSROOT Files;
6. 6 Server Environment Variables;
6. 7 Backing Up a Repository;
6. 8 Distributed Repositories;
6. 9 Editing a Repository;
6. 10 Sandbox Structure;
6. 11 Client Environment Variables;
6. 12 Exit Status;
Chapter 7: Project Management;
7. 1 Creating a Project;
7. 2 Distributing Files;
7. 3 Running Scripts;
7. 4 Interfacing with External Programs;
7. 5 Tools;
7. 6 Strategies and Practices;
Chapter 8: Remote Repositories;
8. 1 Specifying Repository Paths;
8. 2 Method Options;
8. 3 The local Access Method;
8. 4 The ext and server Access Methods;
8. 5 The fork Access Method;
8. 6 The gserver Access Method;
8. 7 The kserver Access Method;
8. 8 The pserver Access Method;
8. 9 Using inetd with gserver, kserver, and pserver;
8. 10 PAM;
Chapter 9: Troubleshooting;
9. 1 General Troubleshooting Techniques;
9. 2 Connectivity Problems;
9. 3 Filename Problems;
9. 4 Line-Ending Problems;
9. 5 Permission Problems;
9. 6 Lock Files;
9. 7 Time Issues;
Part IV: Reference;
Chapter 10: Command Reference;
10. 1 CVS Command-Line Options;
10. 2 CVS Commands;
Chapter 11: Miscellaneous Topics Reference;
11. 1 Administrative Files;
11. 2 CVSROOT Files;
11. 3 CVSROOT Variables;
11. 4 Dates;
11. 5 Environment Variables;
11. 6 Keywords and Keyword Modes;
11. 7 Pattern Matching;
11. 8 Repository Access Methods;
Part V: Appendixes;
Clients and Operating Systems;
A. 1 Multi-Operating-System Clients;
A. 2 Macintosh Clients;
A. 3 Unix and Linux Clients;
A. 4 Windows Clients;
A. 5 Integration Tools;
Administrators' Tools;
B. 1 CVS Variants;
B. 2 Distribution Tools;
B. 3 Logging Tools;
B. 4 Metadata Tools;
B. 5 Converters;
B. 6 Miscellaneous;
Frequently Asked Questions;
C. 1 Usage Questions;
C. 2 Administration Questions;
Colophon;