Registry / devops / vcstool

vcstool

JSON →
library0.3.0pypypi✓ verified 86d ago

A command line tool for invoking VCS commands (git, hg, bzr, svn) on multiple repositories in parallel. Useful for managing workspace with many repositories. Version 0.3.0. Release cadence is low, stable.

pip install vcstool
INSTALL
IMPORT
SIG · VCSTOOL
V
vcstool
devopspythonv0.3.0
Install
2.0s avg
Import
184ms
Disk
22MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.186s · 20.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.0s · import 0.182s · 22MB
22MB installed
● package 22MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

vcstool
import vcstool

Load a .repos file using the Python API.

import vcstool # vcstool is primarily a CLI tool vcs; Python API is limited # Example: parse a .repos file from vcstool import config repos = config.load('.repos') print(repos)
vcs --version
Debug
Known issues
gotchavcstool is primarily a CLI tool. The Python API is not fully stable and lacks documentation. Prefer using the 'vcs' command directly in shell scripts or CI.
fix
Use 'vcs import < .repos' etc. instead of the Python API when possible.
affects: all
gotchavcstool requires installed VCS tools (git, hg, bzr, svn) on PATH. If a VCS is missing, commands for that type silently fail or error.
fix
Install required VCS tools (e.g., 'apt-get install git mercurial subversion').
affects: all
Errors
Common errors & fixes
ImportError: No module named vcstool
vcstool is not installed or pip install failed due to missing setup.py in some environments.
fix
Run 'pip install vcstool --upgrade' or install from source: 'pip install git+https://github.com/dirk-thomas/vcstool.git'
vcs: command not found
vcstool's console script 'vcs' not in PATH after pip install (user install vs system install).
fix
Install with 'pip install --user vcstool' and ensure ~/.local/bin is in PATH, or use 'python -m vcstool' instead.
Upgrade
Version history
0.3.0latest on PyPI · released Aug 9, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
vcstool — pip install vcstool · libregistry