Subversion (SVN)

From CLAB

(Redirected from SVN)
Jump to: navigation, search

CLAB hosts Subversion (SVN) repositories, which hopefully contain all of the source code and server configurations for all of our projects.

[edit] Current Repositories

https://clabsvn.ist.unomaha.edu/

  • CLAB - CLAB/GSAF general repository
    • GVRG - Giant Virus Research Group software
      • CMS - Project Manager: Kiran Bastola; Project Advisor: Mohammad Shafiullah; Lead Web Developer: Anil Raj Khadka
    • www - website materials.
  • i3bio - aka MycoAlign or Advanced Molecular Identification System (AMIS)
  • MA3 - Lead developer: Sajan Singh Suwal
  • user - Users can store their own projects in this repository
  • admin - Administrative root. Server and daemon configuration files live here.

For example, you can check out the CLAB repository:

# Anonymous, read-only access:
svn checkout https://clabsvn.ist.unomaha.edu/anonsvn/CLAB CLAB

# Read/write (requires authentication. Contact us.):
svn checkout https://clabsvn.ist.unomaha.edu/svn/CLAB CLAB

[edit] SVN Tips & Tricks

If you want $Id$ and $HeadURL$ to work:

svn propset svn:keywords "Id HeadURL" *.pl
svn -R propset svn:keywords "Id HeadURL" .

When committing graphics, make sure and set these properties or things go wrong when you pull them back out.

svn ps svn:mime-type image/png *.png
svn propdel svn:eol-style title.png

If the repository moves, you can re-locate your working copy

svn switch --relocate svn://vc.jays.net/admin https://clabsvn.ist.unomaha.edu/svn/admin
svn switch https://clabsvn.ist.unomaha.edu/svn/admin/etc/klab .

You can merge repositories:

# Add the full history of the seqlab repository to the user repository
svnadmin dump seqlab | svnadmin load user

Convert a CVS repository to SVN

cvs2svn --trunk-only -s protec cvs_protec