Sebb created WHIMSY-304:
---------------------------

             Summary: Don't check out entire  SVN directory where only a few 
files are needed
                 Key: WHIMSY-304
                 URL: https://issues.apache.org/jira/browse/WHIMSY-304
             Project: Whimsy
          Issue Type: Improvement
            Reporter: Sebb


There are some individual files that Whimsy uses, e.g. apmail/bin/.archives
However the entire directory is checked out.
This seems unnecessary.

svn update can equally be used to update just a few files.

If the directory is checked out as empty, the required files can be added using 
'svn update files...'
Subsequent 'svn update' ccommands will update the files that are present.

The 'rake svn:update' task can be updated to support a list of files defined in 
repository.yml

Note that at present, the depth is only used when the initial checkout is made.
Subsequent changes do not affect the checkout (except for depth==delete).
This has the advantage that testers can checkout an empty directory and be 
assured that it won't be replaced by the next run of the update task.

The proposed process is:
If the checkout depth in the yml file is empty, but the current checkout is not 
empty, then:

svn update --set-depth empty

The list of files can then be checked out using
svn update files...

This should minimise the downtime, and allow a live system to be migrated.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to