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
git@github.com:vdemeester/docker.git https://github.com/docker/docker.git
git@github.com:vdemeester/libcompose.git https://github.com/docker/libcompose.git
# [鈥
git@github.com:vdemeester/nixpkgs.git https://github.com/NixOS/nixpkgs.git
# [鈥
git@github.com:vdemeester/traefik.git https://github.com/containous/traefik.git
# [鈥
位 ape up ~/var/mirrors
馃悞 docker
馃悞 libcompose..
馃檲 cloning git@github.com:vdemeester/docker.git
馃檲 cloning git@github.com:vdemeester/libcompose.git
馃悞 traefik..
馃檲 cloning git@github.com:vdemeester/traefik.git
馃悞 nixpkgs..
馃檲 cloning git@github.com: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 nixpkgsIt 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