-
2 Attachment(s)
Git sync scanner
If you have a bunch of git repos it can be hard to remember which ones are out of sync. It gets worse if you work across multiple locations.
This is a small utility to scan a parent directory for all git repos under it and spit out stats.
- commits ahead of upstream
- commits behind upstream
- untracked files count
- modified files since last commit
Clicking on an entry will show some quick stats in the right hand pane.
checkbox options to ignore:
- fatal upstream errors (ie no remote, remote doesnt exist, etc)
- hide repos that are completely up to date
main list also has a filter option and column sorting.
I was lazy and this project requires an open source library for some boiler plate (file system, browse dialogs, cmd output, helper functions etc):
https://sandsprite.com/openSource.php?id=98
You can either rip the classes you want and include them directly in this project or just
compile a copy of it yourself.
also requires git installed, i use the 64 bit version from here: https://git-scm.com/downloads/win
https://github.com/git-for-windows/g...9.0-64-bit.exe
edit: updated 6.5.25 - added git fetch to make sure it knows remote status, and git pull form for one click updates
-
Re: Git sync scanner
That looks nice.
I copied over the Dll and placed it in the same folder, added a proj. ref., compiles OK but it complains that a class is not registered at runtime. Something isn't in that DLL or another component needs registering manually.
Might need to add some documentation after testing on another machine that isn't your development environment.
-
Re: Git sync scanner
humm i just rescanned dzrt, no external references, no external components. the c dlls in the pack arent loaded unless a class that requires them is used (none are here)
I just copied the dzrt.dll from the zip to my desktop, did a fresh vb6 install in a vm, opened the git_scan project, went to references clicked on the missing dzrt ref and hit browse, selected the dzrt.dll and hit run and it all worked.
I did have slight bug from a last minute change in the git scan source where the scan button was not enabling, fixed now.
gitscan does require the mscomctl sp6 from microsoft but that should be installed with vb6 and wouldnt have compiled.
I guess try compiling dzrt and see if it barfs.
-
Re: Git sync scanner
is your vb6 ide running as admin? for the ide to register the dll with the browse feature it would need write access to the hklm hive of the registry, maybe that was it