<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000"><span>hey gerv, </span><br>
<br>
Gervase Markham wrote:
<blockquote cite="mid:E5mdnRjDjKOE9wfSnZ2dnUVZ_oadnZ2d@mozilla.org"
type="cite">
<pre wrap="">In my Sync extension:
<a class="moz-txt-link-freetext" href="http://bzr.mozilla.org/bugzilla/extensions/sync/">http://bzr.mozilla.org/bugzilla/extensions/sync/</a>
I am using the bug_end_of_update hook to do syncing once a bug is
updated.
</pre>
</blockquote>
i have an extension which is designed to push updates to other systems
which currently poll bugzilla for updates (pulse, elastic search caches,
metrics, etc).<br>
<a class="moz-txt-link-freetext" href="https://github.com/globau/bugzilla-push">https://github.com/globau/bugzilla-push</a><br>
it's extremely close to completion, and is a q2 goal.<br>
<br>
i deal with the issue you've encountered by performing serialisation of
the bug at the time the update is made, in my case to JSON. these are
inserted into a custom table which a custom daemon polls and sends. i
don't use the jobqueue system because that doesn't guarantee the order
of the messages, which is important when you're sending update messages
(especially when a remote system is down).<br>
<br>
since i already have a working system for sending bug updates which
deals correctly with ordering of the updates, as well as queuing
messages when the remote system is down, another option would be for the
update-pushing part of your extension to utilise my bugzilla-push
extension and be dropped in as another connector. see
<a class="moz-txt-link-freetext" href="https://github.com/globau/bugzilla-push/tree/master/Push/lib/Connector">https://github.com/globau/bugzilla-push/tree/master/Push/lib/Connector</a><br>
<br>
<br>
<br>
-byron<br>
<div class="moz-signature">-- <br><span style="color: rgb(192, 192,
192);">byron - <a class="moz-txt-link-freetext" href="irc:glob">irc:glob</a> - bugzilla.mozilla.org team -</span><br
style="color: rgb(192, 192, 192);">
<br style="color: rgb(192, 192, 192);">
</div>
</body></html>