ape
is git mirror updater, nothing more. It reads a simple file that holds
a list of git repository (URL) and the upstream to rebase against.
位 cat $HOME/.config/ape.conf
[email protected]:vdemeester/docker.git https://github.com/docker/docker.git
[email protected]:vdemeester/libcompose.git https://github.com/docker/libcompose.git
# [鈥
[email protected]:vdemeester/nixpkgs.git https://github.com/NixOS/nixpkgs.git
# [鈥
[email protected]:vdemeester/traefik.git https://github.com/containous/traefik.git
# [鈥
位 ape up ~/var/mirrors
馃悞 docker
馃悞 libcompose..
馃檲 cloning [email protected]:vdemeester/docker.git
馃檲 cloning [email protected]:vdemeester/libcompose.git
馃悞 traefik..
馃檲 cloning [email protected]:vdemeester/traefik.git
馃悞 nixpkgs..
馃檲 cloning [email protected]:vdemeester/nixpkgs.git
馃檳 add upstream https://github.com/containous/traefik.git
馃檳 add upstream https://github.com/docker/libcompose.git
馃檴 fetch and rebase libcompose
馃檴 fetch and rebase traefik
馃檳 add upstream https://github.com/docker/docker.git
馃檳 add upstream https://github.com/NixOS/nixpkgs.git
馃惖 push to origin libcompose
馃惖 push to origin traefik
馃檴 fetch and rebase nixpkgs
馃檴 fetch and rebase docker
馃惖 push to origin docker
馃惖 push to origin nixpkgs
# [鈥 Later that day
位 ape up ~/var/mirrors
馃悞 docker
馃悞 libcompose..
馃悞 traefik..
馃悞 nixpkgs..
馃檴 fetch and rebase libcompose
馃檴 fetch and rebase traefik
馃惖 push to origin libcompose
馃惖 push to origin traefik
馃檴 fetch and rebase nixpkgs
馃檴 fetch and rebase docker
馃惖 push to origin docker
馃惖 push to origin nixpkgs
It runs the thing in parallel, for now 8 maximum at a time. At some point this will be configurable.
$ go get github.com/vdemeester/ape/cmd/ape