ape

package module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

README ΒΆ

πŸ’ 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

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
cmd
ape

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL