git:仓库监控工具

发布于 2024-09-07 02:03:39 字数 202 浏览 8 评论 0原文

你知道有什么好的回购监控解决方案吗?

我想在有人推送到远程存储库时获取信息(最好通过任务栏托盘图标:“某个用户推送...”)。

我考虑的其他解决方案:

  • 接收钩子
  • 通过 cron 定期
  • git log检查运行每个 git 命令的更新

(我选择的系统是 Ubuntu)

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)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

游魂 2024-09-14 02:03:39

如果推送(通过 git hook)不方便,那么轮询系统很容易设置:

一个简单的 Hudson 作业可以轮询您的 Git 存储库以获取新信息并发送电子邮件或执行您选择的任何其他任务。
它有各种托盘跟踪器,例如这个

或者像 FishEye 这样的代码浏览工具也可以轮询新数据并呈现它们在一个漂亮的网络界面中。

这两个工具都是为了与 Git 存储库(以及其他:SVN、ClearCase 等)进行交互而构建的

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

长伴 2024-09-14 02:03:39

我发现这个 git-commit-notifier 它为每次推送发送漂亮的电子邮件。

由于它发送邮件,因此您需要一个 SMTP 服务器。如果您自己没有 Gmail,您可以使用 Gmail。我假设您已经有一个电子邮件地址和一些漂亮的托盘程序来显示传入的电子邮件。

我自己还没有尝试过,但就推送通知而言,它似乎可以满足您的要求。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文