diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2021-01-16 13:52:41 +0100 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-01-19 11:45:20 -0500 |
commit | e4f0a25c546d239919a5d2eed132709ea7a2e489 (patch) | |
tree | 045fc60f563368b043642d84ccb667c74a91ff68 | |
parent | 0c93334379b23149fef7780f807b9b996c8fc73f (diff) | |
download | sos-e4f0a25c546d239919a5d2eed132709ea7a2e489.tar.gz |
[report] clean up references to ticket-number
Cleaning up references of --ticket-number, as it was fully replaced
by --case-id.
The credit goes to @mamatha4 .
Resolves: #2375
Relates to: #2374
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | man/en/sos-report.1 | 8 | ||||
-rw-r--r-- | sos/policies/distros/debian.py | 2 | ||||
-rw-r--r-- | sos/policies/distros/redhat.py | 1 | ||||
-rw-r--r-- | sos/policies/distros/suse.py | 1 |
4 files changed, 1 insertions, 11 deletions
diff --git a/man/en/sos-report.1 b/man/en/sos-report.1 index 19fb6aae..179e553a 100644 --- a/man/en/sos-report.1 +++ b/man/en/sos-report.1 @@ -14,7 +14,7 @@ sosreport \- Collect and package diagnostic and support data [--preset preset] [--add-preset add_preset]\fR [--del-preset del_preset] [--desc description]\fR [--batch] [--build] [--debug] [--dry-run]\fR - [--label label] [--case-id id] [--ticket-number nr]\fR + [--label label] [--case-id id]\fR [--threads threads]\fR [--plugin-timeout TIMEOUT]\fR [-s|--sysroot SYSROOT]\fR @@ -256,12 +256,6 @@ the logs plugin and 60 seconds for all other enabled plugins. .B \--case-id NUMBER Specify a case identifier to associate with the archive. Identifiers may include alphanumeric characters, commas and periods ('.'). -Synonymous with \--ticket-number. -.TP -.B \--ticket-number NUMBER -Specify a ticket number or other identifier to associate with the archive. -Identifiers may include alphanumeric characters, commas and periods ('.'). -Synonymous with \--case-id. .TP .B \--build Do not archive copied data. Causes sosreport to leave an uncompressed diff --git a/sos/policies/distros/debian.py b/sos/policies/distros/debian.py index 69a92192..95b389a6 100644 --- a/sos/policies/distros/debian.py +++ b/sos/policies/distros/debian.py @@ -17,7 +17,6 @@ class DebianPolicy(LinuxPolicy): distro = "Debian" vendor = "the Debian project" vendor_urls = [('Community Website', 'https://www.debian.org/')] - ticket_number = "" name_pattern = 'friendly' valid_subclasses = [DebianPlugin] PATH = "/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" \ @@ -28,7 +27,6 @@ class DebianPolicy(LinuxPolicy): remote_exec=None): super(DebianPolicy, self).__init__(sysroot=sysroot, init=init, probe_runtime=probe_runtime) - self.ticket_number = "" self.package_manager = DpkgPackageManager(chroot=sysroot, remote_exec=remote_exec) self.valid_subclasses += [DebianPlugin] diff --git a/sos/policies/distros/redhat.py b/sos/policies/distros/redhat.py index ee250c0b..8b7b7eb3 100644 --- a/sos/policies/distros/redhat.py +++ b/sos/policies/distros/redhat.py @@ -50,7 +50,6 @@ class RedHatPolicy(LinuxPolicy): remote_exec=None): super(RedHatPolicy, self).__init__(sysroot=sysroot, init=init, probe_runtime=probe_runtime) - self.ticket_number = "" self.usrmove = False # need to set _host_sysroot before PackageManager() if sysroot: diff --git a/sos/policies/distros/suse.py b/sos/policies/distros/suse.py index fe4c71b5..13e7065f 100644 --- a/sos/policies/distros/suse.py +++ b/sos/policies/distros/suse.py @@ -25,7 +25,6 @@ class SuSEPolicy(LinuxPolicy): remote_exec=None): super(SuSEPolicy, self).__init__(sysroot=sysroot, init=init, probe_runtime=probe_runtime) - self.ticket_number = "" self.valid_subclasses += [SuSEPlugin, RedHatPlugin] pkgs = self.package_manager.all_pkgs() |