开发者

SVN Monitor like software for Git repositories

开发者 https://www.devze.com 2022-12-18 10:14 出处:网络
Is there anything like SVN Monitor for Git repositories? Something that will enable开发者_运维知识库 me to monitor checkins and do comparisons.I recently wrote scm-notifier that can monitor both Git a

Is there anything like SVN Monitor for Git repositories? Something that will enable开发者_运维知识库 me to monitor checkins and do comparisons.


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.


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".


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.


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号