Red Hat Bugzilla – Bug 219664
RFE: allow text output to a file
Last modified: 2009-06-08 13:19:40 EDT
This feature would provide an API to plugin writers that output to a file that
gets linked from the html report. The file object created should be accessible
from the plugin.
Please elaborate on this RFE.
There's alreasy an API that allows execution of a shell command (for example)
and places all output in a file that gets linked into the final report.
This request was for a way to allow the code in a plugin that generates output
to have the output from that plugin appear in a file linked in the report. So,
for one implementation, the plugin could make a call to the API and get back a
file object, then write to that. sos would set up the file behind that, and when
the plugin is done, the output gets included in the final report.
I hope that's clearer, My original descrption was terrible.