aboutsummaryrefslogtreecommitdiffstats
path: root/sos.spec
Commit message (Collapse)AuthorAgeFilesLines
* [build] Bump version to 4.5.24.5.2Jake Hunsaker2023-03-311-1/+5
| | | | | | This commits marks the release of sos-4.5.2 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [tmpfiles] ignoring cleanup on /var/tmp/sos*Jan Jansky2023-03-311-0/+3
| | | | | | | | | | | | | | | tmpfiles relocated to separated folder, added tmpfilesd-sos-rh.conf which ignoring tmpfiles clean on /var/tmp/sos*. This is introduced due to wrong selinux context on some collected files in temporal /var/tmp/sos or /var/tmp/sosreport which generate avc denials from tmpfiles or even repeated denials when --build option is used. Related: RHBZ#1664651 Resolves: #3180 Signed-off-by: Jan Jansky <jjansky@redhat.com>
* [spec] migrated to SPDX licenseSandro Bonazzola2023-03-171-1/+1
| | | | | | | Migrated License field to SPDX format as defined in https://docs.fedoraproject.org/en-US/legal/update-existing-packages/ Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
* [build] Drop old dependencies from sos.specJake Hunsaker2023-03-101-2/+0
| | | | | | | | Removes the lingering dependencies on `tar` and `xz` from `sos.spec`, as we have for some time now stopped shelling out to those tools and instead have leveraged their native python modules. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [build] Bump version to 4.5.14.5.1Jake Hunsaker2023-03-011-1/+4
| | | | | | This commit marks the release of sos-4.5.1 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [build] Bump version to 4.5.04.5.0Jake Hunsaker2023-02-011-1/+4
| | | | | | This commit marks the release of sos-4.5.0. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [build] Convert to setuptoolsJake Hunsaker2023-01-161-3/+4
| | | | | | | | | | | | | | | | | | | | In python 3.12 distutils will be removed. As such, we need to update to the replacement `setuptools`. This commit makes the basic change over in `setup.py`, so that an `sdist` source tarball can be generated. Note that while this source tarball will still have the `.po` files in it any build tarball (`bdist`) produced via the new `setup.py` will *not* have `.mo` translation files compiled and included at this point. In reviewing this change, it was found that our internationalization is currently broken and very out of date. Future work will focus on fixing that situation, but for now the immediate packaging needs are being addressed. Resolves: #3093 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [utilities] Relax from hard dependency of python3-magicPavel Moravec2022-09-211-1/+1
| | | | | | | | | | | | For compatibility reasons on some distros, sos should not have a hard dependency on 'magic' python library. It should attempt to use it for detection of binary file content, but should fall back to previous "read the very first byte" method otherwise. Resolves: #3025 Relates: #3021 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [build] Bump version to sos-4.44.4Jake Hunsaker2022-08-151-1/+7
| | | | | | This commit marks the release of sos-4.4. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [collect] Add cluster profile for RHOSPJake Hunsaker2022-05-091-0/+1
| | | | | | | | | | | | Adds a cluster profile for Red Hat OpenStack Platform to identify controller and (optionally) compute nodes to collect sos reports from. Note that this adds a dependency on pyyaml to sos. This should be considered a weak dependency by downstreams. As such, it is added as a 'Recommends' in `sos.spec`. pip does not have the concept of 'weak dependencies', and so is added as a regular requirement in `setup.py`. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [utilities] Better detect binary files with python3-magicJake Hunsaker2022-04-121-0/+1
| | | | | | | | | | Adds a new `file_is_binary()` method to `sos.utilities` to serve as a single point to determine if a file is binary or not, relying on the python3-magic module. Closes: #2839 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [build] Bump version to 4.34.3Jake Hunsaker2022-02-141-1/+1
| | | | Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [build] Bump version to 4.24.2Jake Hunsaker2021-08-161-1/+4
| | | | | | This commit marks the relase of sos-4.2 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [build] Remove old libxml2 dependencyJake Hunsaker2021-07-261-1/+0
| | | | | | | Removes an old dependency on python-libxml2 that has not been required for some time. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [sos] Bump version to 4.14.1Jake Hunsaker2021-02-251-1/+4
| | | | | | This commit represents the release of sos-4.1 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* add lang files to sos.specPavel Moravec2020-11-231-1/+1
| | | | | | | | | | Fix packit/copr build failures by adding lang files to sos.spec Closes: #2318 Resolves: #2321 Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [build] Update specfile for RPM buildsJake Hunsaker2020-11-031-3/+3
| | | | | | | | | | | First, fixes incorrect package names in the Requires added to the final RPM. Second, fixes the specfile to remove the unpackaged copy of sos.conf. Resolves: #2222 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [build] Bump version to 4.04.0Jake Hunsaker2020-08-171-1/+4
| | | | | | This commits marks the release of sos-4.0 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [build] Update specfile and setuptoolsJake Hunsaker2020-07-271-16/+27
| | | | | | | | | | Updates the specfile for 4.0, specifically supporting py3 builds in conjunction with setuptools. Closes: #307 Resolves: #2160 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [archive] Drop bzip2Bryan Quigley2020-05-261-1/+0
| | | | | | | | | | | | | | | | | | This just leaves xz with gzip as the automatic backup. Bzip2 took the most time by far and only does marginally better than gzip. time 27 Size 10.72MiB --batch -z xz --log-size 1 time 27 Size 16.32MiB --batch -z gzip --log-size 1 time 40 Size 14.17MiB --batch -z bzip2 --log-size 1 time 43 Size 105.21MiB --batch -z xz --all-logs time 64 Size 187.38MiB --batch -z gzip --all-logs time 135 Size 182.86MiB --batch -z bzip2 --all-logs Resolves: #2053 Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [build] Add pexpect dep and update setuptoolsJake Hunsaker2020-04-221-0/+1
| | | | Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [global] Drop use of python six and other 2.X bitsBryan Quigley2020-04-091-3/+0
| | | | | | Resolves: #2006 Signed-off-by: Bryan Quigley <bryan.quigley@canonical.com>
* [sos] bump release3.9Bryn M. Reeves2020-02-141-1/+4
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [build] update spec file URLs to use HTTPSMikel Olasagasti Uranga2019-10-141-1/+1
| | | | | Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sos] bump release3.8Pavel Moravec2019-08-271-2/+11
| | | | | | And make sos.spec up to date. Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [sos] bump release3.7Bryn M. Reeves2019-03-271-1/+1
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [build] bump sos and sos.spec version to match releaseBryn M. Reeves2018-06-251-1/+1
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sosreport] Concurrently run pluginsJake Hunsaker2018-06-061-0/+1
| | | | | | | | | | | | | | | | | | | | | Changes sos to run plugins concurrently. By default sos will now use four (4) threads to run plugins, allowing for faster overall execution of sosreport. The number of threads can be changed using the --threads commandline option. Plugins now also have a timeout applied to them as a whole to avoid situations where sosreport appears to be hung. If a plugin exceeds the timeout threshold, the plugin will be terminated immediately. - this allows sos to not only continue running normally, but should still allow for collection of commands run by the plugin up until it was terminated. The timeout is plugin controlled, and defaults to 300 seconds if not set. Note that for python2 environments, this adds a dependency on python-futures. The futures module is present in the standard library for python3 environments. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [sos] bump release to 3.53.5Bryn M. Reeves2017-11-021-1/+4
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sos] bump version to 3.43.4Bryn M. Reeves2017-03-281-1/+4
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sos] bump version to 3.33.3Bryn M. Reeves2016-06-291-1/+4
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [build-rpm] fix rpm build for sphinx docs directoryBryn M. Reeves2015-12-041-1/+2
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sos] bump version to 3.23.2Bryn M. Reeves2014-09-301-1/+4
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [sos] bump release to 3.2b1Bryn M. Reeves2014-09-171-1/+10
| | | | Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* [global] bump release to 3.2-alpha13.2alpha1Bryn M. Reeves2014-06-121-2/+2
| | | | | | | | | | We still have a number of issues to resolve before 3.2 but we're making good progress (albeit a little overdue). Let's tag the current tree as an alpha release so that development distributions (e.g. Fedora rawhide / Debian unstable) can package it and get more testing. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Update debian packaging to use pybuild and prep for 3.1 release.Adam Stokes2014-01-151-1/+1
| | | | Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* Set hard runtime dependency on python-sixAdam Stokes2013-10-301-0/+1
| | | | | | Set for both RHEL/Fedora and Debian/Ubuntu Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* Python 3 portAdam Stokes2013-10-301-0/+1
| | | | | | | | | | | | This includes a necessary dependency on python-six for its compability layer since we are wanting to continue support for both Python 2.7.x and Python 3.x. In addition, this will allow us to effectively phase out Python 2 support when/if the time arises that all interested distributions have done away with Python 2. This port passes all unittests for both python 2.7.x and python 3.3.x Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
* Correct sources URL in sos.specBryn M. Reeves2013-07-261-1/+1
| | | | | | | | | | The release URL has been temporarily moved to people.redhat.com until we can find a way to make a good release infrastructure with github (tarball names are nasty - other projects seem to host their releases on fedorahosted which is what I'm looking into for this). Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
* Bump versionr3.03.0Bryn M. Reeves2013-06-101-1/+1
| | | | Increment the spec file version to 3.0
* Spec file updatesBryn M. Reeves2013-06-101-27/+305
|
* Fix unittests and more pep8 conformingAdam Stokes2013-04-041-1/+1
| | | | | | | | | | | | | | | | - 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>
* Remove obsolete sysreport references from sos.specBryn M. Reeves2012-12-071-2/+0
|
* Fix RPM buildsBryn M. Reeves2012-11-291-1/+1
| | | | | Make sos.spec %doc match current reality. # Please enter the commit message for your changes. Lines starting
* Major updates to most of SoSReportJesse Jaggars2011-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | 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-2/+6
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@975 ef72aa8b-4018-0410-8976-d6e080ef94d8
* 2.2 relastokes2010-05-201-1/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@962 ef72aa8b-4018-0410-8976-d6e080ef94d8
* update versionr2.1astokes2010-04-231-1/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@943 ef72aa8b-4018-0410-8976-d6e080ef94d8
* update changelogastokes2010-04-221-1/+5
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@935 ef72aa8b-4018-0410-8976-d6e080ef94d8
* bugfixingr2.0astokes2010-04-141-0/+1
| | | | git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@919 ef72aa8b-4018-0410-8976-d6e080ef94d8