Subversion Migration
From DSpace Wiki
Contents |
Introduction
The DSpace source code is being migrated from a SourceForge-hosted CVS repository to a SourceForge-hosted Subversion repository. This because Subversion has better support for the kinds of source code reorganising that DSpace will be undergoing in the future.
This will not affect anyone who does not check the DSpace source code directly out of CVS.
CVS HAS BEEN TAGGED AND IS NOW READ-ONLY
SUBVERSION IS UP AND RUNNING: Instructions for checkout
The CVS repository will never be deleted, but will be read-only and never change. All new development, patches, doc updates etc. will occur in the Subversion repository.
Instructions for Developers
If you just download DSpace packages (.tar.gz files) from SourceForge, the change will not affect you.
If you run a local CVS or Subversion repository, with DSpace on a vendor branch, the change will not affect you.
If you work on a copy of the DSpace code checked out from the CVS repository, and you keep the code up to date with "cvs update" commands, you will need to check out a fresh copy of the code from Subversion after the migration, and copy over your changes.
Eclipse users
- Install Subclipse or similar Subversion plug-in (Also highly recommend Subversive by Polarion, as its codebase will become part of the standard Eclipse distribution)
- For each active DSpace project:
- create a patch and save it somewhere
- Create a new corresponding project by checking DSpace out of Subversion
- Apply the patch you just saved
(TODO in these instructions: Use that cvs_final tag, then update to trunk)
Command line users
For each active DSpace project:
- Create a patch and save it somewhere
cd /path/to/project cvs update cvs diff --unified > /tmp/diff.txt
- Create a new corresponding project by checking DSpace out of Subversion.
- Note: This will checkout the 'core' platform, without language packs.
- Note: The project URL listed below is not yet active. Check the dates above for information on when it will be available.
mkdir -p /path/to/new/project cd /path/to/new/project svn co https://dspace.svn.sourceforge.net/svnroot/dspace/trunk/dspace .
- Apply the patch you just saved
patch -p0 < /tmp/diff.txt
