Ticket #678 (closed enhancement: wontfix)
Allow CVS checkout/export of multiple modules
|Reported by:||satyagraha||Owned by:||unpaidbill|
The standard CVS checkout/export syntax allows not just one, but multiple, modules to be checked out/exported, see http://www.cs.utah.edu/dept/old/texinfo/cvs/cvs_18.html#SEC73 . I had a clear requirement to do just this in my buildbot, and doing multiple separate source.CVS() calls for each module did not seem to work well due to purging of directories. Therefore, I propose that the cvsmodule parameter of source.CVS() be generalised to accept a list of module path strings in addition to just a single string as at present; all the specified modules would be checked out/exported at once.
I have implemented this functionality on my buildbot system in just a couple of lines of code, and it works perfectly. Note that in this scenario one would normally expect to use the additional (currently undocumented) parameter checkout_options=['-N'] to ensure that the full directory tree was retained for each module and the multiple checkouts/exports did not end up on top of each other.
If this proposal is acceptable, I am happy to push up the change and updated documentation.
- Keywords projrepo cvs added
- Milestone changed from 0.8.+ to 0.8.1
- Owner set to unpaidbill
- Status changed from new to accepted