Home SaltStack-Formulas Development Documentation

Sync Multiple Repository with Myrepos

Installation

apt-get install myrepos

To add gerrit remote automatically, set your username:

git config --global gitreview.username johndoe

To avoid using --trust-all option, add this .mrconfig into trusts file:

echo $PWD/.mrconfig >> ~/.mrtrust

Clone Repositories

Simply run checkout tool without parameters or with formula names, eg.:

./checkout
./checkout nova freeipa salt

Or with some parallelism:

mr --trust-all --force -j 4 checkout

Update Repositories

Pull with rebase in each repo or only one

mr --trust-all update
mr --trust-all -d tcpcloud update
mr --trust-all -d tcpcloud/apache update