Migrating an Existing Subversion Repository to a Kenai Project RepositoryIf you manage a project on Project Kenai and want to copy an existing Subversion repository into your Kenai project repository, the first thing you need to do is evaluate how large the repository is. A repository larger than 1,000 revisions is likely to overload the Kenai Source Control Management system if you do it yourself with svnsync. Even a repository of less than 1,000 revisions can take hours to copy.
If instead, as described below, you do an svnsync to a repository on a system with fast Internet access, zip the resulting repository and upload the zip file to your project, and then request that the Kenai staff copy the repository file system to your project's Subversion repository on Kenai, the repository can be copied safely without overloading the system.
Note: If your repository has less than 1,000 revisions, you can do an svnsync yourself as described at Copying an Existing Subversion Repository Into Your Project's Subversion Repository.
To set up your repository to be copied:
- Create your Kenai Subversion repository as described at Source Code Repository.
- Note the destination repository checkout URL. For example:
https://svn.kenai.com/svn/your-project-repos (https access)
svn+ssh://firstname.lastname@example.org/your-project-name~your-project-repos (SSH access)
- Create your source repository dump on a host with fast Internet access. For example:
$ svnadmin create /tmp/your-repos-dump~source
$ svnsync init file:///tmp/your-repos-dump~source https://www.somesite.org/your-ext-project/svn/your-repo~source
$ zip -rv your-repos-dump~source.zip /tmp/your-repos-dump~source
- Create a project website as described at Website.
- Use WebDAV to upload your repository zip file.
For information on using WebDAV with your website, see Working With Your Website.
- Send email to email@example.com requesting that your repository be uploaded. Be sure to provide the URL to the zip file and your project repository's URL from Step 2 above.