| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Adds a sos-collector executable under bin/ to serve as a redirection
point for legacy sos-collector commands
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to carry a `sosreport` binary for some time to allow for end
users and downstreams to adjust to the new binary. It was hoped
originally that the old `sosreport` binary could be maintained in place
and simply provide the older set of functionality.
This has proven to not be possible givent he overhaul of the options
handling that allows us to have multiple subcommands. So while we will
still ship an `sosreport` binary, and it will be locked to `report`
functionality, it is now a simple redirection script that also makes the
user aware of the new `sos` binary.
Closes: #1986
Resolves: #1993
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
|
|
|
|
|
|
| |
Since sos-4.0 is py3 only, set the interpreset of the binary as such
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the first patch to add a new `sos` binary to act as the new
commandline interface for users.
It adds the basic `SoS()` and `SoSComponent()` classes that will be
built out and used going forward for new subcommand development. Actual
functionality will be added in coming patches, as this is mainly serving
as a checkpoint to avoid over-large commits affecting wide swathes of
changes at once.
Resolves: #1986
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
|
|
|
|
|
|
|
| |
Moves the legacy sosreport.py into sos/report/__init__.py as part of the
reorganization for 4.0
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Updates the uses of 'from sos.plugins' to 'from sos.report.plugins' in
order to fix imports across the project with the new tree organization.
Additionally, the legacy `sosreport` binary now injects the user's
current working directory into the path the python interpreter uses in
order to allow local execution from a git checkout.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
|
|
This is the beginning of the sos-4.0 design rework.
First, move the existing `sosreport` binary into a new top-level `bin`
dir. The future `sos` binary will also live here.
Second, create a `report` subdir within the `sos` module, and move the
relevant `sosreport` bits to that subdir. A following commit will update
all references like `from sos.plugins` to `from sos.report.plugins`.
Related: #1986
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
|