Differences between revisions 1 and 14 (spanning 13 versions)
Revision 1 as of 2011-01-07 17:45:00
Size: 1512
Editor: YoichiAso
Comment:
Revision 14 as of 2011-01-12 12:53:49
Size: 1913
Editor: YoichiAso
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
The VCS is particularly useful when several people are working on a single set of files, for example, a group of people writing a paper, or several people developing a simulation code together. The VCS is particularly useful when several people are working on a single set of files, for example, a group of people writing a paper, or several people developing a simulation code together. Subversion (svn) is a popular VCS and used by many projects around the world. There is an svn repository for LCGT. LCGT collaborators are strongly encouraged to use this svn repository for any applicable tasks.
Line 10: Line 10:
It is probably easier to illustrate a sample use case with an example.
Suppose two people, A and B are working on an interferometer simulation program.
The simulation program has three files, file1, file2 and file3. Initially, exact copies of those files
are installed to the computers of A and B.<<BR>>
Now, A started to edit file1 to implement a new function. About the same time, B started to edit file2
to add his own changes to it.
If they continue to work like this for a while, they will eventually have two very different sets of files.
There may be some inconsistent changes made by them to their own version of the program. After a while, it will become
very difficult to merge their works back to a single program.
For more detailed reasonings for the use of VCS, see [[/Reasoning|here]].
Line 20: Line 12:
== LCGT SVN Policies ==

 * Feel free to use SVN. Don't be afraid of commit. You can always rollback your changes.
 * Always add comments when you commit changes.
 * Create a ticket when you want to make a major change or find a problem. Make sure to put the email addresses of the people who will should be notified of the change or the problem in the CC field of the ticket properties.
 * Create branch if you want to make large changes.
 
Line 21: Line 20:
See here. See [[/QuickStart|here]].

== Basic work flow of SVN ==
See [[/WorkFlow|here]].

== Branching and Tagging ==
See [[/BranchTag|here]].

== trac and tickets ==
trac is a project management system used in conjunction with svn.
The LCGT trac can be accessed from
[[https://granite.phys.s.u-tokyo.ac.jp/trac/LCGT/]].

There are two main use of trac for LCGT, repository browsing and the ticket system.

Version Control System for LCGT

This page contains information for using version control system, subversion, for various LCGT tasks.

Introduction, why version control system ?

Version control system (VCS) is a computer tool to manage the history of various files you work on. Usually, files are documents or program codes, but you can use it for managing virtually any type of files. It keeps track of the changes you make to the files and let you roll back to any previous version if you want. The VCS is particularly useful when several people are working on a single set of files, for example, a group of people writing a paper, or several people developing a simulation code together. Subversion (svn) is a popular VCS and used by many projects around the world. There is an svn repository for LCGT. LCGT collaborators are strongly encouraged to use this svn repository for any applicable tasks.

For more detailed reasonings for the use of VCS, see here.

LCGT SVN Policies

  • Feel free to use SVN. Don't be afraid of commit. You can always rollback your changes.
  • Always add comments when you commit changes.
  • Create a ticket when you want to make a major change or find a problem. Make sure to put the email addresses of the people who will should be notified of the change or the problem in the CC field of the ticket properties.
  • Create branch if you want to make large changes.

LCGT SVN quick start

See here.

Basic work flow of SVN

See here.

Branching and Tagging

See here.

trac and tickets

trac is a project management system used in conjunction with svn. The LCGT trac can be accessed from https://granite.phys.s.u-tokyo.ac.jp/trac/LCGT/.

There are two main use of trac for LCGT, repository browsing and the ticket system.

LCGT/SVN (last edited 2021-06-03 12:14:16 by Ken-ichi Oohara)