Differences between revisions 8 and 9
Revision 8 as of 2011-12-09 23:53:07
Size: 3036
Editor: YoichiAso
Comment:
Revision 9 as of 2016-09-01 10:33:54
Size: 3103
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
Mac should also have a command-line version of svn package. Mac should also have a command-line version of svn package. [[http://www.smartsvn.com/|SmartSVN]] is also available.
Line 33: Line 33:
Please contact Yoichi Aso (aso@granite.phys.s.u-tokyo.ac.jp) to create an account. Please contact Yuta Michimura (michimura@granite.phys.s.u-tokyo.ac.jp) to create an account.

LCGT SVN Quick Start

Installation of an svn client

For Windows, TortoiseSVN is the easiest to use svn client.

For Linux, virtually any distribution has a pre-compiled svn package. Just install it and use the command-line tool (i.e. svn).

Mac should also have a command-line version of svn package. SmartSVN is also available.

Invalid Argument problem of TortoiseSVN

Sometimes, TortoiseSVN does not work with an error message "Invalid Argument" or equivalent Japanese message. It is most likely caused by the svn command bundled with TortoiseSVN not recognizing the SSL certificate of the server (granite). For some unknown reasons, the server certificate of granite, which is signed by the National Institute of Informatics, is not recognized by svn on Windows but works fine on Linux. Anyway, the fix is easy. Just do the following.

  • Open a command prompt (DOS prompt).
  • Type in the following:

 svn ls https://granite.phys.s.u-tokyo.ac.jp/svn/LCGT
  • You will be asked if you want to accept the server certificate. Type "p" and hit enter.
  • Close the terminal.
  • Now the "Invalid Argument" problem should be gone.

Read-only Access

The root of the LCGT svn repository is https://granite.phys.s.u-tokyo.ac.jp/svn/LCGT.

Issue the following command to check-out the trunk/mif/IFOmodel directory.

svn co https://granite.phys.s.u-tokyo.ac.jp/svn/LCGT/trunk/mif/IFOmodel

The read-only access to the LCGT svn is allowed to anyone in the world.

Write permission

In order to commit changes you made to your local copy, you have to have a valid user account for the LCGT-svn. Please contact Yuta Michimura (michimura@granite.phys.s.u-tokyo.ac.jp) to create an account.

Once you have a user account, you can commit changes like this:

svn ci --username myusername

where myusername is your user name.

Repository Browsing

Accessing the svn URL directory by a web browser is not a recommended way to look around the svn repository. Instead, there is a trac system set up for the LCGT svn. https://granite.phys.s.u-tokyo.ac.jp/trac/LCGT/

Click on the BrowseSource in the menu bar at the top. Then you can browse the repository with a much better user interface. Moreover, you can check the revision history of each file, see the differences between versions, etc.

Trac ticket system

Trac is a project management tool nicely integrated with svn. We can use it to browse the svn repository as was seen above. You can also use it to a bug/issue tracking system.

Whenever you found a bug or problem in a program code, you can issue a ticket to start discussion about the problem. People can add comments to the ticket, so it works as a BBS for the issue. Once the problem is fixed, you can close the ticket.

Trac account

A valid user account is required to create a trac ticket. When you create an svn account, an associated trac account is created with the same username/password.

LCGT/SVN/QuickStart (last edited 2021-06-18 11:56:40 by shoichi.oshino)