aboutsummaryrefslogtreecommitdiffstats
path: root/src/sosreport
Commit message (Collapse)AuthorAgeFilesLines
* Merged branch navid-dev r372:389 into the trunk.navid2007-09-041-21/+59
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@390 ef72aa8b-4018-0410-8976-d6e080ef94d8
* merged branches/navid-dev -r 364:377 into trunknavid2007-08-201-42/+69
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@378 ef72aa8b-4018-0410-8976-d6e080ef94d8
* merged navid-dev -r r350:r364 into trunk/rhel-5-startr1.7-8navid2007-08-171-7/+18
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@368 ef72aa8b-4018-0410-8976-d6e080ef94d8
* version bumped to 1.7-6pre0shnavid2007-08-031-3/+5
| | | | | | | | | | | fixed gettext messages moved policy.preWork() after plugins.diagnose() cluster diagnose better messages yum diagnose() disabled for now fixed gettext stuff in Makefile git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@326 ef72aa8b-4018-0410-8976-d6e080ef94d8
* catch exceptions even for copyStuff()shnavid2007-08-021-7/+11
| | | | | | | added missing files for sysreport.legacy git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@311 ef72aa8b-4018-0410-8976-d6e080ef94d8
* added changelog entries to spec fileshnavid2007-08-021-2/+5
| | | | | | | | raiseplugs = 0 oops in yum.py git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@309 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Merged navid-dev r306 into the trunkshnavid2007-08-021-41/+68
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@307 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Merged navid-dev r276 into the trunkshnavid2007-07-311-156/+96
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@278 ef72aa8b-4018-0410-8976-d6e080ef94d8
* merged navid-devel branch r248shnavid2007-07-291-51/+100
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@255 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * added color output for increased readabilityshnavid2007-07-181-5/+13
| | | | | | | * list was sorted twice, removing latter .sort() git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@222 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * added preliminary problem diagnosis supportshnavid2007-07-181-82/+106
| | | | | | | | | | | | | * fixed indentation * 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 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@216 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * initial language localization supportshnavid2007-07-141-23/+28
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@204 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * bumped releaseshnavid2007-07-131-4/+4
| | | | | | | * fixed a tiny bug in progressbar causing problems on slow systems git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@203 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * resized progressbar to 40 charsshnavid2007-07-131-16/+22
| | | | | | | | | * progressbar fixes * increased logging for threading * improved command output filename mangling git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@201 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * fixed doExitCode() calling thread.wait() instead of join()shnavid2007-07-131-35/+66
| | | | | | | | | | | | | | * 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() git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@200 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * cosmetic fixes.shnavid2007-07-121-4/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@197 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * bumped version to 1.7r1.7shnavid2007-07-121-71/+95
| | | | | | | | | | | | | | | | | | * 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 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@195 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * allow non-users to run with --help or --list-plugins (-l)shnavid2007-07-101-5/+6
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@193 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * added --enableplugin (-e) option to enable plugins which were inactiveshnavid2007-07-101-24/+47
| | | | | | | | | * cleaned up plugin activation conditions * added ability to suggest a name for output file in sos_report instead of auto-generated from command-line * added root_symlink option to create a symbolic link in sos_report root (and mimic sysreport's structure) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@187 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * plugin.defaultenabled() decides whether a plugin will be automatically ↵shnavid2007-07-101-1/+4
| | | | | | loaded or only if specified in -o. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@183 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * Added command line option to set plugin options (ie. to enable "rpm -Va": ↵shnavid2007-07-021-1/+17
| | | | | | sosreport -k rpm.rpmva) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@152 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Beautified output of --list-plugins.shnavid2007-06-271-4/+7
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@149 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * [BZ#241282] initial port to RHEL4 :) sos core now runs happily, plugins ↵shnavid2007-06-151-13/+18
| | | | | | will probably need to be fixed as well. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@147 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * remove temporary xmlreport debugging lines.shnavid2007-06-151-1/+0
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@145 ef72aa8b-4018-0410-8976-d6e080ef94d8
* * Initial commit of XML reporting to gather details about commands executed ↵shnavid2007-06-151-2/+78
| | | | | | and files gathered. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@144 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Exceptions in plugin.analyse() were not catched allowing a bad plugin to ↵shnavid2007-06-151-1/+5
| | | | | | break sosreport. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@142 ef72aa8b-4018-0410-8976-d6e080ef94d8
* typosconklin2007-04-241-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@131 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Fixed an error in option handling - when fast options weresconklin2007-04-241-0/+2
| | | | | | | requested, slow options that were on by default were not disabled. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@130 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Cosmetic fix.shnavid2007-03-301-1/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@109 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Disable the progress-bar if verbosity is enabled.shnavid2007-03-291-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@108 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Another small fix to logging.shnavid2007-03-291-2/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@107 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Improved logging and small fix to checkenabled()shnavid2007-03-291-15/+16
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@106 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added a checkenabled() function which can be used to disable a plugin at ↵shnavid2007-03-291-0/+3
| | | | | | | | | run-time. Planning to add a command-line option to force the execution of plugins. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@105 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Better logging using python's logging module.shnavid2007-03-271-18/+35
| | | | | | | Verbose logs included in sosreport (sos_logs/sos.log) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@104 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Fixed a typo.shnavid2007-03-231-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@101 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Small fix to progress barshnavid2007-03-151-1/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@98 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Small fix for progressbar to work properly when running multithreaded.shnavid2007-03-151-2/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@96 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Implemented a progress bar (RFE BZ#219672) which can be disabled from the ↵shnavid2007-03-151-0/+68
| | | | | | command line. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@95 ef72aa8b-4018-0410-8976-d6e080ef94d8
* fixed BZ#219877 (ncurses "Cancel" button makes sosreport exit)shnavid2007-03-141-2/+8
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@92 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Allow passing multiple comma-separated plugin names to -n (--noplugin) and ↵shnavid2007-03-071-4/+17
| | | | | | -o (--onlyplugin) options. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@90 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Exit if no valid plugin was selected (rather than building an empty sosreport).shnavid2007-02-201-0/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@84 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Added --onlyplugin option (-o) to selectively choose which plugins to load ↵shnavid2007-02-201-3/+9
| | | | | | (complementary to existing --noplugin) git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@83 ef72aa8b-4018-0410-8976-d6e080ef94d8
* First stage interrupt / ^C handlingjwbernin2007-02-171-1/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@78 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Fixed another unterminated string.shnavid2007-02-161-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@76 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Fixed a small typo (unterminated string).shnavid2007-02-161-2/+2
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@75 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Bit further towards proper interrupt handlingjwbernin2007-02-151-3/+11
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@73 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Basic KeyboardInterrupt / SIGTERM handling, still needs more developmentjwbernin2007-01-291-12/+17
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@71 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Starting attempt at handling SIGTERM, SIGKILL gracefully via signal()jwbernin2007-01-271-1/+25
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@70 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Fixed a problem if when no plugins specified to be skipped.sconklin2007-01-121-4/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@66 ef72aa8b-4018-0410-8976-d6e080ef94d8
* Don't load a plugin when it's excluded - we don't want to deal with it at alljwbernin2006-12-161-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@65 ef72aa8b-4018-0410-8976-d6e080ef94d8