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 nixpkgs
It runs the thing in parallel, for now 8 maximum at a time. At some
point this will be configurable.