git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* jabber notifications for git commits
@ 2009-02-04 11:43 Thomas Koch
  2009-02-04 15:27 ` Johannes Gilger
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Koch @ 2009-02-04 11:43 UTC (permalink / raw)
  To: git

Is it possible to integrate jabber and git so that I get notified when
new commits are available on our central git repo host?
I need to install some hook on the git server, of course.

We use gitosis.

Best regards,
-- 
Thomas Koch, http://www.koch.ro
YMC AG, http://www.ymc.ch

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: jabber notifications for git commits
  2009-02-04 11:43 jabber notifications for git commits Thomas Koch
@ 2009-02-04 15:27 ` Johannes Gilger
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Gilger @ 2009-02-04 15:27 UTC (permalink / raw)
  To: git

On 2009-02-04, Thomas Koch <thomas@koch.ro> wrote:
> Is it possible to integrate jabber and git so that I get notified when
> new commits are available on our central git repo host?

Well, the problem isn't really in the hooks but in how to connect to a 
Jabber-server. For the few svn-repos I'm using (on my own server that 
is) I'm using xmpp4r (a Ruby-jabber implementation). svn triggers a 
commit-hook which calls my ruby-script and supplies the jabber-contacts 
with commit-message, changed files and so on.

You can find the ruby-script here: 
http://avalon.hoffentlich.net/~heipei/tmp/jabber_notification.rb and 
have fun adapting it to your needs and making sure that xmpp4r is 
installed ;)

> I need to install some hook on the git server, of course.

If you can't get xmpp4r onto the host that is the master for your 
project you could always put a hook there that pushes new changes to 
another host and calls xmpp4r there.

Greetings,
Jojo

-- 
Johannes Gilger <heipei@hackvalue.de>
http://hackvalue.de/heipei/
GPG-Key: 0x42F6DE81
GPG-Fingerprint: BB49 F967 775E BB52 3A81  882C 58EE B178 42F6 DE81

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-04 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 11:43 jabber notifications for git commits Thomas Koch
2009-02-04 15:27 ` Johannes Gilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).