public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jiri Moskovcak <jmoskovc@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/abrt] update-2.17.8: don't allow sending unusable backtrace, versioned libreport deps
Date: Mon, 03 Aug 2026 10:22:04 GMT	[thread overview]
Message-ID: <178575252483.1.13249362318325571085.rpms-abrt-a4fa2d6195a3@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/abrt
Branch : update-2.17.8
Commit : a4fa2d6195a30cbf3e3048231b8a157169ae612f
Author : Jiri Moskovcak <jmoskovc@redhat.com>
Date   : 2011-04-21T18:27:28+02:00
Stats  : +28/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/abrt/c/a4fa2d6195a30cbf3e3048231b8a157169ae612f?branch=update-2.17.8

Log:
don't allow sending unusable backtrace, versioned libreport deps

---
diff --git a/abrt.spec b/abrt.spec
index d4a3afc..2b55811 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -16,7 +16,7 @@
 %if "0%{?_buildid}" != "0"
 %define pkg_release 0.%{?_buildid}%{?dist}
 %else
-%define pkg_release 1%{?dist}
+%define pkg_release 2%{?dist}
 %endif
 
 Summary: Automatic bug detection and reporting tool
@@ -32,6 +32,7 @@ Source2: abrt-ccpp.init
 Patch0: remove_libreport_python.patch
 Patch1: blacklist.patch
 Patch2: allow_bz_for_koops.patch
+Patch3: low_bt_rating.patch
 BuildRequires: dbus-devel
 BuildRequires: gtk2-devel
 BuildRequires: curl-devel
@@ -61,7 +62,7 @@ Requires: systemd-units
 %endif
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: %{name}-libs = %{version}-%{release}
-Requires: libreport
+Requires: libreport = %{version}-%{release}
 Requires(pre): shadow-utils
 Obsoletes: abrt-plugin-sqlite3 > 0.0.1
 # required for transition from 1.1.13, can be removed after some time
@@ -268,6 +269,7 @@ generation service over a network using HTTP protocol.
 %patch0 -p1 -b .libreport_py
 %patch1 -p1 -b .blacklist
 %patch2 -p1 -b bz_for_oops
+%patch3 -p1 -b low_rating
 
 %build
 autoconf
@@ -592,6 +594,10 @@ fi
 %{_infodir}/abrt-retrace-server*
 
 %changelog
+* Thu Apr 21 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.1-2
+- don't allow reporting of backtrace with rating = 0 rhbz#672023
+- use versioned deps on libreport
+
 * Wed Apr 20 2011 Jiri Moskovcak <jmoskovc@redhat.com> 2.0.1-1
 - updated to 2.0.1
 - updated translation

diff --git a/low_bt_rating.patch b/low_bt_rating.patch
new file mode 100644
index 0000000..537aa9b
--- /dev/null
+++ b/low_bt_rating.patch
@@ -0,0 +1,20 @@
+commit 884c0aed054302cb1cbb71c2b21c12df92a7e6e4
+Author: Karel Klic <kklic@redhat.com>
+Date:   Thu Apr 21 08:59:38 2011 +0200
+
+    Do not allow to submit backtraces with rating 0 (or some other unexpected rating).
+
+diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
+index 44dc11b..0a57f04 100644
+--- a/src/gui-wizard-gtk/wizard.c
++++ b/src/gui-wizard-gtk/wizard.c
+@@ -1005,8 +1005,7 @@ static void check_backtrace_and_allow_send(void) //TODO: rename, this checks rat
+                 add_warning(_("The backtrace is incomplete, please make sure you provide the steps to reproduce."));
+                 warn = true;
+                 break;
+-            case '2':
+-            case '1':
++            default:
+                 //FIXME: see CreporterAssistant: 394 for ideas
+                 add_warning(_("Reporting disabled because the backtrace is unusable."));
+                 send = false;

                 reply	other threads:[~2026-08-03 10:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178575252483.1.13249362318325571085.rpms-abrt-a4fa2d6195a3@fedoraproject.org \
    --to=jmoskovc@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox