aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* [makefiles] use rm -f when cleaning up *.pyc filesBryn M. Reeves2017-03-271-1/+1
| | | | | | | | | | | $ 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>
* [docs] build docs by defaultBryn M. Reeves2015-03-021-1/+5
| | | | | | | Build the docs 'html' and 'man' targets when the 'build' target is built. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [Makefile] Add debian pkg tarball buildLouis Bouchard2014-10-031-1/+12
| | | | | | | Fixes #418 Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* Remove deb tasks in MakefileAdam Stokes2014-04-151-4/+0
| | | | | | | | | | | 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>
* Use := with gmake shell function for better optimizationAdam Stokes2014-04-011-5/+5
| | | | | | Also updated the REPO variable to point to new vcs location Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* Fix latest debian packaging suggestions.Adam Stokes2013-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* Remove uneeded build tasks in MakefileAdam Stokes2013-04-261-28/+5
| | | | | | | | | | | | | - 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>
* Point sosreport manpage to see the AUTHORS file for updated contributorsAdam Stokes2013-04-231-2/+2
| | | | | | | - Include AUTHORS file in the tarball. - Consolidated where list of Authors may be found. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* Fix unittests and more pep8 conformingAdam Stokes2013-04-041-2/+2
| | | | | | | | | | | | | | | | - 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>
* Makefile: helper routine for `make deb`Adam Stokes2012-03-081-0/+6
| | | | Signed-off-by: Adam Stokes <hackr@cypherbook.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-051-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* adding ability to specify multiple files for Plugin.fileGrepJesse Jaggars2012-02-271-0/+3
|
* Makefile: replace soft tabs with true tabAdam Stokes2012-02-221-1/+1
| | | | 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>
* Makefile: Make sure to remove gzipped sos.conf during cleanAdam Stokes2012-02-211-1/+1
| | | | Signed-off-by: Adam Stokes <adam.stokes@canonical.com>
* policies: Make sure policies are included during buildAdam Stokes2012-02-211-3/+3
| | | | | | | | | 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>
* Renaming eap6 plugin to as7Jesse Jaggars2012-02-061-4/+5
| | | | adding deployed archive listing to as7 plugin
* Major updates to most of SoSReportJesse Jaggars2011-12-141-5/+39
| | | | | | | | | | | | | | | | | | | | | 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
* bug fixesastokes2010-07-211-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@975 ef72aa8b-4018-0410-8976-d6e080ef94d8
* bugfixingr2.0astokes2010-04-141-0/+3
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@919 ef72aa8b-4018-0410-8976-d6e080ef94d8
* no testsuite inclusion, strictly for functional testing as neededastokes2010-03-311-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@912 ef72aa8b-4018-0410-8976-d6e080ef94d8
* push everything to custom builddirastokes2010-03-311-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@911 ef72aa8b-4018-0410-8976-d6e080ef94d8
* updated makefileastokes2010-03-311-13/+6
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@910 ef72aa8b-4018-0410-8976-d6e080ef94d8
* make fileastokes2010-03-311-10/+20
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@908 ef72aa8b-4018-0410-8976-d6e080ef94d8
* more references to rh-upload removedastokes2010-03-311-2/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@901 ef72aa8b-4018-0410-8976-d6e080ef94d8
* finishing touchesastokes2010-03-261-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@882 ef72aa8b-4018-0410-8976-d6e080ef94d8
* topping off buildastokes2010-03-261-9/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@881 ef72aa8b-4018-0410-8976-d6e080ef94d8
* remove cruftastokes2010-03-261-2/+4
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@878 ef72aa8b-4018-0410-8976-d6e080ef94d8
* include gpgpkeyastokes2010-03-261-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@876 ef72aa8b-4018-0410-8976-d6e080ef94d8
* plugins makefileastokes2010-03-261-4/+7
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@874 ef72aa8b-4018-0410-8976-d6e080ef94d8
* translation updatesastokes2010-03-261-25/+37
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@872 ef72aa8b-4018-0410-8976-d6e080ef94d8
* build updatesastokes2010-03-261-44/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@870 ef72aa8b-4018-0410-8976-d6e080ef94d8
* - moved 1.9 to trunkr1.9astokes2010-02-171-0/+94
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@778 ef72aa8b-4018-0410-8976-d6e080ef94d8