[LIBREPORT PATCH] added missing workflows for Fedora rhbz#866027
Jiri Moskovcak
jmoskovc at redhat.com
Tue Jul 16 11:08:43 UTC 2013
Signed-off-by: Jiri Moskovcak <jmoskovc at redhat.com>
---
libreport.spec.in | 6 +++++-
po/POTFILES.in | 6 +++++-
src/workflows/Makefile.am | 12 ++++++++++--
src/workflows/report_fedora.conf | 18 +++++++++++++++++-
src/workflows/workflow_Fedora.xml.in | 13 -------------
src/workflows/workflow_FedoraCCpp.xml.in | 13 +++++++++++++
src/workflows/workflow_FedoraKerneloops.xml.in | 11 +++++++++++
src/workflows/workflow_FedoraPython.xml.in | 11 +++++++++++
src/workflows/workflow_FedoraVmcore.xml.in | 12 ++++++++++++
src/workflows/workflow_FedoraXorg.xml.in | 9 +++++++++
10 files changed, 93 insertions(+), 18 deletions(-)
delete mode 100644 src/workflows/workflow_Fedora.xml.in
create mode 100644 src/workflows/workflow_FedoraCCpp.xml.in
create mode 100644 src/workflows/workflow_FedoraKerneloops.xml.in
create mode 100644 src/workflows/workflow_FedoraPython.xml.in
create mode 100644 src/workflows/workflow_FedoraVmcore.xml.in
create mode 100644 src/workflows/workflow_FedoraXorg.xml.in
diff --git a/libreport.spec.in b/libreport.spec.in
index bc09fd7..3d7ab99 100644
--- a/libreport.spec.in
+++ b/libreport.spec.in
@@ -501,7 +501,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%if 0%{?fedora}
%files fedora
%defattr(-,root,root,-)
-%{_datadir}/%{name}/workflows/workflow_Fedora.xml
+%{_datadir}/%{name}/workflows/workflow_FedoraCCpp.xml
+%{_datadir}/%{name}/workflows/workflow_FedoraKerneloops.xml
+%{_datadir}/%{name}/workflows/workflow_FedoraPython.xml
+%{_datadir}/%{name}/workflows/workflow_FedoraVmcore.xml
+%{_datadir}/%{name}/workflows/workflow_FedoraXorg.xml
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_fedora.conf
%endif
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 3f10efe..914f16b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -46,7 +46,11 @@ src/plugins/ureport.c
src/report-newt/report-newt.c
src/workflows/workflow_AnacondaFedora.xml.in
src/workflows/workflow_AnacondaUpload.xml.in
-src/workflows/workflow_Fedora.xml.in
+src/workflows/workflow_FedoraCCpp.xml.in
+src/workflows/workflow_FedoraKerneloops.xml.in
+src/workflows/workflow_FedoraPython.xml.in
+src/workflows/workflow_FedoraVmcore.xml.in
+src/workflows/workflow_FedoraXorg.xml.in
src/workflows/workflow_Upload.xml.in
src/workflows/workflow_RHELCCpp.xml.in
src/workflows/workflow_RHELKerneloops.xml.in
diff --git a/src/workflows/Makefile.am b/src/workflows/Makefile.am
index 9e53c8c..0aa8886 100644
--- a/src/workflows/Makefile.am
+++ b/src/workflows/Makefile.am
@@ -1,7 +1,11 @@
workflowsdir = $(WORKFLOWS_DIR)
dist_workflows_DATA = \
- workflow_Fedora.xml \
+ workflow_FedoraCCpp.xml \
+ workflow_FedoraKerneloops.xml \
+ workflow_FedoraPython.xml \
+ workflow_FedoraVmcore.xml \
+ workflow_FedoraXorg.xml \
workflow_Upload.xml \
workflow_RHELCCpp.xml \
workflow_RHELKerneloops.xml \
@@ -29,7 +33,11 @@ endif
@INTLTOOL_XML_RULE@
EXTRA_DIST = \
- workflow_Fedora.xml.in \
+ workflow_FedoraCCpp.xml.in \
+ workflow_FedoraKerneloops.xml.in \
+ workflow_FedoraPython.xml.in \
+ workflow_FedoraVmcore.xml.in \
+ workflow_FedoraXorg.xml.in \
workflow_Upload.xml.in \
workflow_RHELCCpp.xml.in \
workflow_RHELKerneloops.xml.in \
diff --git a/src/workflows/report_fedora.conf b/src/workflows/report_fedora.conf
index 8c58f12..b5a49e2 100644
--- a/src/workflows/report_fedora.conf
+++ b/src/workflows/report_fedora.conf
@@ -1,3 +1,19 @@
-EVENT=workflow_Fedora analyzer=CCpp
+EVENT=workflow_FedoraCCpp analyzer=CCpp
+# this is just a meta event which consists of other events
+# the list is defined in the xml file
+
+EVENT=workflow_FedoraPython analyzer=Python
+# this is just a meta event which consists of other events
+# the list is defined in the xml file
+
+EVENT=workflow_FedoraKerneloops analyzer=Kerneloops
+# this is just a meta event which consists of other events
+# the list is defined in the xml file
+
+EVENT=workflow_FedoraVmcore analyzer=vmcore
+# this is just a meta event which consists of other events
+# the list is defined in the xml file
+
+EVENT=workflow_FedoraXorg analyzer=xorg
# this is just a meta event which consists of other events
# the list is defined in the xml file
diff --git a/src/workflows/workflow_Fedora.xml.in b/src/workflows/workflow_Fedora.xml.in
deleted file mode 100644
index f9df177..0000000
--- a/src/workflows/workflow_Fedora.xml.in
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<workflow>
- <_name>Report to Fedora</_name>
- <_description>Process the report using the Fedora infrastructure</_description>
-
- <events>
- <event>report_uReport</event>
- <event>collect_*</event>
- <event>analyze_CCpp</event>
- <event>report_Bugzilla</event>
- <event>post_report</event>
- </events>
-</workflow>
diff --git a/src/workflows/workflow_FedoraCCpp.xml.in b/src/workflows/workflow_FedoraCCpp.xml.in
new file mode 100644
index 0000000..b48d25a
--- /dev/null
+++ b/src/workflows/workflow_FedoraCCpp.xml.in
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<workflow>
+ <_name>Report to Fedora</_name>
+ <_description>Process the C/C++ crash using the Fedora infrastructure</_description>
+
+ <events>
+ <event>report_uReport</event>
+ <event>collect_*</event>
+ <event>analyze_CCpp</event>
+ <event>report_Bugzilla</event>
+ <event>post_report</event>
+ </events>
+</workflow>
diff --git a/src/workflows/workflow_FedoraKerneloops.xml.in b/src/workflows/workflow_FedoraKerneloops.xml.in
new file mode 100644
index 0000000..a8b4a28
--- /dev/null
+++ b/src/workflows/workflow_FedoraKerneloops.xml.in
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<workflow>
+ <_name>Report to Fedora</_name>
+ <_description>Process the kerneloops using the Fedora infrastructure</_description>
+
+ <events>
+ <event>report_uReport</event>
+ <event>collect_*</event>
+ <event>report_Bugzilla</event>
+ </events>
+</workflow>
\ No newline at end of file
diff --git a/src/workflows/workflow_FedoraPython.xml.in b/src/workflows/workflow_FedoraPython.xml.in
new file mode 100644
index 0000000..81e0fca
--- /dev/null
+++ b/src/workflows/workflow_FedoraPython.xml.in
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<workflow>
+ <_name>Report to Fedora</_name>
+ <_description>Process the python exception using the Fedora infrastructure</_description>
+
+ <events>
+ <event>report_uReport</event>
+ <event>collect_*</event>
+ <event>report_Bugzilla</event>
+ </events>
+</workflow>
diff --git a/src/workflows/workflow_FedoraVmcore.xml.in b/src/workflows/workflow_FedoraVmcore.xml.in
new file mode 100644
index 0000000..a6abb6a
--- /dev/null
+++ b/src/workflows/workflow_FedoraVmcore.xml.in
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<workflow>
+ <_name>Report to Fedora</_name>
+ <_description>Process the kernel crash using the Fedora infrastructure</_description>
+
+ <events>
+ <event>analyze_VMcore</event>
+ <event>report_uReport</event>
+ <event>collect_*</event>
+ <event>report_Bugzilla</event>
+ </events>
+</workflow>
diff --git a/src/workflows/workflow_FedoraXorg.xml.in b/src/workflows/workflow_FedoraXorg.xml.in
new file mode 100644
index 0000000..d796bae
--- /dev/null
+++ b/src/workflows/workflow_FedoraXorg.xml.in
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<workflow>
+ <_name>Report to Fedora</_name>
+ <_description>Process the X Server problem using the Fedora infrastructure</_description>
+
+ <events>
+ <event>report_Bugzilla</event>
+ </events>
+</workflow>
--
1.8.3.1
More information about the Crash-catcher
mailing list