On Sun, Jun 11, 2023 at 09:00:13PM -0600, 'Mauritz Stenek' via gitolite wrote:
>
> On 2023-06-08 at 07:26, Sitaram Chamarty <
sita...@gmail.com> wrote:
>
> > On Tue, Jun 06, 2023 at 12:21:49AM +0000, 'Mauritz Stenek' via gitolite
> > wrote:
> > > Hi guys,
> > >
> > > Does anyone know how to set up a trigger to notify an XMPP chat
> > > room?
> >
> > First of all, apologies for not being able to approve this
> > message for 2 days. (I only have to approve the first message
> > from a new user; after that it goes straight to the list)
>
> No worries. You deserve some slack on account of this awesome tool!
:) Thanks!
> > To your question, I'm guessing you want to send a message when
> > someone pushes? You'll want to create a trigger; start here:
> >
https://gitolite.com/gitolite/triggers.html#common-arguments
> >
> > You'll most likely want a POST_GIT trigger, or perhaps an
> > ACCESS_2 trigger, depending on what info you want in the XMPP
> > message.
>
> I actually think I'm going to stick to an email trigger setup -- setting up
> the xmpp goes beyond my skill set; I thought it was going to be simpler.
>
> do you have a `sendmail` trigger around? I could use that one.
Sorry no, but I'm sure there are lots of them around. (Since I
use mutt, even for gmail, I have on occasion just run
my-cmd | mutt -F ~/.config/mutt/muttrc.gmail -s my-cmd-output
my-o...@email.com
but lately I just use ntfy.sh if the _content_ of the message
is not sensitive