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_filesthe repo has files which aren't trackeddirty_filesthe repo has dirty files which need to be committed
Branch level issues:
The reporting format is branch_issues: [branch] ([issue])
missing_upstreama branch exists that has no upstreamunpushed_changesa 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
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 check_git_repos-1.0.0.tar.gz.
File metadata
- Download URL: check_git_repos-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.10 CPython/3.9.6 Linux/5.10.88
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
980c425d4badc525c41dae69e5b39c0fd2be4707a994b108bc38e456b45ab806
|
|
| MD5 |
3e203512da16442f63849de762f74833
|
|
| BLAKE2b-256 |
81cfe28f915b5387c2115393136c41b6651a6d1040f3288bbbdb89ac3610251d
|
File details
Details for the file check_git_repos-1.0.0-py3-none-any.whl.
File metadata
- Download URL: check_git_repos-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.10 CPython/3.9.6 Linux/5.10.88
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31787c9c8ad2a97949cb99c52767a5739fc48e06d2910f0761d62d2554f97f48
|
|
| MD5 |
c255c4653f1684a2756d2773340df685
|
|
| BLAKE2b-256 |
4edb40e4459fbfa779cba9a2f5b6e3713d1380b1d6d079d54d1762673e7f3c6e
|