| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
$ make rpm
rm: remove write-protected regular file './sos/sosreport.pyc'? y
rm: remove write-protected regular file './sos/policies/__pycache__/debian.cpython-35.pyc'? ^CMakefile:74: recipe for target 'clean' failed
make: *** [clean] Interrupt
Gets old very fast..
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
Build the docs 'html' and 'man' targets when the 'build' target is
built.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
|
|
|
|
| |
Fixes #418
Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Isn't really necessary anymore since we have an automated build kick
off everytime a commit is made.
https://code.launchpad.net/~sosreport/+archive/ppa
Closes #234
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
| |
Also updated the REPO variable to point to new vcs location
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) lintian information, you should run lintian with '-IE --pedantic',
lintian will tell you more if there are any problem. There are still
some lintian information, but I don't care of them. you may fix them
when you polish your package.
2) You use old format copyright files, it is better to switch to
DEP5[1] compatible format. lintian shows this information.
3) The section is python, but I think admin should be better, after
all, sosreport is a sysadmin tool
4) Please move LICENSE file to usr/share/doc/sosreport, rather than
remove it.
A note about 4. I have removed the actual installing of the LICENSE file
in the Makefile in favor of the distribution specific packaging handle it.
For example, within Debian everything is placed in debian/copyright which
removes the need for our Makefile to do anything with the LICENSE file.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Since removing the jboss/application server bits we no longer need
those build tasks in the Makefile.
- Remove building gpgkeys entirely since it is not referenced anywhere in
the code.
- Update the creation of tarballs to exclude-vcs directories such as .git, .bzr,
etc.
- Move build tasks from deb-unsign to deb because its less to type and still
properly explains what the task is.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
| |
- Include AUTHORS file in the tarball.
- Consolidated where list of Authors may be found.
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- In our unittest we defined 'is_installed' to be a bool when in fact we wanted
to verify if a package is installed via the _method_ is is_installed. Since
overriding that method with our variable definition we basically removed
any functionality of 'is_installed' method in Plugin class.
- Initializing a fake plugin to test was failing due to our global
logger not being initialized. Put a simple check in the library to
make sure the logger is defined no matter what the calling state does.
- Make import selinux conditional
- Add travis-ci support
- Rename README to utilize travis-ci build status and other markdown supported
features
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
|
|
|
|
| |
Signed-off-by: Adam Stokes <hackr@cypherbook.com>
|
|
|
|
| |
Signed-off-by: Adam Stokes <hackr@cypherbook.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
adding deployed archive listing to as7 plugin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@975 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@919 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@912 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@911 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@910 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@908 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@901 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@882 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@881 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@878 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@876 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@874 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@872 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
|
|
| |
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@870 ef72aa8b-4018-0410-8976-d6e080ef94d8
|
|
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@778 ef72aa8b-4018-0410-8976-d6e080ef94d8
|