SVN Monitor like software for Git repositories

旧时模样 提交于 2020-01-01 08:12:32

问题


Is there anything like SVN Monitor for Git repositories? Something that will enable me to monitor checkins and do comparisons.


回答1:


I recently wrote scm-notifier that can monitor both Git and SVN repositories. It is a port of well known SVN notifier, which means that scm-notifier also supports fancy GUI.




回答2:


Is there anything like SVN Monitor for Git repositories?

Nothing as fancy and icon-colored than that, no.

I think SVN Monitor is a DVCS answer to a central VCS tool problem: how do I monitor potential parallel evolutions and conflicts to multiple "projects" (read "distant repositories")

But all of those problems are built right in Git: just add a remote repo, fetch it and you have in your local repo so much more than just "svn log".

You can then make all the diff and rebase and merge you want between branches coming from various distant repo (because they have been fetched)

You can also configure those same remote repo to not accept non fast-forward merge, forcing you to solve any conflict first locally, before pushing them to your other "projects".




回答3:


I'm not familiar with SVNMonitor, however Git does have a set of hooks that get executed on various different events in the repository. For instance, post-receive is executed on the remote repository after each git push.

The hooks are just scripts that live in the hooks directory of your repository and are initially disabled by the presence of a .sample suffix on the file name.

So, if you're happy to do some scripting, you could edit the appropriate hook(s) for the repository event(s) that you are interested in, and perform whatever specific operations you wish to replicate from SVNMonitor.




回答4:


Git Notifier looks like it would provide some of the functionality of SVN Monitor... except the front-end uses the OS X framework Growl for notifications. I'm guessing you're wanting a Windows solution?

Depending on how the underlaying code is structured you may be able to rip out the Growl stuff and replace with (another notification technology).



来源:https://stackoverflow.com/questions/2171823/svn-monitor-like-software-for-git-repositories

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!