https://github.com/jmtd/vcs-lint
perform checks against repositories registered with mr
https://github.com/jmtd/vcs-lint
Last synced: over 1 year ago
JSON representation
perform checks against repositories registered with mr
- Host: GitHub
- URL: https://github.com/jmtd/vcs-lint
- Owner: jmtd
- License: gpl-2.0
- Created: 2011-07-27T09:07:35.000Z (almost 15 years ago)
- Default Branch: main
- Last Pushed: 2021-01-26T11:59:45.000Z (over 5 years ago)
- Last Synced: 2025-01-30T03:26:54.950Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# vcs-lint
perform some lint-like checks against repositories, with an emphasis on Debian
packaging repositories. Things it checks for include:
* local branches which are not present on the 'origin' remote
* commits to local branches which have not been pushed to their origin equivalents
Debian packaging specific:
* missing git tags corresponding to package versions
I originally wrote this intending it to be used with Joey Hess's
[mr](https://joeyh.name/code/mr/) ("my repos") tool.
## Example
$ vcs-lint wd/debian/bup
wd/debian/bup: local branches not present in origin: rescue-diverge
wd/debian/bup: local branch debian does not match origin branch debian
wd/debian/bup: local branch master does not match origin branch master
wd/debian/bup: 5 missing upstream tags: 0.21, 0.17b, 0.20, 0.24b, 0.14a
wd/debian/bup: 3 missing debian tags: debian/0.17b-1, debian/0.20-2, debian/0.21-1
## using with `mr`
From memory, I think you add something like this to the `[DEFAULT]` section of your `~/.mrconfig`:
lint = vcs-lint
(adjust path to `vcs-lint` as appropriate.)