This repository contains a manifest which describes all cogip repositories.
This is useful to have a common environment for all git projects.
The manifest can be used thanks to the repo tool.
Repo is a tool created by Google that can manage many repositories.
You can install it manually like this:
$ mkdir -p ~/.bin
$ PATH="${HOME}/.bin:${PATH}"
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
$ chmod a+rx ~/.bin/repoTo use the cogip manifest you must do:
$ repo init -u https://github.com/cogip/cogip-manifest -m cogip-manifest.xmlYou can also init on a specific branch of the manifest by adding the -b option, like:
$ repo init -u https://github.com/cogip/cogip-manifest -m cogip-manifest.xml -b mydevbranchThen, to synchronize all repositories:
$ repo syncBe careful, repo sync will automatically put you in a head detached state for all repositories, you must go checkout your branch for each repositories if needed.
For instance, if you want to checkout master branch on cogip repositories, you can use the repo forall command like this:
$ repo forall -g cogip -c git checkout master
$ repo forall -g cogip -c git pullThe -g options allows running the forall subcommand only on repository in the group cogip (see cogip-manifest file for more detail)
https://gerrit.googlesource.com/git-repo/
https://gerrit.googlesource.com/git-repo/+/HEAD/docs/manifest-format.md