Differences between revisions 4 and 5
Revision 4 as of 2005-08-03 10:23:53
Size: 1197
Editor: anonymous
Comment:
Revision 5 as of 2005-09-01 11:15:03
Size: 1445
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
You have shell access on alioth, because of this you can often do most of the manipulations you need directory on the repository yourself. Some commonly asked for items: You have shell access on alioth, because of this you can often do most of the manipulations you need directly on the repository yourself. Some commonly asked for items:

 * Creating a new public SVN repository (for a new project)

SVN repository on svn.debian.org doesn't get created with a new project, you have to request it at the [https://alioth.debian.org/tracker/?group_id=1&atid=200001 Tracker: Support Requests].
Line 30: Line 34:
 svn co svn+alioth://svn.debian.org/wsvn/pkg-bar  svn co svn+ssh://svn.debian.org/wsvn/pkg-bar

Useful tricks with SVN on Alioth:

You have shell access on alioth, because of this you can often do most of the manipulations you need directly on the repository yourself. Some commonly asked for items:

  • Creating a new public SVN repository (for a new project)

SVN repository on svn.debian.org doesn't get created with a new project, you have to request it at the [https://alioth.debian.org/tracker/?group_id=1&atid=200001 Tracker: Support Requests].

  • Importing a CVS repository

Install cvs2svn and generate the svn repository. Use the svnadmin dump command to get a dump file. Copy it to alioth. Use the svnadmin load command to import the repository.

  • Setting up On-Commit notifications

Setting up commit notifications can be done directly in the repository.

http://svnbook.red-bean.com/svnbook-1.0/ch05s02.html#svn-ch-5-sect-2.1

Gives instructions on how to do this.

  • Guests, svn+ssh checkouts and svn:externals

If you have a foo-guest account and you want to checkout a pkg-bar repository with externals, svn+ssh will automatically try to use your $USER var when checkouting the externals.

A work-around is to temporarily edit your $HOME/.subversion/config file so that you get something like:

 ["tunnels"]
 ssh = $SVN_SSH ssh -l foo-guest

Then you will be able to checkout using

 svn co svn+ssh://svn.debian.org/wsvn/pkg-bar