Results 1 to 4 of 4

Thread: Git sync scanner

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,296

    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
    Attached Images Attached Images  
    Attached Files Attached Files
    Last edited by dz32; Jun 5th, 2025 at 01:33 PM.

  2. #2
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    3,560

    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.
    Last edited by yereverluvinuncleber; May 12th, 2025 at 05:08 AM.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,296

    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.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jun 2015
    Posts
    1,296

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width