Downloading and Installing Vss2Svn

The latest released Win32 version of vss2svn can always be downloaded from /download/vss2svn/. This program is released as a zipfile containing vss2svn.exe (the main Perl script contained in an executable format) and ssphys.exe (a helper program which will be called by vss2svn.exe). You do not need to have Perl or any other libraries installed in order to use a released zipfile.

The current recommended release is 0.11.0 Alpha 1.

Nightly Builds

Nightly builds are uploaded to the /download/vss2svn/nightly directory. These builds are automatically built each day from the latest checked-in code. Although there are no guarantees that a given nightly build will work correctly, it may contain fixes that are not yet available in the release. Please join the Mailing List if you have any questions regarding a nightly build.

Getting the files from Subversion

You only need to download the source code if you want to hack on the script.

You can use the Subversion command-line tool to checkout the latest code:

svn checkout http://svn.pumacode.org/repos/vss2svn/trunk/ vss2svn

Building on Linux

Because vss2svn reads the VSS backend files directly without using any vendor APIs, it is possible to build and run vss2svn and its required ssphys binary on Linux. The easiest way to do this is to use the Module::Build install. You can use this to install it:

cd vss2svn
perl Build.PL
./Build
./Build install

The invocation of perl Build.PL will complain if you don't have the right Perl modules installed, so you should install whatever it says it needs.

It'll invoke the autotools to configure and build ssphys, and install the modules, vss2svn.pl, and ssphys. See InstallingSsPhys for more information on building ssphys.

Getting the required perl modules

Before actually running vss2svn.pl, make sure you have all of the required modules. Run the following piece of code (under Cygwin on Windows or a basic Linux shell) to install them:

for m in Module::Build XML::Simple Time::CTime DBD::SQLite2 DBI Tie::IxHash Text::Glob; do
   perl -MCPAN -e "install $m"
done

# SQLite2 failed to install, even with "force install ...", so:
cd ~/.cpan/build/DBD-SQLite2-0.33
make install

# the Config:Ini module is not in CPAN, so:
wget http://backpan.perl.org/authors/id/A/AV/AVATAR/Config-Ini-1.08.tar.gz
tar xzf Config-Ini-1.08.tar.gz 
cd Config-Ini-1.08
perl Makefile.PL
make
make install

On Debian Etch, the following command will install the modules as Debian packages:

aptitude install libmodule-build-perl libxml-simple-perl libdbd-sqlite2-perl libtie-ixhash-perl \
 libtext-glob-perl libtime-modules-perl

The same command line should work with "apt-get".

PumaCode.org recommends CVSDude for fast, professional Subversion and Trac hosting:

CVSDude.com

These ads are automatically generated by Google. Revenue from these ads helps to pay for hosting this site; however, these ads do not constitute an endorsement by PumaCode.org.