aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-08-02 15:03:52 +0000
committershnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-08-02 15:03:52 +0000
commit72cfbdae0df2ab6e727ffe5249723546f268807f (patch)
treef2004f212736654280bfbc77713bebee81973955
parentb6b73641724adb0bb6bd49c80c36fe1e99c987b4 (diff)
downloadsos-72cfbdae0df2ab6e727ffe5249723546f268807f.tar.gz
added changelog entries to spec file
raiseplugs = 0 oops in yum.py git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@309 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r--src/lib/sos/plugins/yum.py1
-rwxr-xr-xsrc/lib/sos/policyredhat.py1
-rw-r--r--src/sos.spec50
-rwxr-xr-xsrc/sosreport7
4 files changed, 56 insertions, 3 deletions
diff --git a/src/lib/sos/plugins/yum.py b/src/lib/sos/plugins/yum.py
index 2ba5693f..474b0c54 100644
--- a/src/lib/sos/plugins/yum.py
+++ b/src/lib/sos/plugins/yum.py
@@ -13,6 +13,7 @@
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
import sos.plugintools
+import os
class yum(sos.plugintools.PluginBase):
"""yum information
diff --git a/src/lib/sos/policyredhat.py b/src/lib/sos/policyredhat.py
index fbcc32c2..89414b86 100755
--- a/src/lib/sos/policyredhat.py
+++ b/src/lib/sos/policyredhat.py
@@ -152,7 +152,6 @@ class SosPolicy:
tarcmd = "/bin/tar -jcf %s %s" % (tarballName, namestr)
- print
print "Creating compressed archive..."
if not os.access(string.split(tarcmd)[0], os.X_OK):
print "Unable to create tarball"
diff --git a/src/sos.spec b/src/sos.spec
index 0a513e2d..d69402c4 100644
--- a/src/sos.spec
+++ b/src/sos.spec
@@ -55,6 +55,56 @@ rm -rf ${RPM_BUILD_ROOT}
%doc README TODO LICENSE ChangeLog
%changelog
+* Mon Aug 9 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-4
+- package obsoletes sysreport and creates a link pointing to sosreport
+- added some commands in cluster and process plugins
+- fixed html output (wrong links to cmds, thanks streeter)
+- process: back down sleep if D state doesn't change
+
+* Mon Aug 1 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-4
+- catch KeyboardInterrupt when entering sosreport name
+- added color output for increased readability
+- list was sorted twice, removing latter .sort()
+
+* Mon Jul 31 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-3
+- added preliminary problem diagnosis support
+- better i18n initialization
+- better user messages
+- more progressbar fixes
+- catch and log python exceptions in report
+- use python native commands to create symlinks
+- limit concurrent running threads
+
+* Mon Jul 28 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-2
+- initial language localization support
+- added italian translation
+
+* Mon Jul 16 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-1
+- split up command outputs in sub-directories (sos_command/plugin/command instead of sos_command/plugin.command)
+- fixed doExitCode() calling thread.wait() instead of join()
+- curses menu is disabled by default
+- multithreading is enabled by default
+- major progressbar changes (now has ETA)
+- multithreading fixes
+- plugins class descriptions shortened to fix better in --list-plugins
+- rpm -Va in plugins/rpm.py sets eta_weight to 200 (plugin 200 longer than other plugins, for ETA calculation)
+- applied patch in BZ#241071 from Karl Abbott <kabbott@redhat.com> to speed up command output collection
+- beautified command output filenames in makeCommandFilename()
+
+* Mon Jul 12 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.7-0
+- curses menu disabled by default (enable with -c)
+- sosreport output friendlier to the user (and similar to sysreport)
+- smarter plugin listing which also shows options and disable/enabled plugins
+- require root permissions only for actual sosreport generation
+- fix in -k where option value was treated as string instead of int
+- made progressbar wider (60 chars)
+- selinux plugin is enabled only if selinux is also enabled on the system
+- made some errors less verbose to the user
+- made sosreport not copy files pointed by symbolic links (same as sysreport, we don't need /usr/bin/X or /sbin/ifup)
+- copy links as links (cp -P)
+- added plugin get_description() that returns a short decription for the plugin
+- guess sosreport name from system's name
+
* Mon Jul 5 2007 Navid Sheikhol-Eslami <navid at redhat dot com> - 1.6-5
- Yet more fixes to make package Fedora compliant.
diff --git a/src/sosreport b/src/sosreport
index 62ceaa10..876c1df4 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -85,7 +85,7 @@ signal.signal(signal.SIGTERM, exittermhandler)
## multiple SIGTERMs.
# for debugging
-__raisePlugins__ = 1
+__raisePlugins__ = 0
class OptionParser_extended(OptionParser):
def print_help(self):
@@ -635,7 +635,10 @@ Press ENTER to continue, or CTRL-C to quit.
for plugname, plug in loadedplugins:
for oneFile in plug.copiedFiles:
- xmlrep.add_file(oneFile["srcpath"], os.stat(oneFile["srcpath"]))
+ try:
+ xmlrep.add_file(oneFile["srcpath"], os.stat(oneFile["srcpath"]))
+ except:
+ pass
xmlrep.serialize_to_file(rptdir + "/sosreport.xml")