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)
bugzilla.mozilla.org
General
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
| Reporter | ||
Comment 1•18 years ago
|
||
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
Comment 2•18 years ago
|
||
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
Comment 3•18 years ago
|
||
or if you want that tokenized for XML processing...
https://bugzilla.mozilla.org/buglist.cgi?chfieldfrom=24h&order=bugs.delta_ts+desc&ctype=rdf
| Reporter | ||
Comment 4•18 years ago
|
||
(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.
Comment 5•18 years ago
|
||
"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.
| Reporter | ||
Comment 6•18 years ago
|
||
Marking invalid because the RDF or Atom feed should suffice.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•15 years ago
|
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.
Description
•