aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* adding a way to share common plugin bits across distrosJesse Jaggars2012-03-076-49/+59
|
* sos/sosreport: Fix failure when attempting to import non-existent compress ↵Adam Stokes2012-03-051-1/+1
| | | | | | method Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
* Makefile: make sure to copy $(GPG_TPL)template name during installAdam Stokes2012-03-051-1/+1
| | | | Signed-off-by: Adam Stokes <hackr@cypherbook.com>
* moving make nose to make testJesse Jaggars2012-03-051-6/+0
|
* Refactoring DebianPackageManager to use the superclassJesse Jaggars2012-03-0512-48/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 4973246ac9ade11bbaf113985a1410939ca3ccf5 Author: Adam Stokes <hackr@cypherbook.com> Date: Mon Mar 5 00:15:00 2012 -0500 packaging: Fix install perms within our python package directory and update packaging to use support dh_python2 helper. During installation of plugins/policies we were giving additional rwx bits to those files. This addresses some complaints from debian's rpmlint equivalent lintian. Also updated the build rules to support dh_python2 rather than deprecated dh_pysupport. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 986981941e058afb593baaba676b2aef0e6e1147 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:19:56 2012 -0500 ubuntu.template: set passphrase so anyone referencing will know its an example. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 809bdc150a5e2456d3ee87c34c06eaa002edf43c Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:11:33 2012 -0500 Makefile: generic name for build dir, fix failure during make install and GPG configurable. First, changed build dir from rpm-build to dist-build to keep things more general. Second, Makefile was not updated to reflect recent housecleaning wrt removing TODO file Finaly, added ability use optional gpg templates during build phase Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 61d583d7eb913402f4200b5ece7ad2732cafd716 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:09:11 2012 -0500 debian/rules: Do not run dh_auto_test by default For systems which do not contain previously installed sosreport the test suite will fail due to not being able to find the sos python package. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit a8950a892a905575da0993785623946ea8276075 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 23:02:24 2012 -0500 sos/policies/debian: do not use a list with shell_out routine when listing packages. A recent bug was previously found wrt shell_out not accepting a list of commands/parameters. This policy is updated to run the routine appropriately. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com> commit 6b2300ee8bb121042f3dac91411773a8c788f6b8 Author: Adam Stokes <hackr@cypherbook.com> Date: Sun Mar 4 22:46:33 2012 -0500 debian/control: Make package name consistent with other distros Debian/Ubuntu was set with a package name sosreport which isn't the package name during builds on RHEL/Fedora. Signed-off-by: Jesse Jaggars <jjaggars@redhat.com>
* 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
| |