public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gdb] gdb-17.2-rebase-f44: Fix RPM suggestion help text
@ 2026-06-28  0:02 Guinevere Larsen
  0 siblings, 0 replies; only message in thread
From: Guinevere Larsen @ 2026-06-28  0:02 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/gdb
            Branch : gdb-17.2-rebase-f44
            Commit : 885cdf83f9b97748b08f67de0a2d6d951ffe1aa0
            Author : Guinevere Larsen <guinevere@redhat.com>
            Date   : 2025-05-22T13:14:26-03:00
            Stats  : +4/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/gdb/c/885cdf83f9b97748b08f67de0a2d6d951ffe1aa0?branch=gdb-17.2-rebase-f44

            Log:
            Fix RPM suggestion help text

The help text for "info rpm-suggestions" was causing the selftest
help_doc_invariant to fail, because the first line didn't end in a
period. I've reworded that text slightly to make the first line a single
sentence, so that it can conform to that invariant and reduce noise when
checking for regressions.

---
diff --git a/gdb-add-rpm-suggestion-script.patch b/gdb-add-rpm-suggestion-script.patch
index 1eccb30..3010fb8 100644
--- a/gdb-add-rpm-suggestion-script.patch
+++ b/gdb-add-rpm-suggestion-script.patch
@@ -149,7 +149,7 @@ diff --git a/gdb/python/lib/gdb/command/rpm-suggestions.py b/gdb/python/lib/gdb/
 new file mode 100644
 --- /dev/null
 +++ b/gdb/python/lib/gdb/command/rpm-suggestions.py
-@@ -0,0 +1,525 @@
+@@ -0,0 +1,527 @@
 +# Copyright 2023 Free Software Foundation, Inc.
 +
 +# This program is free software; you can redistribute it and/or modify
@@ -655,7 +655,9 @@ new file mode 100644
 +
 +# The 'info rpm-suggestions' command.
 +class rpm_suggestion_info(gdb.Command):
-+    """Relist any RPM installation suggestions that have been made
++    """Relist RPM suggestions.
++
++    Relist any RPM installation suggestions that have been made
 +    since the executable was last changed."""
 +    def __init__(self):
 +        super().__init__("info rpm-suggestions", gdb.COMMAND_NONE, gdb.COMPLETE_NONE)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-28  0:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-28  0:02 [rpms/gdb] gdb-17.2-rebase-f44: Fix RPM suggestion help text Guinevere Larsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox