Practical Perforce

Front Cover
"O'Reilly Media, Inc.", Nov 18, 2005 - Computers - 336 pages

When developers build software, they're able to keep track of all the different versions and all the components they use with software configuration management (SCM) systems. One of the more popular SCM products is Perforce.

Authored by Perforce's own VP of product technology, Practical Perforce is the ideal complement to the existing product manual, focusing less on the 'how" and more on the "why" and "when." The book is not only a helpful introduction to Perforce, it's an enlightening resource for those already familiar with this versatile SCM product. Whether you're a programmer, product manager, or build engineer, you stand to benefit from the many insider tips and ideas presented in this convenient guide.

Practical Perforce is divided into two main parts. Part I offers a whirlwind technical tour, complete with careful descriptions of basic and advanced Perforce commands designed to give you a baseline knowledge. Part II describes the big picture-using Perforce in a collaborative software development. It outlines recommended best practices and quickly shows how to implement them with the Perforce operations introduced in Part I. Throughout the book, you'll learn how to maximize Perforce so it completes tasks like these in the most efficient manner possible:

  • Keep track of changes as you conduct concurrent parallel work on files
  • Log activity
  • Generate reports on who did what when
  • Compare, merge and branch files
  • Store files and file configurations
  • Restore lost bug fixes

Recognizing the pitfalls and practices of an SCM system like Perforce is absolutely essential to producing good software. Now, with Practical Perforce, you have the edge you need to ensure success.

 

Contents

Files in the Depot
1
Working with Files
17
Resolving and Merging Files
49
Branching and Integration
87
Labels and Jobs
127
Controlling and Automating Activity
144
How Software Evolves
167
Basic Codeline Management
189
Development Codelines
249
Staging Streams and Web Content
282
Setting Up a Perforce Test Environment
305
Perforce Terminology and P4 Commands
311
Bibliography
315
Glossary
317
Index
321
Copyright

Release Codelines
216

Other editions - View all

Common terms and phrases

About the author (2005)

Laura Wingerd is currently vice president of product technology at Perforce Software. She divides her time between promoting sound SCM to Perforce's technical staff and promoting Perforce to the software development industry. She joined Perforce in 1997, just as the company moved out of the garage of its founder, Christopher Seiwald. She and Seiwald wrote "High-Level Best Practices in Software Configuration Management," a white paper widely referenced in books and articles. Prior to joining Perforce, Laura worked at Sybase, first developing a software build system for a skunk-works development project, then orchestrating a massive conversion of a build system for core database and networking products.

Bibliographic information