aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring PackageManagers and ArchivesJesse Jaggars2012-03-058-248/+348
| | | | | | | Pulled up PackageManager implementation to simplify subclass responsibilities Moved compress method to Archive classes Re-organized utilities.py Added tests to exercise more utilities methods
* converting self.files and self.packages to list to protect against ↵Jesse Jaggars2012-03-021-0/+6
| | | | accidental tuple misunderstandings
* plugins were being activated due to one-tuple definition issuesJesse Jaggars2012-03-0242-86/+84
|
* sos/plugins: Remove the use of inheriting checkenabled toAdam Stokes2012-03-0243-150/+130
| | | | | | allow for a more flexible way of checking plugin enablement Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
* sos/plugins: 2 new Ubuntu specific and ported pluginsAdam Stokes2012-03-029-12/+103
| | | | | | | | 2 New plugins that were relevant to Ubuntu and other Debian based systems. Altered a few more base plugins to handle Ubuntu platforms as well. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
* Merge pull request #40 from jhjaggars/masterjhjaggars2012-03-0223-1376/+35
|\ | | | | Removing lots of unused files, updating example plugin
| * Removing many unused bitsJesse Jaggars2012-02-2923-1376/+35
|/
* Merge pull request #38 from jhjaggars/masterjhjaggars2012-02-286-18/+99
|\ | | | | This patch fixes several little logic bugs as well as addresses issue 27
| * adding ability to specify multiple files for Plugin.fileGrepJesse Jaggars2012-02-276-18/+99
|/
* adding checkenabled to the as7 pluginJesse Jaggars2012-02-271-1/+2
|
* Merge pull request #33 from jhjaggars/policy_refactoringjhjaggars2012-02-2310-260/+207
|\ | | | | refactoring common linux-related policy features into a common superclas...
| * fixing a syntax snafuJesse Jaggars2012-02-231-1/+1
| |
| * adding a note about tests to the READMEJesse Jaggars2012-02-231-0/+4
| |
| * adding more tests and fixing an error with tar archivesJesse Jaggars2012-02-236-19/+38
| |
| * refactoring common linux-related policy features into a common superclass, ↵Jesse Jaggars2012-02-235-242/+166
| | | | | | | | simplifying specification of valid plugin subclasses
* | Merge pull request #20 from jhjaggars/rt_kerneljhjaggars2012-02-231-0/+39
|\ \ | |/ |/| adding realtime kernel plugin
| * adding realtime kernel pluginGuy Streeter2012-02-081-0/+39
| |
* | fixing another logic bug in policy loadingJesse Jaggars2012-02-231-1/+2
| |
* | fixing more policy loading problemsJesse Jaggars2012-02-225-6/+17
| |
* | Merge branch 'master' of https://github.com/battlemidget/sosreportJesse Jaggars2012-02-223-3/+4
|\ \
| * | sos/policies/ubuntu: syntax checker requires any from __import__ to beAdam Stokes2012-02-221-1/+1
| | | | | | | | | | | | | | | | | | at top. Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * | Makefile: replace soft tabs with true tabAdam Stokes2012-02-221-1/+1
| | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * | sos/sosreport: Display invalid plugins when verbosity is setAdam Stokes2012-02-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when doing sosreport -l all valid and non valid plugins were being listed. In the case where there are multiple distributions involved this list can get quite long. In an effort to limit what the user sees based on distribution we only list all plugins if our verbosity option is set. Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
* | | Merge branch 'master' of https://github.com/battlemidget/sosreportJesse Jaggars2012-02-2113-6/+272
|\| |
| * | UbuntuPolicy: Make sure reading of lsb-release always closesAdam Stokes2012-02-211-4/+3
| | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * | Makefile: make sure install and as7 block rely on a newAdam Stokes2012-02-211-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | block This is to make sure that both build options will still provide a new __init__.py with proper version. Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * | sos/plugin: Add dpkg pluginAdam Stokes2012-02-211-0/+22
| | | | | | | | | | | | | | | | | | | | | So far add support for querying dpkg database and capturing Package-Version-Architecture Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * | Makefile: Make sure to remove gzipped sos.conf during cleanAdam Stokes2012-02-211-1/+1
| | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * | debian: Add packaging rules for Debian/UbuntuAdam Stokes2012-02-216-0/+29
| | | | | | | | | | | | Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * | policies: Make sure policies are included during buildAdam Stokes2012-02-213-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | There was no previous Makefile for including any additional policy files. Also updated upstream directory in toplevel Makefile and altered the @SOSVERSION@ string replacing to work properly instead of zeroing out the init file Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
| * | policies: Add Debian/Ubuntu policiesAdam Stokes2012-02-213-0/+194
| | | | | | | | | | | | | | | | | | | | | Adds support for Debian and Ubuntu based distributions. Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
* | | fixing as7 plugin to prevent duplicationJesse Jaggars2012-02-211-3/+4
|/ /
* | Merge pull request #23 from jhjaggars/masterjhjaggars2012-02-154-156/+183
|\ \ | | | | | | Several bug fixes for AS7 plugin and base functionality
| * | adding root_symlink support under tarfiles and fixing getOption behaviorJesse Jaggars2012-02-143-1/+25
| | |
| * | adding AS7Mixin class for AS7 related plugins and fixing some logic areas ↵Jesse Jaggars2012-02-132-155/+158
| | | | | | | | | | | | surrounding AS7 http auth
* | | Merge pull request #22 from jhjaggars/masterjhjaggars2012-02-092-1/+25
|\| | | | | | | | getOption now handles multiply named keys properly
| * | Fixing a logic error with global option handllingJesse Jaggars2012-02-092-1/+25
|/ /
* | Merge pull request #21 from jhjaggars/i18n_javajhjaggars2012-02-091-15/+51
|\ \ | | | | | | I18n java
| * | set_i18n now changes the _sos function properlyJesse Jaggars2012-02-011-0/+5
| | |
| * | fixing naming of .properties filesJesse Jaggars2012-01-311-2/+2
| | |
| * | Prepending .properties i18n files with sos_Jesse Jaggars2012-01-311-1/+2
| | |
| * | Fixing i18n in jython/java use case.Jesse Jaggars2012-01-312-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | ResourceBundle was unable to find the translation text resources. This change creates a new classloader loaded with the jarfile that contains the translations and passes it in directly to ResourceBundle.getBundle. Additionally the eap6 plugin has been renamed to as7.
* | | Merge pull request #19 from jhjaggars/masterjhjaggars2012-02-062-8/+62
|\ \ \ | | |/ | |/| Rename eap6 to as7 and add deployed archive listing to as7 plugin
| * | Renaming eap6 plugin to as7Jesse Jaggars2012-02-062-19/+55
| |/ | | | | | | adding deployed archive listing to as7 plugin
| * adding a tree of all zipped deploymentsJesse Jaggars2012-01-101-0/+18
| |
* | Merge pull request #18 from jhjaggars/masterjhjaggars2012-01-104-10/+41
|\|
| * Adding a generic policy for fallbackJesse Jaggars2012-01-102-2/+11
| |
| * renaming eap6 to as7 and changing the plugin not to grab deploymentsJesse Jaggars2012-01-061-8/+1
| |
| * Adding NIS pluginPierguido Lambri2011-12-161-0/+29
|/
* Merge pull request #17 from jhjaggars/2.3_pull_requestjhjaggars2011-12-14115-2144/+4204
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major updates to most of SoSReport Code reorganization Cross platform support for Windows, OS X and Linux Dynamically loaded policies Support for loading plugins from multiple locations via path modification of sos.plugins Support for running via Jython Support for executing from a jarfile Support for json based reporting infrastructure - Previous reporting methods still exist Support for other checksum algorithms (determined by policy) Support for other compression algorithms (determined by policy) New plugin API for writing arbitrary information in a new file inside the report archive. New plugin API for modifying files that have been added to the archive. Added API for global plugin options - external interface is unavailable at this time Many small bugfixes