Small command line utility to find all the dirty git repositories on your machine.
Coming soon,...
dirty
assumes that you have all your git repos checked out in a single directory. dirty
builds off the defaults established by git-grab
, which checks out code to $HOME/Projects
. If this works, just run
Given this default, you can run dirty
from any directory in your shell and get the same result
Glad you asked. So many reasons:
- I have wanted this program so many times when switching laptops
- I wanted to play with GraalVM (I ❤️ Java)
- I never finish work and forget it's there
Also, I don't need to justify myself to you! 😉
You can build the binary using Gradle:
./gradlew clean build nativeImage
Once built, you can just need to add the dirty/build/graal/dirty
binary to your path.
This project is very nascent and lots of work is needed before it should taken seriously.
Features
- Add tests
- Make output tabular (optional?)
- Option to output machine readable formats (csv, json)
- Add better stdout/stderr (logging perhaps)
- Parallelize the scanning of git repos
- Check to see how far behind each repository is (this should be an option)
Build and publishing
- Build each commit via CI
- Publish from CI to Github packages
- Produce binaries for Windows, Mac and Linux
- Test/support Windows
- Add signing to binaries for Mac and Windows
- Allow
brew install
(likely requires me creating a tap)