Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kynikos/repocheck
Check the status of code repositories under a root directory.
https://github.com/kynikos/repocheck
git repository-management repository-tools
Last synced: 19 days ago
JSON representation
Check the status of code repositories under a root directory.
- Host: GitHub
- URL: https://github.com/kynikos/repocheck
- Owner: kynikos
- License: gpl-3.0
- Created: 2015-05-02T09:36:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-07T16:27:46.000Z (over 6 years ago)
- Last Synced: 2024-10-11T02:11:44.971Z (about 1 month ago)
- Topics: git, repository-management, repository-tools
- Language: Python
- Size: 25.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# repocheck
This script gives status information for code repositories found recursively
under a root directory. In particular, it tells whether there are uncommitted
changes, untracked files, unpushed or unpulled commits.Thanks to the `-u` option, it is also useful to fetch updates for all the
remotes in the encountered repositories.See `repocheck -h` for usage instructions and the available options.
The `RepoCheck` class can also be imported from another Python script: after
instantiating it, the repository information can be accessed through the
`RepoCheck.repos` dictionary.Only Git repositories are currently supported, but adding support for other
version control systems such as Mercurial or Subversion should not be hard, and
I will be glad to merge a pull request that implements that :)The code has been written from scratch, but the idea was inspired by
[unpushed](https://github.com/nailgun/unpushed) and
[gitcheck](https://github.com/badele/gitcheck).## Installation
repocheck is currently only packaged for Arch Linux in the AUR as
[repocheck-git](https://aur.archlinux.org/packages/repocheck-git/).On other operating systems it must be installed with Python's manual tools.
Pull requests that add support for other operating systems are welcome!## License
repocheck is distributed under the terms of the
[GNU General Public License v3.0](http://www.gnu.org/copyleft/gpl.html)
(see LICENSE).