Manage a workspace of git repositories
Project description
wcheck
Manage a workspace of git repositories
wcheck compares different workspaces of git repositories and reports their differences. It supports:
- Local workspaces - directories containing multiple git repositories
- Configuration files - YAML files defining expected repository versions (vcstool format)
Features
- ๐ Check status of all repositories in a workspace
- ๐ Compare workspace against configuration files
- ๐ Compare multiple configuration files
- ๐ Track version changes across git branches
- ๐ฅ๏ธ Optional GUI for branch management
Installation
Using uv (recommended):
uv tool install wcheck
Using pip:
pip install wcheck
With GUI support:
pip install wcheck[gui]
Quick Start
Check Workspace Status
wcheck status
Output:
โโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Repo Name โ Current Workspace โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ my-project (2M 1U) โ feature/new-feature โ
โ another-repo (1โ) โ main โ
โโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Status indicators:
U- Untracked filesM- Modified filesS- Staged filesโ- Commits to pushโ- Commits to pull
Compare with Configuration
wcheck wconfig -c workspace.yaml
Compare Multiple Configs
wcheck config-list -c robot_a.yaml -c robot_b.yaml
Compare Across Branches
wcheck config-versions -c workspace.yaml
Commands
| Command | Description |
|---|---|
status |
Check status of repositories in workspace |
wconfig |
Compare workspace to configuration file |
config-list |
Compare multiple configuration files |
config-versions |
Compare config across git branches |
Common Options
| Option | Description |
|---|---|
-w, --workspace-directory |
Workspace path (default: current dir) |
-c, --config |
Configuration file path |
-f, --full |
Show all repos, not just differences |
-v, --verbose |
Verbose output |
--show-time |
Show time since last commit |
--fetch |
Fetch remotes before checking |
--gui |
Launch graphical interface |
Configuration File Format
wcheck uses vcstool-compatible YAML files:
repositories:
my-project:
type: git
url: git@github.com:user/my-project.git
version: main
another-repo:
type: git
url: https://github.com/user/another-repo.git
version: v1.0.0
Similar Projects
- vcstool - Version control system tool for managing multiple repositories
- myrepos - Tool to manage all your version control repos
- repo - Google's tool for managing multiple Git repositories
- gita - Manage multiple Git repos with ease
- mu-repo - Tool to work with multiple Git repositories
Documentation
๐ Full documentation: https://dpastorm.github.io/wcheck/
Development
# Clone repository
git clone https://github.com/dpastorm/wcheck.git
cd wcheck
# Install with dev dependencies
uv sync --extra dev
# Run tests
uv run pytest
# Build documentation locally
uv sync --extra docs
uv run mkdocs serve
License
MIT License - see LICENSE for details.
Author
Daniel Pastor (danpasmor@gmail.com)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wcheck-0.3.0.tar.gz.
File metadata
- Download URL: wcheck-0.3.0.tar.gz
- Upload date:
- Size: 73.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e81f26c6d5de79f6458214a904b08bc44418b00fa15911a7d2f200a68bf97f55
|
|
| MD5 |
04b40bf7a929bde60fd5818a9f436f9a
|
|
| BLAKE2b-256 |
9cd52c908bac31ddac7636318b89c7724a6d892f52352ba4fb947d2b7d4c2080
|
Provenance
The following attestation bundles were made for wcheck-0.3.0.tar.gz:
Publisher:
publish.yml on PastorD/wcheck
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wcheck-0.3.0.tar.gz -
Subject digest:
e81f26c6d5de79f6458214a904b08bc44418b00fa15911a7d2f200a68bf97f55 - Sigstore transparency entry: 813702124
- Sigstore integration time:
-
Permalink:
PastorD/wcheck@5dba4e61b5b4ab176d722686e37ada0ed09a6b27 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PastorD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5dba4e61b5b4ab176d722686e37ada0ed09a6b27 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file wcheck-0.3.0-py3-none-any.whl.
File metadata
- Download URL: wcheck-0.3.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6708ab795edbd78f363e73695269ce1befcc078becb6854d806ac2d910559e43
|
|
| MD5 |
eb4534a34be86cff8455516f2ac9d35e
|
|
| BLAKE2b-256 |
8a7a87c76ef43497215913e4551b82f472d0a6c40b5efd9867369109d10c6a8b
|
Provenance
The following attestation bundles were made for wcheck-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on PastorD/wcheck
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wcheck-0.3.0-py3-none-any.whl -
Subject digest:
6708ab795edbd78f363e73695269ce1befcc078becb6854d806ac2d910559e43 - Sigstore transparency entry: 813702126
- Sigstore integration time:
-
Permalink:
PastorD/wcheck@5dba4e61b5b4ab176d722686e37ada0ed09a6b27 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PastorD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@5dba4e61b5b4ab176d722686e37ada0ed09a6b27 -
Trigger Event:
workflow_dispatch
-
Statement type: