Opened 10 years ago

Last modified 6 years ago

#310 new enhancement

MailNotifier: use mime types for log file attachments?

Reported by: spurkis Owned by:
Priority: major Milestone: 0.9.+
Version: 0.7.7 Keywords: mail
Cc:

Description

Some mail programs have trouble guessing what's in the log file attachments of buildbot's MailNotifier? emails. I'd like to be able to set the mime type & extension of a logfile without having to subclass. I also think the stdio logs should be attached as text files by default.

Change History (5)

comment:1 Changed 10 years ago by spurkis

Obviously stdio logs are already attached as text, I should qualify that: ".txt", mime type text/plain.

I've also been adding html logs, and found I had to explicitly include the ".html" as the logfile name. I was thinking, if we stored the mime type of the logfile then the notifier plugins could use it to do whatever they like (such as adding extensions, setting mime-type, etc).

comment:2 Changed 9 years ago by dustin

  • Milestone changed from undecided to 0.7.+

Sounds good. Patch?

comment:3 Changed 8 years ago by dustin

  • Keywords mail status mime-type removed
  • Type changed from defect to enhancement

comment:4 Changed 7 years ago by dustin

  • Keywords mail added

comment:5 Changed 6 years ago by dustin

  • Milestone changed from 0.8.+ to 0.9.+

logs, in general, should have mime types.

Note: See TracTickets for help on using tickets.