New upstream release 2.7.0
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
This commit is contained in:
parent
54131d237d
commit
89ee3481d8
@ -1,121 +0,0 @@
|
||||
From 67fc02ca07fd39bd6abb32112bfce57bb7490c79 Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Filak <jfilak@redhat.com>
|
||||
Date: Mon, 8 Feb 2016 19:14:21 +0100
|
||||
Subject: [PATCH] wizard: remove the code correcting Bugzilla groups
|
||||
|
||||
The code was required for Fedora 20 (bug #1087370).
|
||||
The code was used for almost two years and it is time to get rid of it.
|
||||
|
||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
||||
---
|
||||
src/gui-wizard-gtk/wizard.c | 74 ---------------------------------------------
|
||||
1 file changed, 74 deletions(-)
|
||||
|
||||
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
|
||||
index 1b05216..50047d5 100644
|
||||
--- a/src/gui-wizard-gtk/wizard.c
|
||||
+++ b/src/gui-wizard-gtk/wizard.c
|
||||
@@ -219,8 +219,6 @@ static const gchar *const page_names[] =
|
||||
NULL
|
||||
};
|
||||
|
||||
-#define PRIVATE_TICKET_CB "private_ticket_cb"
|
||||
-
|
||||
#define SENSITIVE_DATA_WARN "sensitive_data_warning"
|
||||
#define SENSITIVE_DATA_WARN_MSG "sensitive_data_warning_message"
|
||||
#define SENSITIVE_LIST "ls_sensitive_words"
|
||||
@@ -228,7 +226,6 @@ static const gchar *misc_widgets[] =
|
||||
{
|
||||
SENSITIVE_DATA_WARN,
|
||||
SENSITIVE_LIST,
|
||||
- PRIVATE_TICKET_CB,
|
||||
NULL
|
||||
};
|
||||
|
||||
@@ -2020,83 +2017,12 @@ static gboolean consume_cmd_output(GIOChannel *source, GIOCondition condition, g
|
||||
return TRUE; /* "please don't remove this event (yet)" */
|
||||
}
|
||||
|
||||
-static int ask_replace_old_private_group_name(void)
|
||||
-{
|
||||
- char *message = xasprintf(_("Private ticket is requested but the group name 'private' has been deprecated. "
|
||||
- "We kindly ask you to use 'fedora_contrib_private' group name. "
|
||||
- "Click Yes button or update the configuration manually. Or click No button, if you really want to use 'private' group.\n\n"
|
||||
- "If you are not sure what this dialogue means, please trust us and click Yes button.\n\n"
|
||||
- "Read more about the private bug reports at:\n"
|
||||
- "https://github.com/abrt/abrt/wiki/FAQ#creating-private-bugzilla-tickets\n"
|
||||
- "https://bugzilla.redhat.com/show_bug.cgi?id=1044653\n"));
|
||||
-
|
||||
- char *markup_message = xasprintf(_("Private ticket is requested but the group name <i>private</i> has been deprecated. "
|
||||
- "We kindly ask you to use <i>fedora_contrib_private</i> group name. "
|
||||
- "Click Yes button or update the configuration manually. Or click No button, if you really want to use <i>private</i> group.\n\n"
|
||||
- "If you are not sure what this dialogue means, please trust us and click Yes button.\n\n"
|
||||
- "Read more about the private bug reports at:\n"
|
||||
- "<a href=\"https://github.com/abrt/abrt/wiki/FAQ#creating-private-bugzilla-tickets\">"
|
||||
- "https://github.com/abrt/abrt/wiki/FAQ#creating-private-bugzilla-tickets</a>\n"
|
||||
- "<a href=\"https://bugzilla.redhat.com/show_bug.cgi?id=1044653\">https://bugzilla.redhat.com/show_bug.cgi?id=1044653</a>\n"));
|
||||
-
|
||||
- GtkWidget *old_private_group = gtk_message_dialog_new(GTK_WINDOW(g_wnd_assistant),
|
||||
- GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
|
||||
- GTK_MESSAGE_WARNING,
|
||||
- GTK_BUTTONS_YES_NO,
|
||||
- message);
|
||||
-
|
||||
- gtk_window_set_transient_for(GTK_WINDOW(old_private_group), GTK_WINDOW(g_wnd_assistant));
|
||||
- gtk_message_dialog_set_markup(GTK_MESSAGE_DIALOG(old_private_group),
|
||||
- markup_message);
|
||||
- free(message);
|
||||
- free(markup_message);
|
||||
-
|
||||
- /* Esc -> No, Enter -> Yes */
|
||||
- gtk_dialog_set_default_response(GTK_DIALOG(old_private_group), GTK_RESPONSE_YES);
|
||||
-
|
||||
- gint result = gtk_dialog_run(GTK_DIALOG(old_private_group));
|
||||
- gtk_widget_destroy(old_private_group);
|
||||
-
|
||||
- return result == GTK_RESPONSE_YES;
|
||||
-}
|
||||
-
|
||||
-/*
|
||||
- * https://bugzilla.redhat.com/show_bug.cgi?id=1044653
|
||||
- */
|
||||
-static void correct_bz_private_goup_name(const char *event_name)
|
||||
-{
|
||||
- if (strcmp("report_Bugzilla", event_name) == 0 &&
|
||||
- gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(gtk_builder_get_object(g_builder, PRIVATE_TICKET_CB))))
|
||||
- {
|
||||
- event_config_t *cfg = get_event_config(event_name);
|
||||
- if (NULL != cfg)
|
||||
- {
|
||||
- GList *item = cfg->options;
|
||||
- for ( ; item != NULL; item = g_list_next(item))
|
||||
- {
|
||||
- event_option_t *opt = item->data;
|
||||
- if (strcmp("Bugzilla_PrivateGroups", opt->eo_name) == 0
|
||||
- && opt->eo_value
|
||||
- && strcmp(opt->eo_value, "private") == 0
|
||||
- && ask_replace_old_private_group_name())
|
||||
- {
|
||||
- free(opt->eo_value);
|
||||
- opt->eo_value = xstrdup("fedora_contrib_private");
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
-}
|
||||
-
|
||||
static void start_event_run(const char *event_name)
|
||||
{
|
||||
/* Start event asynchronously on the dump dir
|
||||
* (synchronous run would freeze GUI until completion)
|
||||
*/
|
||||
|
||||
- /* https://bugzilla.redhat.com/show_bug.cgi?id=1044653 */
|
||||
- correct_bz_private_goup_name(event_name);
|
||||
-
|
||||
struct run_event_state *state = new_run_event_state();
|
||||
state->logging_callback = run_event_gtk_logging;
|
||||
state->error_callback = run_event_gtk_error;
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1,31 +0,0 @@
|
||||
From 18a1e903c35d72cdb2f436237235d70a3a798cf4 Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Filak <jfilak@redhat.com>
|
||||
Date: Mon, 8 Feb 2016 19:18:32 +0100
|
||||
Subject: [PATCH] wizard: fix the broken "Show log" widget
|
||||
|
||||
It looks like that GtkScrolledWindow widget is no longer expanded
|
||||
automatically.
|
||||
|
||||
Fixes: rhbz#1303326
|
||||
|
||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
||||
---
|
||||
src/gui-wizard-gtk/wizard.glade | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/gui-wizard-gtk/wizard.glade b/src/gui-wizard-gtk/wizard.glade
|
||||
index 78b012d..e1d2183 100644
|
||||
--- a/src/gui-wizard-gtk/wizard.glade
|
||||
+++ b/src/gui-wizard-gtk/wizard.glade
|
||||
@@ -678,6 +678,8 @@
|
||||
<object class="GtkScrolledWindow" id="scrolledwindow6">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
+ <property name="hexpand">True</property>
|
||||
+ <property name="vexpand">True</property>
|
||||
<property name="shadow_type">out</property>
|
||||
<child>
|
||||
<object class="GtkTextView" id="tv_event_log">
|
||||
--
|
||||
2.5.0
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,41 +0,0 @@
|
||||
From 7f7ca8e4868ce7a6ac4dfa2a3f54c7df66b7f925 Mon Sep 17 00:00:00 2001
|
||||
From: Yuri Chornoivan <yurchor@ukr.net>
|
||||
Date: Fri, 12 Feb 2016 22:58:13 +0200
|
||||
Subject: [PATCH] Fix minor typos
|
||||
|
||||
---
|
||||
src/plugins/report_CentOSBugTracker.xml.in | 4 ++--
|
||||
src/plugins/reporter-ureport.c | 2 +-
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/plugins/report_CentOSBugTracker.xml.in b/src/plugins/report_CentOSBugTracker.xml.in
|
||||
index 0e2adbe..89bfc8b 100644
|
||||
--- a/src/plugins/report_CentOSBugTracker.xml.in
|
||||
+++ b/src/plugins/report_CentOSBugTracker.xml.in
|
||||
@@ -25,8 +25,8 @@
|
||||
<_description>CentOS Bug Tracker account password</_description>
|
||||
</option>
|
||||
<option type="bool" name="Mantisbt_CreatePrivate">
|
||||
- <_label>Restric access</_label>
|
||||
- <_note-html>The issue will be accessible only to users with access to 'Pivate Issues'</_note-html>
|
||||
+ <_label>Restrict access</_label>
|
||||
+ <_note-html>The issue will be accessible only to users with access to 'Private Issues'</_note-html>
|
||||
<default-value>no</default-value>
|
||||
</option>
|
||||
<advanced-options>
|
||||
diff --git a/src/plugins/reporter-ureport.c b/src/plugins/reporter-ureport.c
|
||||
index f49ebc8..52a05f5 100644
|
||||
--- a/src/plugins/reporter-ureport.c
|
||||
+++ b/src/plugins/reporter-ureport.c
|
||||
@@ -105,7 +105,7 @@ int main(int argc, char **argv)
|
||||
OPT_STRING('r', "report-result-type", &report_result_type, "REPORT_RESULT_TYPE",
|
||||
_("use REPORT_RESULT_TYPE when looking for FIELD in reported_to (used only with -L)")),
|
||||
OPT_STRING('T', "type", &attach_type, "ATTACHMENT_TYPE",
|
||||
- _("attach DATA as ureporte attachment ATTACHMENT_TYPE (used only with -l|-L)")),
|
||||
+ _("attach DATA as ureport attachment ATTACHMENT_TYPE (used only with -l|-L)")),
|
||||
OPT_END(),
|
||||
};
|
||||
|
||||
--
|
||||
2.5.0
|
||||
|
@ -1,30 +0,0 @@
|
||||
From 75794fcb6ee9c52930ff852eed3caa0520bac007 Mon Sep 17 00:00:00 2001
|
||||
From: Matej Habrnal <mhabrnal@redhat.com>
|
||||
Date: Thu, 18 Feb 2016 14:51:46 +0100
|
||||
Subject: [PATCH] wizard: fix the broken widget expansion
|
||||
|
||||
GtkScrolledWindow widget is no longer expanded automatically.
|
||||
|
||||
Fixes #407
|
||||
|
||||
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
||||
---
|
||||
src/gui-wizard-gtk/wizard.glade | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/gui-wizard-gtk/wizard.glade b/src/gui-wizard-gtk/wizard.glade
|
||||
index e1d2183..d79cc40 100644
|
||||
--- a/src/gui-wizard-gtk/wizard.glade
|
||||
+++ b/src/gui-wizard-gtk/wizard.glade
|
||||
@@ -155,6 +155,8 @@
|
||||
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
+ <property name="hexpand">True</property>
|
||||
+ <property name="vexpand">True</property>
|
||||
<property name="shadow_type">in</property>
|
||||
<child>
|
||||
<object class="GtkTreeView" id="tv_sensitive_words">
|
||||
--
|
||||
2.5.0
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
Summary: Generic library for reporting various problems
|
||||
Name: libreport
|
||||
Version: 2.6.4
|
||||
Release: 3%{?dist}
|
||||
Version: 2.7.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: https://abrt.readthedocs.org/
|
||||
@ -16,12 +16,6 @@ Source1: autogen.sh
|
||||
|
||||
# git format-patch %%{Version} -N -M --topo-order
|
||||
# i=0; for p in `ls 0*.patch`; do printf "Patch%04d: %s\n" $i $p; ((i++)); done
|
||||
Patch0001: 0001-wizard-remove-the-code-correcting-Bugzilla-groups.patch
|
||||
Patch0002: 0002-wizard-fix-the-broken-Show-log-widget.patch
|
||||
#Patch0003: 0003-translations-update-zanata-configuration.patch
|
||||
Patch0004: 0004-Translation-updates.patch
|
||||
Patch0005: 0005-Fix-minor-typos.patch
|
||||
Patch0006: 0006-wizard-fix-the-broken-widget-expansion.patch
|
||||
|
||||
# git is need for '%%autosetup -S git' which automatically applies all the
|
||||
# patches above. Please, be aware that the patches must be generated
|
||||
@ -47,6 +41,7 @@ BuildRequires: newt-devel
|
||||
BuildRequires: libproxy-devel
|
||||
BuildRequires: satyr-devel >= %{satyr_ver}
|
||||
|
||||
BuildRequires: glibc-all-langpacks
|
||||
BuildRequires: xmlrpc-c-devel
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: systemd-devel
|
||||
@ -357,6 +352,7 @@ find $RPM_BUILD_ROOT -name "*.py[co]" -delete
|
||||
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/events.d/
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/events/
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/workflows.d/
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}/events/
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name}/workflows/
|
||||
|
||||
@ -387,6 +383,7 @@ rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELvmcore.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELxorg.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELLibreport.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELJava.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_uReport.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaCCpp.xml
|
||||
@ -397,8 +394,10 @@ rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaXorg.
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaLibreport.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_RHELBugzillaJava.xml
|
||||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_rhel.conf
|
||||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_uReport.conf
|
||||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_rhel.conf.5
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_uReport.conf.5
|
||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man5/report_rhel_bugzilla.conf.5
|
||||
%endif
|
||||
|
||||
@ -461,6 +460,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%dir %{_sysconfdir}/%{name}/
|
||||
%dir %{_sysconfdir}/%{name}/events.d/
|
||||
%dir %{_sysconfdir}/%{name}/events/
|
||||
%dir %{_sysconfdir}/%{name}/workflows.d/
|
||||
%dir %{_datadir}/%{name}/events/
|
||||
%dir %{_datadir}/%{name}/workflows/
|
||||
%dir %{_sysconfdir}/%{name}/plugins/
|
||||
@ -703,8 +703,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
%{_datadir}/%{name}/workflows/workflow_RHELxorg.xml
|
||||
%{_datadir}/%{name}/workflows/workflow_RHELLibreport.xml
|
||||
%{_datadir}/%{name}/workflows/workflow_RHELJava.xml
|
||||
%{_datadir}/%{name}/workflows/workflow_uReport.xml
|
||||
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf
|
||||
%{_mandir}/man5/report_rhel.conf.5.*
|
||||
%{_mandir}/man5/report_uReport.conf.5.*
|
||||
|
||||
%files rhel-bugzilla
|
||||
%defattr(-,root,root,-)
|
||||
@ -743,6 +746,35 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Apr 08 2016 Matej Habrnal <mhabrnal@redhat.com> 2.7.0-1
|
||||
- ignored words: update ignored words
|
||||
- mailx: use problem report api to define an emais' content
|
||||
- augeas: trim spaces before key value
|
||||
- spec: add workflows.d to filesystem package
|
||||
- mailx: stop creating dead.letter on mailx failures
|
||||
- workflows: add comments to ambiguous functions
|
||||
- workflows: publish the function loading configuration
|
||||
- augeas: exclude mantisbt format configurations
|
||||
- reporter-mantisbt: add missing '=' to conf file
|
||||
- curl: fix typo Ingoring -> Ignoring
|
||||
- rhtsupport: attach all dump dir's element to a new case
|
||||
- rhtsupport: add pkg_vendor, reproducer and reproducible to description
|
||||
- report client: add silent mode to clean_up()
|
||||
- doc: add documentation for requires-details attribute
|
||||
- rhtsupport: Discourage users from reporting in non Red Hat stuff
|
||||
- rhtsupport: Discourage users from opening one-shot crashes
|
||||
- report-gtk: Require Reproducer for RHTSupport
|
||||
- Add workflow for RHEL anonymous report
|
||||
- spec: add workflow for RHEL anonymous report files
|
||||
- wizard: fix the broken widget expansion
|
||||
- dd: add documentation of dd_create_skeleton
|
||||
- workflow: add extern C to the header file
|
||||
- Fix minor typos
|
||||
- Translation updates
|
||||
- translations: update zanata configuration
|
||||
- wizard: fix the broken "Show log" widget
|
||||
- wizard: remove the code correcting Bugzilla groups
|
||||
|
||||
* Thu Feb 18 2016 Matej Habrnal <mhabrnal@redhat.com> 2.6.4-3
|
||||
- Translation updates
|
||||
- wizard: fix the broken widget expansion
|
||||
@ -751,7 +783,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
- wizard: fix the broken "Show log" widget
|
||||
- Resolves: #1303326
|
||||
|
||||
* Thu Feb 02 2016 Matej Habrnal <mhabrnal@redhat.com> 2.6.4-1
|
||||
* Tue Feb 02 2016 Matej Habrnal <mhabrnal@redhat.com> 2.6.4-1
|
||||
- doc: add option -o and -O into reporter-ureport man page
|
||||
- rhtsupport: use problme report API to create description
|
||||
- bugzilla: make the event configurable
|
||||
|
Loading…
Reference in New Issue
Block a user