Bug 219664

Summary: RFE: allow text output to a file
Product: Red Hat Enterprise Linux 5 Reporter: Karl Wirth <kwirth>
Component: sosAssignee: Adam Stokes <astokes>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: john
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-08 17:19:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Conklin 2006-12-14 18:11:10 UTC
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.

Comment 2 Adam Stokes 2008-03-04 00:35:56 UTC
Please elaborate on this RFE.

Thanks,
Adam

Comment 3 Steve Conklin 2008-03-19 15:22:24 UTC
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.

Steve