Boost logo

Boost :

Subject: Re: [boost] [Git] Documentation update
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2013-02-13 00:11:08


On Tue, Feb 12, 2013 at 10:07 AM, Dave Abrahams <dave_at_[hidden]> wrote:

>
> on Tue Feb 12 2013, Beman Dawes <bdawes-AT-acm.org> wrote:
>
> > On Tue, Feb 12, 2013 at 10:37 AM, Rene Rivera <grafikrobot_at_[hidden]>
> wrote:
> >> On Tue, Feb 12, 2013 at 8:25 AM, Beman Dawes <bdawes_at_[hidden]> wrote:
> > ...
> >>> I must be missing something. Why not just work through the python
> >>> subprocess interface?
> >>> As Dave points out, the git interaction is really simple, so isn't the
> >>> subprocess approach sufficient?
> >>>
> >>
> >> It's not sufficient.. As I can't rewrite the subrepo references to use
> the
> >> HTTPS protocol instead of the GIT protocol (which is how they are
> currently
> >> encoded)
>
> Sure you can; Just git clone non-recursively and then edit the
> .gitmodules file.
>

But then I have even more code that is managing a file I don't really want
to manage.

As opposed to now where I have about 150 lines of easy to read portable
python code that does all the subrepo stuff while limiting the
clone/pull/checkout to only the tested branch. And hence at least saving
some disk space.

PS.. The line count is likely to decrease as I clean up code now that it's
working.

-- 
-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk