Closed Bug 458237 Opened 18 years ago Closed 18 years ago

Set up a global watcher for all public bug activity

Categories

(bugzilla.mozilla.org :: General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: lorchard, Unassigned)

References

Details

We want to set up a firehose RSS/Atom feed for all public bug activity on b.m.o, and it's assumed that one of the easiest ways to do this is to set up a global watcher pointed at a email inbox accessible via POP/IMAP that can be polled or monitored by a script. So, two things are needed: 1) An inbox that's accessible via POP3/IMAP 2) A global watcher in bugzilla that fills the inbox with all public big activity
Blocks: 458240
In order to keep this all in-house, filing a separate bug to get an email address for a global watcher. Also simplifying this bug to just the Bugzilla global watcher, once an email inbox is available
Summary: Set up an inbox and a global watcher for all public bug activity → Set up a global watcher for all public bug activity
What type of activity are you looking to actually retrieve? Do you need all the comments, do you need specifically what changed, or so you just want to know which bugs have been touched recently or? If you want the latter, how about: https://bugzilla.mozilla.org/buglist.cgi?chfieldfrom=24h&order=bugs.delta_ts+desc&ctype=atom
(In reply to comment #3) > or if you want that tokenized for XML processing... > https://bugzilla.mozilla.org/buglist.cgi?chfieldfrom=24h&order=bugs.delta_ts+desc&ctype=rdf Actually, I think that RDF feed looks complete enough to avoid the hassle of setting up an email watcher and scraping it. One question though: Is that a terribly expensive query? Could I poll it every 5-10 minutes or so, presumably with chfieldfrom=5m or something? I'd plan to hit it with a cronjob or something and cache the results, so it wouldn't be exposed to outside traffic.
"5m" seems to get processed as "5 months" rather than "5 minutes". "1h" returns almost instantly for me though, which means it'd be a low impact query. I'd not be afraid to run the 1h query every 5 minutes. If you really want 5 minutes you could do the date calculation manually and pass it a full timestamp instead of a relative one, but one hour of data gets returned quick enough I don't think it would be a problem.
Marking invalid because the RDF or Atom feed should suffice.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
Component: Bugzilla: Other b.m.o Issues → General
Product: mozilla.org → bugzilla.mozilla.org
You need to log in before you can comment on or make changes to this bug.