Boost logo

Boost :

Subject: Re: [boost] [git help] GitHub boostorg library authentication
From: Daniel Pfeifer (daniel_at_[hidden])
Date: 2013-10-31 15:23:04


2013/10/31 Cox, Michael <mhcox_at_[hidden]>:
> In the .gitmodules file you can use relative urls, e.g.
>
> [submodule "smart_ptr"]
> path = libs/smart_ptr
> url = ../smart_ptr
> # url = http://github.com/boostorg/smart_ptr.git
> fetchRecurseSubmodules = on-demand
>
> The protocol used to access the super-project boost is what will be used to
> retrieve the submodule projects. This might help with issues accessing the
> repositories, although the super-project will have to accessed via
> http/https (or whatever ports are open through the firewall).
>
> This also makes the whole repository structure relocatable, e.g. a
> development team using boost can clone all the repositories to their local
> development server without having to modify the .gitmodules file in the
> boost super-project. Unfortunately, there's no good way I'm aware of to
> clone all the repositories as bare repositories. Maybe the latest changes
> in how git submodules are stored (i.e. under .git/modules) will help.

Oh right, you can!
Currently, cloning bitbucket.org/boostorg/boost pulls the submodules
from github.
I changed it to use relative URLs instead.

Thanks!

Daniel


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