Skip to main content

Multiple repository management tool

Project description

https://badge.fury.io/py/reps.png https://pypip.in/license/reps/badge.png

Quickstart

$ pip install reps
$ re

Usage

Detecting your repositories

Usage of re is centered around the contents of .reconfig in the current working directory. To generate a .reconfig from some repositories you have at hand…

$ re list
[ansicolor:git]
    origin.url = https://github.com/numerodix/ansicolor
[ejabberd:git]
    origin.url = https://github.com/processone/ejabberd.git
[xmonad:git]
    origin.url = https://github.com/xmonad/xmonad
> Run with -u to update .reconfig

Re-run with -u to write the detected config to .reconfig.

Updating repositories

The most common use case for re is simply syncing your repos.

$ re pull
> Fetching ansicolor
> Fetching ejabberd
> Fetching xmonad
> Merging ansicolor
-> Setting up local tracking branch develop
> Merging ejabberd
-> Setting up local tracking branch 1.1.x
-> Setting up local tracking branch 2.1.x
-> Setting up local tracking branch obsolete_3alpha
-> Setting up local tracking branch 2.0.x
> Merging xmonad

re simply runs git in the background. Fetching and merging are done in separate steps. During merging git may prompt you to resolve merge conflicts, so by fetching all the repos first we can do away with all the network io first and avoid interleaving that with interactive use of git.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reps-0.4.8.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

reps-0.4.8-py2.py3-none-any.whl (13.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page