Open Bug 256718 Opened 20 years ago Updated 5 years ago

Implement Atom feeds for bugs

Categories

(Bugzilla :: Bugzilla-General, enhancement)

enhancement
Not set
normal

Tracking

()

People

(Reporter: sipaq, Unassigned)

References

Details

Attachments

(1 file)

I would really like a feature, were I could just subscribe to an RSS feed of a
bug to keep track of all the incoming comments? That'd be really nice as it'd
mean not having to visit the site or reading bugmail to track what's happening
on particular bugs.
Isn't this bug 82878?
No. Bug 82878 is for query lists, this one is for bug comments.
So the resulting design would be that up around the "Add CC:" area there would
be one of those little orange RSS buttons that a user can click on to add that
particular bug to their RSS aggregator. Whenever a new event occured on that
bug, in addition to sending an email to those on the CC list, a single RSS file
would be updated with the event. Users could therefore choose to track bugs
through email notifications, or through an RSS reader.

I'd definitely be keen on that -- it would make it a lot easier to manage bug
tracking, methinks. Also plays really nicely with the new "Live Bookmarks"
feature in FireFox.

+1 :)
Reassigning bugs that I'm not actively working on to the default component owner
in order to try to make some sanity out of my personal buglist.  This doesn't
mean the bug isn't being dealt with, just that I'm not the one doing it.  If you
are dealing with this bug, please assign it to yourself.
Assignee: justdave → general
QA Contact: mattyt-bugzilla → default-qa
For those working in Eclipse, or willing to use an Eclipse client, note that Mylar (http://eclipse.org/mylar/) already takes an RSS-like approach to showing incoming comments on a Bugzilla bug.  In your bug list you see an "incoming" arrow, and then once you open the bug all comments that have come in since you last viewed the bug are highlighted and expanded, while all others are collapsed.  Similarly, all other attributes changed since your last viewing (e.g. priority) are highlighted.  This synchronization happens lazily in the background, so we've stopped relying on bugmail entirely.
Comment on attachment 251509 [details] [diff] [review]
patch for tip

>Index: show_activity.cgi

>+my $ctype = "html";
>+   $ctype = 'atom' if $cgi->param('ctype') eq 'atom';
>+$template->process("bug/activity/show.${ctype}.tmpl", $vars)

Use $template->get_format() instead.



>Index: Bugzilla/Bug.pm

>+sub get_shortdesc {

We really don't need it. You could as well build a bug object.



>Index: Bugzilla/Template.pm

>+            time_atom => \&Bugzilla::Util::format_time_atom,

We already show times for bug lists. Why do you need this new filter?



>+++ template/en/default/bug/activity/show.atom.tmpl     Mon Jan 15 20:24:30 2007

>+    <summary type="html">

type="html" means that you have to filter data using FILTER html.

Moreover, how do you display comments? It looks like this is what users want.
Attachment #251509 - Flags: review? → review-
Summary: RSS Feed for Bugs → Implement Atom feeds for bugs
(In reply to comment #7)
> >Index: Bugzilla/Template.pm
> >+            time_atom => \&Bugzilla::Util::format_time_atom,
> We already show times for bug lists. Why do you need this new filter?

i dont think it does return what atom want.
see
http://www.mnot.net/drafts/draft-nottingham-atom-format-02.html#rfc.section.4.12

about global:
The content of an atom:modified element SHOULD have a time zone whose value MUST be "UTC".

about each entry:
The content of an atom:modified element MUST have a time zone whose value SHOULD be "UTC".

> Moreover, how do you display comments? It looks like this is what users want.

no, at least i dont :-p
and, bugs that have 250 useless comments may crash feed reader ;-p
FYI, bug 255606 may offer a partial workaround to this.

I created a proxy service https://atom-for-bugzilla.franklinyu.name/

Hope this helps as work-around.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: