Manage git, mercurial and svn repositories through CLI. Configure with JSON / YAML files.
Project description
vcspull - manage your git, mercurial and svn repositories via CLI. Configure via JSON / YAML config files.
Above: Run svn update, git pull, hg pull && hg update en masse.
Sync multiple git, mercurial and subversion repositories via a YAML / JSON file.
supports svn, git, hg version control systems
automatically checkout fresh repositories
update to the latest repos with $ vcspull
Documentation, API and Examples.
builds upon pip’s RFC3986-based url scheme.
See the Quickstart to jump in. Or see an example .vcspull.yaml.
Command line Usage
Create a .vcspull.yaml:
~/code/:
"flask": "git+https://github.com/mitsuhiko/flask.git"
Clone and update your repositories at any time:
$ vcspull
Have a lot of projects? Use arguments to clone / update what you need.
$ vcspull flask
Use fnmatch:
# any repo starting with "fla"
$ vcspull "fla*"
# inside of a directory with "co" anywhere, on github.
$ vcspull -d "*co*" -r "*github.com*" "fla*"
Python API Usage
In [1]: from vcspull.repo import Repo
In [2]: r = Repo(url='git+https://www.github.com/tony/vim-config', cwd='/tmp/',
name='vim-config')
In [3]: r.update_repo()
|vim-config| (git) Repo directory for vim-config (git) does not exist @ /tmp/vim-config
|vim-config| (git) Cloning.
|vim-config| (git) git clone --progress https://www.github.com/tony/vim-config /tmp/vim-config
Cloning into '/tmp/vim-config'...
Checking connectivity... done.
|vim-config| (git) git fetch
|vim-config| (git) git pull
Already up-to-date.
More information
Python support |
Python 2.7, >= 3.3 |
VCS supported |
git(1), svn(1), hg(1) |
Config formats |
YAML, JSON, python dict |
Source |
|
Docs |
|
Changelog |
|
API |
|
Issues |
|
Travis |
|
Test Coverage |
|
pypi |
|
Open Hub |
|
License |
BSD. |
git repo |
|
install dev |
|
tests |
|
run |
|
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file vcspull-0.2.1.tar.gz
.
File metadata
- Download URL: vcspull-0.2.1.tar.gz
- Upload date:
- Size: 43.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a017c3feaabb63cfbb2849409778aa767689fcc4cc37cb95e4aab3bd1a03443a |
|
MD5 | 3dbcb2202fbd2fb04c69c372bbfc7fee |
|
BLAKE2b-256 | 05344c9ce9dbd2d1647a9c22afb6c14edd7c571ef868dec0097a2a4bcd422fde |