aboutsummaryrefslogtreecommitdiffstats
path: root/sos.spec
Commit message (Collapse)AuthorAgeFilesLines
* [build] Actually indicate this requires packagingMiro Hrončok2023-10-281-0/+4
| | | | | | | | This is a followup for 56904018045fdbdad666e55f0a850bc365809e50 I hereby declare that you can do whatever you want with this commit: Signed-off-by: Miro Hrončok <miro@hroncok.cz>
* [build] Bump version to 4.6.0Jake Hunsaker2023-08-171-1/+4
| | | | Signed-off-by: Jake Hunsaker <jacob.r.hunsaker@gmail.com>
* [build] Bump version to 4.5.6Jake Hunsaker2023-07-201-1/+4
| | | | | | This commit marks the release of sos-4.5.6. Signed-off-by: Jake Hunsaker <jacob.r.hunsaker@gmail.com>
* [build] Bump version to 4.5.5Jake Hunsaker2023-06-231-1/+4
| | | | | | This commit marks the release of sos-4.5.5. Signed-off-by: Jake Hunsaker <jacob.r.hunsaker@gmail.com>
* [specfile] new fedora guidelinesSandro Bonazzola2023-05-311-0/+20
| | | | | | adapt the specfile to new fedora packaging guidelines. Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
* [specfile] align with Fedora spec fileSandro Bonazzola2023-05-311-14/+15
| | | | Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
* [build] Bump version to 4.5.4Jake Hunsaker2023-05-261-1/+4
| | | | | | This commit marks the release of sos-4.5.4 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [specfile] add runtime requirement to python3-setuptoolsPavel Moravec2023-05-191-0/+1
| | | | | | | | As pkg_resources module from setuptools is used in SosNode. Resolves: #3241 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
* [build] Bump version to 4.5.3Jake Hunsaker2023-04-281-1/+4
| | | | Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
* [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
|