aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-11 18:36:41 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-11 18:36:41 +0000
commite5284a8492c2d435e923144b12ab78b45647a7d4 (patch)
treea4f8b7bdfefad8891dc167441d6a9d6e4dddc35d
parente92fd7c3fdbfe0b829597a862e9426c3951dfa5a (diff)
downloadsos-e5284a8492c2d435e923144b12ab78b45647a7d4.tar.gz
Remove analyze() wiring
The analyze() methods haven't been used since commit 6ea48cb and their functonality has now been moved or removed in all modules. Delete the last bits of wiring and docs references.
-rw-r--r--README4
-rw-r--r--man/en/sosreport.16
-rw-r--r--sos/plugins/__init__.py6
-rw-r--r--sos/sosreport.py3
4 files changed, 3 insertions, 16 deletions
diff --git a/README b/README
index 4d4f415e..b811e46b 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
This set of tools is designed to provide information to support organizations
in an extensible manner, allowing third parties, package maintainers, and
-anyone else to provide plugins that will collect, analyze, and report
-information that is useful for supporting software packages.
+anyone else to provide plugins that will collect and report information that
+is useful for supporting software packages.
This project is hosted at http://github.com/sosreport/sosreport For the latest
version, to contribute, and for more information, please visit there.
diff --git a/man/en/sosreport.1 b/man/en/sosreport.1
index c153e73e..48b388d0 100644
--- a/man/en/sosreport.1
+++ b/man/en/sosreport.1
@@ -8,8 +8,7 @@ sosreport \- Generate debugging information for this system
[-e|--enable-plugins plugin-names]\fR
[-o|--only-plugins plugin-names]\fR
[-a|--alloptions] [-v|--verbose]\fR
- [--analyze] [--report]\fR
- [--config-file conf] [--batch]\fR
+ [--report] [--config-file conf] [--batch]\fR
[--build] [--name name] [--no-colors]\fR
[--ticket-number number] [--debug]\fR
[--upload] [--tmp-dir directory]\fR
@@ -47,9 +46,6 @@ Upload the report to Red Hat (use exclusively if advised from a Red Hat support
.B \-v, \--verbose
Increase the verbosity of the output as sosreport is running. Multiple -v mean more verbosity.
.TP
-.B \--analyze
-Turn on analyzation functions
-.TP
.B \--report
Enable html/xml report writing
.TP
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index ff1c1ee7..3a1b6c32 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -618,12 +618,6 @@ class Plugin(object):
"""
pass
- def analyze(self):
- """
- perform any analysis. To be replaced by a plugin if desired
- """
- pass
-
def postproc(self):
"""
perform any postprocessing. To be replaced by a plugin if desired
diff --git a/sos/sosreport.py b/sos/sosreport.py
index 20c4287b..582fef08 100644
--- a/sos/sosreport.py
+++ b/sos/sosreport.py
@@ -841,9 +841,6 @@ class SoSReport(object):
parser.add_option("--tmp-dir", action="store",
dest="tmp_dir",
help="specify alternate temporary directory", default=tempfile.gettempdir())
- parser.add_option("--analyze", action="store_true",
- dest="analyze",
- help="enable analyzations", default=False)
parser.add_option("--report", action="store_true",
dest="report",
help="Enable html/xml reporting", default=False)