← Back to team overview

kicad-lib-committers team mailing list archive

Re: Fwd: Re: Library build process

 

You can also not use python to get the repo list. Curl and the github API
will do it. Have a look
here<http://jakoch.de/2012/09/24/clone-repositories-github-organization/>
.


On Sun, Jan 5, 2014 at 2:54 PM, Johannes Spanier <jospanier@xxxxxx> wrote:

> Hi Cirilo,
>
>
>    I think that script is pretty good for the initial pull. With a little
>> work to check if a directory exists (in which case 'pull' instead of
>> 'clone') it will be much better.
>>
>
> For continued "git pull" one just iterates over the existing
> subdirectories. No python required.
>
> ----- cut here -----
> for i in $(find . -mindepth 1 -maxdepth 1 -type d) ; do cd $i ; git pull
> ; cd .. ; done
> ----- cut here -----
>
>
> Regards
> Johannes
>
>
>
> --
> Mailing list: https://launchpad.net/~kicad-lib-committers
> Post to     : kicad-lib-committers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-lib-committers
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References