[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
Re: [Monotone-devel] Building a notifier for use on a server. Feature request.
Tue, 15 Feb 2005 09:46:40 -0700 (MST)
On Tue, 15 Feb 2005, Richard Levitte - VMS Whacker wrote:
looking for ideas on how to do that as easily as possible. Ideas I
have now are either to use the output from 'monotone agraph', although
that seems like a PITA, or maybe read the output from 'monotone log',
since it now have ancestry records (which it didn't when I started
thinking about this).
How about adding an option to log so that *it* prints the diffs as it
goes? I'm not sure but I think this is a trivial addition and it would be
nice to have at times I think.
In terms of the email idea, if you were to able to track which revision
id's you have already sent notifications for (perhaps by sticking some
custom cert on them, or keeping a file of their id's) and had some nice
way of listing all available revision id's in the db into another
file, a diff of these two files would give you all of the revisions you
now need to send notifications for. Adding a "list revisions" command
would almost do the trick here I think.
(having a slow day at work)