#5567 Script to force an svn hotcopy

v1.0.0
closed
General
2015-08-20
2013-01-09
No

We need a paster script that will force a repo clone via svn hotcopy to an existing svn mount point. We'll use this to test hotcopy on an sfs-alluradaemon host w/o enabling scm.svn.hotcopy globally.

Discussion

  • forge:tv/5567
    forge-classic:tv/5567

    Prereqs to testing:
    1. Need svn 1.7+ installed on sandbox
    2. Create project testhotcopy. Install SVN tool at mount point: svn
    3. Make sure you have an svn repo on the sandbox filesystem (this is the repo you will hotcopy from). In my case I used /svn/p/konfidi/code.
    4. In production.ini set scm.svn.hotcopy = False to simulate our prod settings

    Then run:

    paster script production.ini /var/local/forge-classic/scripts/test-svn-hotcopy.py -- file:///svn/p/konfidi/code testhotcopy svn
    grep "via hotcopy" /var/log/allura/allura.log
    

    Browse http://sandbox-host/p/testhotcopy/svn.

     
    • status: in-progress --> code-review
     
  • Dave Brondsema

    Dave Brondsema - 2013-01-09
    • status: code-review --> validation
    • qa: Dave Brondsema
    • size: --> 1
     
  • Dave Brondsema

    Dave Brondsema - 2013-01-11
    • status: validation --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2013-01-11
    • labels: --> migration, performance
     

Log in to post a comment.