jessevdk/bugzini

Show and retrieve attachments

Opened this issue · 5 comments

This is not possible with xmlrpc of bugzilla 3.4, but would still be nice to support through other means (i.e. calling into bugzilla http interface directly)

It seems every time you attach something to bugzilla it creates a comment automatically with the attachment id. Maybe you(we) can parse that and at least, add a link to the attachment.

I managed to get this. The implementation is a bit rough but can be improved.

screenshot from 2014-10-27 13 16 35

I couldn't find a way to ask a bugs if it has attachments.

Great! Please open a PR.

I've thought this through I guess it would be good if we could download the attachments when and store them locally when a bug si clicked (on _render_bug call)

More tinkering on the issue, this approach is nice to have but doesn't show the status of the attachemnt. For instance, the attachment could be a patch made obsolete by some other patch, and that's not shown with this solution. Although this helps a bit on locating the attachments, it doesn't completely fix the issue.