How to add emerge --info to a bugreport with pybugz?

0

Users are usually requested to attach emerge --info to a bug report.

bugz attach 501008 < (emerge --info)

can create this system information in one line, but with a number as file name. Hence the browser can not determine how to display the file (MIME type).

How can I add it as emerge--info.txt?

A very dirty workaround is:

emerge --info > /tmp/emerge--info.txt && bugz attach 501008 /tmp/emerge--info.txt && rm /tmp/emerge--info.txt

Jonas Stein

Posted 2014-02-11T20:00:14.113

Reputation: 773

Would explicitly specifying the content-type help? From a quick look at pybugz' source code, I can't even see how STDIN attach works. – Daniel B – 2014-02-19T08:29:57.800

Answers

0

You can place it in a comment.

Tamara Wijsman

Posted 2014-02-11T20:00:14.113

Reputation: 54 163