Bug 654238 - [RFE] get rid of the HTML/XML reports, use a (c)pickle store
Summary: [RFE] get rid of the HTML/XML reports, use a (c)pickle store
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: sos
Version: rawhide
Hardware: All
OS: All
low
medium
Target Milestone: ---
Assignee: Bryn M. Reeves
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-17 09:52 UTC by Pierre Carrier
Modified: 2017-02-23 17:02 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-23 17:02:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github sosreport sosreport issues 90 0 None None None 2017-02-23 17:02:42 UTC

Description Pierre Carrier 2010-11-17 09:52:48 UTC
Problem:
- sos should do one thing but well (fast, reliable): gather data.
- Parsing of the data, analysis, reporting, etc. should happen in the chain, in autonomous software components.
- Therefore including XML or HTML specific code, generating a static HTML file in the report is wrong.

Impact of removing all existing reports:
- For any kind of analysis or reporting to be done, a clean record of the executed commands & included files, eventually encountered events (eg files that did not exist), etc. should still be kept.

Proposed solution:
- We can simply use a pickle store.
- The pickle binary format is assured to be compatible between all Python versions that include this module.
- It is a relatively efficient binary format.
- A 100% compatible, very fast C version can be trivially used when available (try import cPikle as pickle except import pickle)
- Spacewalk/Satellite already use cPickle.

Comment 1 Fedora Admin XMLRPC Client 2012-02-25 13:50:31 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Admin XMLRPC Client 2012-02-27 13:59:42 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Bryn M. Reeves 2014-04-01 11:37:44 UTC
Upstream: https://github.com/sosreport/sosreport/issues/90

Comment 4 Sandro Bonazzola 2017-02-23 17:02:43 UTC
The problem described has been handled upstream in 
https://github.com/sosreport/sosreport/issues/90


Note You need to log in before you can comment on or make changes to this bug.