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
[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.

Installation

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