Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git: repo monitoring tool

Do you know any good repo monitoring solution?

I'd like to get information when someone pushes to remote repo (preferably via taskbar tray icon: "someuser pushed…").

Other solutions I consider:

  • recieve hook
  • periodically git log via cron
  • check for updates on running every git command

(my system of choice is Ubuntu)

like image 995
takeshin Avatar asked Jun 29 '10 09:06

takeshin


People also ask

How do I monitor Git?

Usage: git-monitor [flags] git-monitor [command] Available Commands: add Add a new repository with a local clone check Check all monitored repositories for changes, or only the ones passed as argument completion generate the autocompletion script for the specified shell help Help about any command list List all ...

How do I see who is watching my repository on GitHub?

If your project is hosted on GitHub, you can view how many people land on your project and where they come from. From your project's page, click “Insights”, then “Traffic”. On this page, you can see: Total page views: Tells you how many times your project was viewed.

Can you see who visits your repository?

Anyone with push access to a repository can view its traffic, including full clones (not fetches), visitors from the past 14 days, referring sites, and popular content in the traffic graph.

What is a Git watcher?

“Watchers” are Github users who have asked to be notified of activity in a repository, but have not become collaborators. Watching a repository is similar to following an RSS feed to see changes. Metric Calculation. Forks, pulls, and commits are counted by the Git software running on the Github servers.


2 Answers

If pushing (through a git hook) is not convenient, then a polling system is easy to setup:

A simple Hudson job could poll your Git repo for new information and send an email or do any other task of your choice.
It has various tray tracker like this one.

Or a code browsing tool like FishEye can equally poll for new data and present them in a nice web interface.

Both tools are built to talk to Git repositories (as well as other: SVN, ClearCase, ...)

like image 159
VonC Avatar answered Oct 21 '22 17:10

VonC


I found this git-commit-notifier which sends nice looking emails for each push.

Since it sends mail, you need an SMTP server. If you dont have one yourself you can use Gmails. I assume you already have an email address and some nifty tray program to display incoming emails.

Havent tried it myself but as far as push notifications go, it seems to do what you want.

like image 41
Mizipzor Avatar answered Oct 21 '22 15:10

Mizipzor