A command line interface to check git repositories within a directory
Project description
check_git_repos
A simple utility script to check git repos contained underneath a given directory, reporting if any of the repos contain changes that need to be upstreamed.
Usage
usage: check_git_repos [-h] [--include-hidden] [path]
Check the status of git repositories in a directory
positional arguments:
path if given, the directory to start looking from, otherwise the directory will be used
optional arguments:
-h, --help show this help message and exit
--include-hidden whether to look in hidden directories
Checked issues:
Repo level issues:
untracked_files
the repo has files which aren't trackeddirty_files
the repo has dirty files which need to be committed
Branch level issues:
The reporting format is branch_issues: [branch] ([issue])
missing_upstream
a branch exists that has no upstreamunpushed_changes
a branch has commits that don't exist upstream
Development
The project is built using poetry, and has a makefile for development:
clean
: clean up build artifactsdevelop
: install the project to a virtual environmentformat
: format files using blackpublish
: publish the project to pypi (given you have credentials)
Once make develop
is run, you can run the development version with poetry run check_git_repos
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
check_git_repos-1.0.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for check_git_repos-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31787c9c8ad2a97949cb99c52767a5739fc48e06d2910f0761d62d2554f97f48 |
|
MD5 | c255c4653f1684a2756d2773340df685 |
|
BLAKE2b-256 | 4edb40e4459fbfa779cba9a2f5b6e3713d1380b1d6d079d54d1762673e7f3c6e |