[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Building a notifier for use on a server. Feature re
Richard Levitte - VMS Whacker
Re: [Monotone-devel] Building a notifier for use on a server. Feature request.
Tue, 15 Feb 2005 17:14:28 +0100 (CET)
In message <address@hidden> on Tue, 15 Feb 2005 14:56:42 +0100, Christof Petig
christof> I also would like a feature like this. But my idea was to
christof> make the monotone server process emit a mail (or better:
christof> queue an event) once a new revision is synced into its
christof> database (LUA hook?). The revision ID would be enough to
christof> look up author, branch, diff, ancestors etc and mail them to
christof> a list.
I've been thinking about that as well, but had a hard time
understanding the code. Besides, in what order are revisions syncked
in (keep in mind that with netsync, you should expect to get a bunch
of revisions, not just one)? I know that there's no guarantee email
reaches destination in order, but I would very much like to make an
*attempt* to log in order (as much as that can be done).
christof> Graydon told me some time ago that such a mechanism already
christof> exists (though I had the impression that it could only track
christof> local checkins, no sync-ins).
That would be the note_commit hook, which is only for local commits,
just as you said.
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
Richard Levitte address@hidden
"When I became a man I put away childish things, including
the fear of childishness and the desire to be very grown up."
-- C.S. Lewis