Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

vdemeester/ape

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐒 ape Build Status

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.

Installation

$ go get github.com/vdemeester/ape/cmd/ape

Packages

No packages published

Languages