On Sat, Mar 21, 2009 at 11:09 AM, Matthew Leotta wrote:
> On Mar 20, 2009, at 6:26 PM, Miguel A. Figueroa-Villanueva wrote:
>> Recently, we were discussing the idea of restructuring things in vxl
>> so that one could do partial checkouts easily, so that checkouts are
>> faster if I only need core, fore example.
>> Right now, I am doing precisely this. I'm only checking out: core,
>> mvl, and vpgl. It doesn't build, of course.
> This is fine with me.
> Out of curiosity, how do you check out only core and parts of contrib? It
> seems like you would need run many separate svn checkout commands to
> checkout all the parts you need:
> Is there an easier way? Ultimately I think it would be great if one could
> check out trunk/core and get a self-sufficient project that builds all of
At the end I copied part of the script I'm using, but no, it is not
easy... we seriously need restructuring to make it happen. There are
also things, such as the nested directory structure
(contrib/gel/mrc/vpgl; see the extra mrc level before getting to the
actual lib), that in the long run will complicate things for users to
checkout partial libs from the tree.
I think that to make it usable to the community at large, we would
need it to be as easy as checking out a self-contained core. Then be
able to instruct people to checkout a site (mul, brl, gel, etc.) or
particular libs (contrib/oxl/mvl). It would be very nice if we could
restructure things so that one could do any of the following:
1. checkout trunk for the whole thing, but the main CMakeLists.txt is
2. checkout trunk/core
3. checkout trunk/core and a set of trunk/contrib/<site> or
# svn commands
nonrecursive_co_cmd="svn checkout --depth=files
recursive_up_cmd="svn update --depth=infinity"
nonrecursive_up_cmd="svn update --depth=files"
echo $nonrecursive_co_cmd $target
echo $recursive_up_cmd vcl
echo $recursive_up_cmd v3p
echo $recursive_up_cmd core
echo $recursive_up_cmd config
echo $recursive_up_cmd scripts
echo $nonrecursive_up_cmd contrib
echo $nonrecursive_up_cmd contrib/gel
echo $nonrecursive_up_cmd contrib/gel/mrc
echo $recursive_up_cmd contrib/gel/mrc/vpgl
echo $nonrecursive_up_cmd contrib/oxl
echo $recursive_up_cmd contrib/oxl/mvl