Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 165 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
165
Dung lượng
1,22 MB
Nội dung
[...]... chapter, What Is Version Control? , is an introduction to the concepts and terminology of versioncontrol systems There are many versioncontrol systems to choose from In this book we’re going to focus on the freely available CVS; on a day-to-day basis, CVS is probably the most widely used versioncontrol system Chapter 3, Getting Started with CVS, is a tutorial introduction to usingCVS The remainder... pragprog@pragmaticprogrammer.com Prepared exclusively for Francilene Procopio Garcia xi Chapter 1 Introduction This book tells you how to improve the effectiveness of your software development process using versioncontrolVersion Control, sometimes called source code control, is the first leg of our project support tripod We view the use of versioncontrol as mandatory on all projects Version control. .. with problems This book focuses on versioncontrol from a project perspective Rather than simply listing the commands available in a versioncontrol system, we instead look at the tasks we need in a successful project, and then see how a versioncontrol system can help How does versioncontrol work in practice? Let’s start with a small story 1.1 VersionControl in Action Fred rolls into the office... be using 2.1 The Repository You may have noticed that we wimped out; we said that, “a versioncontrol system is a place to store the stuff you write,” but we never said exactly where all this stuff is stored In fact, it all goes in the repository In almost all versioncontrol systems, the repository is a central place that holds the master copy of all versions of your project’s files Some version control. .. for Francilene Procopio Garcia 6 Chapter 2 What Is Version Control? A versioncontrol system is a place to store all the various revisions of the stuff you write while developing an application They’re basically very simple systems Unfortunately, over the years, various people have started using different terms for the various components of version control And this can lead to confusion So let’s start... care Instead it stores every version that has ever been checked in If you check out a file, edit it, then check it back in, the repository will hold both the original version and the version that contains your changes.3 Most systems use a simple numbering system for the versions of a file In CVS, the first version of a file is assigned the revision number 1.1 If a changed version is checked in, that change... means you can’t use the individual file version numbers to keep track of things such as project releases (Version 1.3a of the Orinoco project, for example) Because this one point often causes grief in teams just starting to use CVS, let’s repeat it The individual revision numbers that CVS assigns to files should not be used as external version numbers Instead, versioncontrol systems provide you with tags... true; the practices of CM rely very heavily on having good version control in place But versioncontrol is just one tool used by configuration management CM is a set of project management practices that enables you to accurately and reproducibly deliver software It uses versioncontrol to achieve its technical goals, but also uses a lot of human controls and cross checks to make sure that things are not... the things that get delivered, and versioncontrol as a means of recording that identification CM is a large (and to some extent ill-defined) topic, and we won’t be covering it more in this book For now, though, let’s concentrate on how to use versioncontrol systems to get our jobs done The next chapter is a gentle introduction to a particular versioncontrol system, CVS Prepared exclusively for Francilene... his heating problems Because they had versioncontrol in place (and they knew how to use it), Fred and Wilma dealt with a number of project emergencies without experiencing that panic that so often characterizes our response to the unexpected Prepared exclusively for Francilene Procopio Garcia IN A CTION 5 R OADMAP Using versioncontrol gave Fred and Wilma the control and the flexibility to deal with . project.
This volume, Pragmatic Version Control, describes how to use
version control as the cornerstone of a project. A project with-
out version control is like. process using version control.
Version Control, sometimes called source code control, is the
first leg of our project support tripod. We view the use of
version