|
|
27390d |
From fc7ce16996d750b05ffa13cec1ff0708a8972e0a Mon Sep 17 00:00:00 2001
|
|
|
27390d |
From: Jakub Filak <jfilak@redhat.com>
|
|
|
27390d |
Date: Thu, 9 Jan 2014 13:59:51 +0100
|
|
|
27390d |
Subject: [LIBREPORT PATCH 4/6] add a workflow for libreport type problems
|
|
|
27390d |
|
|
|
27390d |
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
|
27390d |
---
|
|
|
27390d |
po/POTFILES.in | 3 +++
|
|
|
27390d |
src/lib/report_event.conf | 4 ++--
|
|
|
27390d |
src/workflows/Makefile.am | 13 +++++++++----
|
|
|
27390d |
src/workflows/report_fedora.conf | 4 ++++
|
|
|
27390d |
src/workflows/report_rhel.conf | 4 ++++
|
|
|
27390d |
src/workflows/report_rhel_bugzilla.conf | 4 ++++
|
|
|
27390d |
src/workflows/workflow_FedoraLibreport.xml.in | 9 +++++++++
|
|
|
27390d |
src/workflows/workflow_RHELBugzillaLibreport.xml.in | 9 +++++++++
|
|
|
27390d |
src/workflows/workflow_RHELLibreport.xml.in | 9 +++++++++
|
|
|
27390d |
9 files changed, 53 insertions(+), 6 deletions(-)
|
|
|
27390d |
create mode 100644 src/workflows/workflow_FedoraLibreport.xml.in
|
|
|
27390d |
create mode 100644 src/workflows/workflow_RHELBugzillaLibreport.xml.in
|
|
|
27390d |
create mode 100644 src/workflows/workflow_RHELLibreport.xml.in
|
|
|
27390d |
|
|
|
27390d |
diff --git a/po/POTFILES.in b/po/POTFILES.in
|
|
|
27390d |
index 35e209d..426cfcf 100644
|
|
|
27390d |
--- a/po/POTFILES.in
|
|
|
27390d |
+++ b/po/POTFILES.in
|
|
|
27390d |
@@ -53,14 +53,17 @@ src/workflows/workflow_FedoraKerneloops.xml.in
|
|
|
27390d |
src/workflows/workflow_FedoraPython.xml.in
|
|
|
27390d |
src/workflows/workflow_FedoraVmcore.xml.in
|
|
|
27390d |
src/workflows/workflow_FedoraXorg.xml.in
|
|
|
27390d |
+src/workflows/workflow_FedoraLibreport.xml.in
|
|
|
27390d |
src/workflows/workflow_Upload.xml.in
|
|
|
27390d |
src/workflows/workflow_RHELCCpp.xml.in
|
|
|
27390d |
src/workflows/workflow_RHELKerneloops.xml.in
|
|
|
27390d |
src/workflows/workflow_RHELPython.xml.in
|
|
|
27390d |
src/workflows/workflow_RHELvmcore.xml.in
|
|
|
27390d |
src/workflows/workflow_RHELxorg.xml.in
|
|
|
27390d |
+src/workflows/workflow_RHELLibreport.xml.in
|
|
|
27390d |
src/workflows/workflow_RHELBugzillaCCpp.xml.in
|
|
|
27390d |
src/workflows/workflow_RHELBugzillaKerneloops.xml.in
|
|
|
27390d |
src/workflows/workflow_RHELBugzillaPython.xml.in
|
|
|
27390d |
src/workflows/workflow_RHELBugzillaVmcore.xml.in
|
|
|
27390d |
src/workflows/workflow_RHELBugzillaXorg.xml.in
|
|
|
27390d |
+src/workflows/workflow_RHELBugzillaLibreport.xml.in
|
|
|
27390d |
diff --git a/src/lib/report_event.conf b/src/lib/report_event.conf
|
|
|
27390d |
index bcf523d..7b2e4f4 100644
|
|
|
27390d |
--- a/src/lib/report_event.conf
|
|
|
27390d |
+++ b/src/lib/report_event.conf
|
|
|
27390d |
@@ -49,7 +49,7 @@ include workflows.d/*.conf
|
|
|
27390d |
#EVENT=report_Dummy analyzer=libreport echo "Hello world" >> /tmp/libreport.log
|
|
|
27390d |
|
|
|
27390d |
EVENT=report-gui analyzer=libreport
|
|
|
27390d |
- report-gtk -e report_Bugzilla -- "$DUMP_DIR"
|
|
|
27390d |
+ report-gtk -- "$DUMP_DIR"
|
|
|
27390d |
|
|
|
27390d |
EVENT=report-cli analyzer=libreport
|
|
|
27390d |
- report-cli -e report_Bugzilla -- "$DUMP_DIR"
|
|
|
27390d |
+ report-cli -- "$DUMP_DIR"
|
|
|
27390d |
diff --git a/src/workflows/Makefile.am b/src/workflows/Makefile.am
|
|
|
27390d |
index 5b3cfb8..54a504e 100644
|
|
|
27390d |
--- a/src/workflows/Makefile.am
|
|
|
27390d |
+++ b/src/workflows/Makefile.am
|
|
|
27390d |
@@ -11,7 +11,8 @@ dist_workflows_DATA = \
|
|
|
27390d |
workflow_RHELKerneloops.xml \
|
|
|
27390d |
workflow_RHELPython.xml \
|
|
|
27390d |
workflow_RHELvmcore.xml \
|
|
|
27390d |
- workflow_RHELxorg.xml
|
|
|
27390d |
+ workflow_RHELxorg.xml \
|
|
|
27390d |
+ workflow_RHELLibreport.xml
|
|
|
27390d |
|
|
|
27390d |
if BUILD_BUGZILLA
|
|
|
27390d |
dist_workflows_DATA += \
|
|
|
27390d |
@@ -23,7 +24,8 @@ dist_workflows_DATA += \
|
|
|
27390d |
workflow_RHELBugzillaKerneloops.xml \
|
|
|
27390d |
workflow_RHELBugzillaPython.xml \
|
|
|
27390d |
workflow_RHELBugzillaVmcore.xml \
|
|
|
27390d |
- workflow_RHELBugzillaXorg.xml
|
|
|
27390d |
+ workflow_RHELBugzillaXorg.xml \
|
|
|
27390d |
+ workflow_RHELBugzillaLibreport.xml
|
|
|
27390d |
endif
|
|
|
27390d |
|
|
|
27390d |
workflowsdefdir = $(WORKFLOWS_DEFINITION_DIR)
|
|
|
27390d |
@@ -46,12 +48,14 @@ EXTRA_DIST = \
|
|
|
27390d |
workflow_FedoraPython.xml.in \
|
|
|
27390d |
workflow_FedoraVmcore.xml.in \
|
|
|
27390d |
workflow_FedoraXorg.xml.in \
|
|
|
27390d |
+ workflow_FedoraLibreport.xml.in \
|
|
|
27390d |
workflow_Upload.xml.in \
|
|
|
27390d |
workflow_RHELCCpp.xml.in \
|
|
|
27390d |
workflow_RHELKerneloops.xml.in \
|
|
|
27390d |
workflow_RHELPython.xml.in \
|
|
|
27390d |
workflow_RHELvmcore.xml.in \
|
|
|
27390d |
- workflow_RHELxorg.xml.in
|
|
|
27390d |
+ workflow_RHELxorg.xml.in \
|
|
|
27390d |
+ workflow_RHELLibreport.xml.in
|
|
|
27390d |
|
|
|
27390d |
if BUILD_BUGZILLA
|
|
|
27390d |
EXTRA_DIST += \
|
|
|
27390d |
@@ -63,5 +67,6 @@ EXTRA_DIST += \
|
|
|
27390d |
workflow_RHELBugzillaKerneloops.xml.in \
|
|
|
27390d |
workflow_RHELBugzillaPython.xml.in \
|
|
|
27390d |
workflow_RHELBugzillaVmcore.xml.in \
|
|
|
27390d |
- workflow_RHELBugzillaXorg.xml.in
|
|
|
27390d |
+ workflow_RHELBugzillaXorg.xml.in \
|
|
|
27390d |
+ workflow_RHELBugzillaLibreport.xml.in
|
|
|
27390d |
endif
|
|
|
27390d |
diff --git a/src/workflows/report_fedora.conf b/src/workflows/report_fedora.conf
|
|
|
27390d |
index 84009bf..e935b16 100644
|
|
|
27390d |
--- a/src/workflows/report_fedora.conf
|
|
|
27390d |
+++ b/src/workflows/report_fedora.conf
|
|
|
27390d |
@@ -1,3 +1,7 @@
|
|
|
27390d |
+EVENT=workflow_FedoraLibreport analyzer=libreport
|
|
|
27390d |
+# this is just a meta event which consists of other events
|
|
|
27390d |
+# the list is defined in the xml file
|
|
|
27390d |
+
|
|
|
27390d |
EVENT=workflow_FedoraCCpp analyzer=CCpp
|
|
|
27390d |
# this is just a meta event which consists of other events
|
|
|
27390d |
# the list is defined in the xml file
|
|
|
27390d |
diff --git a/src/workflows/report_rhel.conf b/src/workflows/report_rhel.conf
|
|
|
27390d |
index 104bcc3..870db3f 100644
|
|
|
27390d |
--- a/src/workflows/report_rhel.conf
|
|
|
27390d |
+++ b/src/workflows/report_rhel.conf
|
|
|
27390d |
@@ -1,3 +1,7 @@
|
|
|
27390d |
+EVENT=workflow_RHELLibreport analyzer=libreport
|
|
|
27390d |
+# this is just a meta event which consists of other events
|
|
|
27390d |
+# the list is defined in the xml file
|
|
|
27390d |
+
|
|
|
27390d |
EVENT=workflow_RHELCCpp analyzer=CCpp
|
|
|
27390d |
# this is just a meta event which consists of other events
|
|
|
27390d |
# the list is defined in the xml file
|
|
|
27390d |
diff --git a/src/workflows/report_rhel_bugzilla.conf b/src/workflows/report_rhel_bugzilla.conf
|
|
|
27390d |
index 3281cb8..b986959 100644
|
|
|
27390d |
--- a/src/workflows/report_rhel_bugzilla.conf
|
|
|
27390d |
+++ b/src/workflows/report_rhel_bugzilla.conf
|
|
|
27390d |
@@ -1,3 +1,7 @@
|
|
|
27390d |
+EVENT=workflow_RHELBugzillaLibreport analyzer=libreport
|
|
|
27390d |
+# this is just a meta event which consists of other events
|
|
|
27390d |
+# the list is defined in the xml file
|
|
|
27390d |
+
|
|
|
27390d |
EVENT=workflow_RHELBugzillaCCpp analyzer=CCpp
|
|
|
27390d |
# this is just a meta event which consists of other events
|
|
|
27390d |
# the list is defined in the xml file
|
|
|
27390d |
diff --git a/src/workflows/workflow_FedoraLibreport.xml.in b/src/workflows/workflow_FedoraLibreport.xml.in
|
|
|
27390d |
new file mode 100644
|
|
|
27390d |
index 0000000..16e08cc
|
|
|
27390d |
--- /dev/null
|
|
|
27390d |
+++ b/src/workflows/workflow_FedoraLibreport.xml.in
|
|
|
27390d |
@@ -0,0 +1,9 @@
|
|
|
27390d |
+
|
|
|
27390d |
+<workflow>
|
|
|
27390d |
+ <_name>Report to Fedora</_name>
|
|
|
27390d |
+ <_description>Process the problem using the Fedora infrastructure</_description>
|
|
|
27390d |
+
|
|
|
27390d |
+ <events>
|
|
|
27390d |
+ <event>report_Bugzilla</event>
|
|
|
27390d |
+ </events>
|
|
|
27390d |
+</workflow>
|
|
|
27390d |
diff --git a/src/workflows/workflow_RHELBugzillaLibreport.xml.in b/src/workflows/workflow_RHELBugzillaLibreport.xml.in
|
|
|
27390d |
new file mode 100644
|
|
|
27390d |
index 0000000..b9c5cb3
|
|
|
27390d |
--- /dev/null
|
|
|
27390d |
+++ b/src/workflows/workflow_RHELBugzillaLibreport.xml.in
|
|
|
27390d |
@@ -0,0 +1,9 @@
|
|
|
27390d |
+
|
|
|
27390d |
+<workflow>
|
|
|
27390d |
+ <_name>Report to Red Hat Bugzilla</_name>
|
|
|
27390d |
+ <_description>Process the problem using the Red Hat infrastructure</_description>
|
|
|
27390d |
+
|
|
|
27390d |
+ <events>
|
|
|
27390d |
+ <event>report_Bugzilla</event>
|
|
|
27390d |
+ </events>
|
|
|
27390d |
+</workflow>
|
|
|
27390d |
diff --git a/src/workflows/workflow_RHELLibreport.xml.in b/src/workflows/workflow_RHELLibreport.xml.in
|
|
|
27390d |
new file mode 100644
|
|
|
27390d |
index 0000000..b8b4f04
|
|
|
27390d |
--- /dev/null
|
|
|
27390d |
+++ b/src/workflows/workflow_RHELLibreport.xml.in
|
|
|
27390d |
@@ -0,0 +1,9 @@
|
|
|
27390d |
+
|
|
|
27390d |
+<workflow>
|
|
|
27390d |
+ <_name>Report to Red Hat Customer Portal</_name>
|
|
|
27390d |
+ <_description>Process the problem using the Red Hat infrastructure</_description>
|
|
|
27390d |
+
|
|
|
27390d |
+ <events>
|
|
|
27390d |
+ <event>report_RHTSupport</event>
|
|
|
27390d |
+ </events>
|
|
|
27390d |
+</workflow>
|
|
|
27390d |
--
|
|
|
27390d |
1.8.3.1
|
|
|
27390d |
|