Skip to content

Monitor changes across a collection of Git repositories

License

Notifications You must be signed in to change notification settings

mikefourie/GitMonitor

 
 

Repository files navigation

GitMonitor

Build Status

Monitor and query changes across a collection of Git repositories

The introductory blog post can be found here - https://mikefourie.wordpress.com/2016/04/24/gitmonitor/

Web Api

Query commits by previous days

Returns commits from now over the previous specified days.

  • URL /api/commits/[days]

  • Required Params

    days=[int]

  • Sample Calls

    • 10 days commits in default monitoredPathName: /api/commits/10

Query commits by date range

Returns commits between the provided dates (inclusive).

  • URL /api/commits/[startdate]/[enddate]

  • Required Params

    startdate=[datetime]

  • Sample Calls

    • Commits between 1 Jan 2015 and today: /api/commits/1 Jan 2015
    • Commits between 1 Jan 2016 and 30 Jan 2016 today: /api/commits/1 Jan 2016/30 Jan 2016

Find a commit

Returns commits between the provided dates (inclusive).

  • URL /api/search/[monitoredPathName]/[commit]

  • Required Params

    commit=[sha1]

  • Sample Calls

    • Find commit in default monitoredPathName: /api/search/a3er4w
    • Find commit in work monitoredPathName: /api/search/work/a3er4w
    • Find commit in all paths: /api/search/*/a3er4w

About

Monitor changes across a collection of Git repositories

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 80.2%
  • HTML 17.8%
  • CSS 1.6%
  • JavaScript 0.4%