Task #128

Move scanner test suite to separate repository

Added by Kornelius Kalnbach 11 months ago. Updated 3 months ago.

Status:New Start:10/19/2009
Priority:Normal Due date:
Assigned to:Kornelius Kalnbach % Done:

50%

Category:Repository
Target version:1.0 RC1

Description

History

Updated by Kornelius Kalnbach 11 months ago

The command is:

svnadmin dump . | svndumpfilter exclude /tags/{0.8.0rc1,0.8.1,0.8.2,0.8.3,0.8.4,0.9.0rc1}/test/scanners | svndumpfilter exclude /trunk/test/scanners > coderay-without-scanner-tests.dump

Updated by Kornelius Kalnbach 11 months ago

  • Target version changed from 0.9 RC2 to 1.0 RC1

It's problematic, because the version of the test repo is independent from the root repo...we had that problem before. I guess it's solvable, but I don't want to create too much confusion in this release. So, it's postponed.

Updated by Kornelius Kalnbach 7 months ago

  • % Done changed from 0 to 10

The separate repository should be handled by rake tasks, such as:

rake test:scanners - If scanner suite is not present, offers to download it; otherwise it starts the test suite.

rake test:suite:update - Updates the suite (or just use svn update test/scanners).

rake test:suite:install - Installs the suite from repository. Which repo path to use is hardcoded into the release, eg. 1.0 releases would refer to http://svn.rubychan.de/coderay-scanner-tests/branches/1.0/ as described in test/scanner-suite.yaml or computed from CodeRay::VERSION.

rake test:suite:switch - Switches to the appropriate suite repository using svn switch.

Updated by Kornelius Kalnbach 7 months ago

  • Tracker changed from Bug to Task

Updated by Kornelius Kalnbach 6 months ago

By the way: The scanner tests have currently 45.2 MB (without svn debris).

Updated by Kornelius Kalnbach 5 months ago

  • % Done changed from 10 to 50

Removed the scanner tests in r548. The new repository is at http://svn.rubychan.de/coderay-scanner-tests and will not be maintained via Redmine.

I added the scanner tests as an svn:external for now - this is problematic, since only we have access to svn+ssh. I'll try to find a solution.

Updated by Kornelius Kalnbach 5 months ago

The CodeRay trunk is now only 9 MB :)

Updated by Kornelius Kalnbach 3 months ago

When checking out the CodeRay trunk, you're beaing asked for a password. To solve this, abort the checkout and run:

cd mein-coderay-trunk
rm -rf test/scanners
svn pe svn:externals test

Replace the content with:

scanners http://svn.rubychan.de/coderay-scanner-tests/trunk

And run svn up again. It should checkout everything now.

Also available in: Atom PDF