Blame SOURCES/0035-Add-a-manual-page-for-the-analysis-tool.patch

23d3c3
From d20626db00428ccf0343ad4e87af6b59c00b2bf8 Mon Sep 17 00:00:00 2001
23d3c3
From: Jakub Filak <jfilak@redhat.com>
23d3c3
Date: Mon, 20 Jan 2014 09:54:48 +0100
23d3c3
Subject: [PATCH 35/39] Add a manual page for the analysis tool
23d3c3
23d3c3
Related to #29
23d3c3
Related to rhbz#1054737
23d3c3
---
23d3c3
 utils/CMakeLists.txt             |  2 +
23d3c3
 utils/abrt-action-analyze-java.1 | 81 ++++++++++++++++++++++++++++++++++++++++
23d3c3
 2 files changed, 83 insertions(+)
23d3c3
 create mode 100644 utils/abrt-action-analyze-java.1
23d3c3
23d3c3
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
23d3c3
index c358968..517c130 100644
23d3c3
--- a/utils/CMakeLists.txt
23d3c3
+++ b/utils/CMakeLists.txt
23d3c3
@@ -32,3 +32,5 @@ target_link_libraries(abrt-action-analyze-java ${PC_LIBREPORT_LIBRARIES})
23d3c3
 target_link_libraries(abrt-action-analyze-java ${PC_ABRT_LIBRARIES})
23d3c3
 
23d3c3
 install(TARGETS abrt-action-analyze-java DESTINATION ${BIN_INSTALL_DIR})
23d3c3
+
23d3c3
+install(FILES abrt-action-analyze-java.1 DESTINATION ${MAN_INSTALL_DIR}/man1)
23d3c3
diff --git a/utils/abrt-action-analyze-java.1 b/utils/abrt-action-analyze-java.1
23d3c3
new file mode 100644
23d3c3
index 0000000..eda4d6a
23d3c3
--- /dev/null
23d3c3
+++ b/utils/abrt-action-analyze-java.1
23d3c3
@@ -0,0 +1,81 @@
23d3c3
+'\" t
23d3c3
+.\"     Title: abrt-action-analyze-java
23d3c3
+.\"    Author: [see the "AUTHORS" section]
23d3c3
+.\"      Date: 01/19/2014
23d3c3
+.\"    Manual: ABRT Manual
23d3c3
+.\"  Language: English
23d3c3
+.\"
23d3c3
+.TH "ABRT\-ACTION\-ANALYZ" "1" "01/19/2014" "abrt-java-connector" "ABRT Manual"
23d3c3
+.\" -----------------------------------------------------------------
23d3c3
+.\" * Define some portability stuff
23d3c3
+.\" -----------------------------------------------------------------
23d3c3
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23d3c3
+.\" http://bugs.debian.org/507673
23d3c3
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
23d3c3
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23d3c3
+.ie \n(.g .ds Aq \(aq
23d3c3
+.el       .ds Aq '
23d3c3
+.\" -----------------------------------------------------------------
23d3c3
+.\" * set default formatting
23d3c3
+.\" -----------------------------------------------------------------
23d3c3
+.\" disable hyphenation
23d3c3
+.nh
23d3c3
+.\" disable justification (adjust text to left margin only)
23d3c3
+.ad l
23d3c3
+.\" -----------------------------------------------------------------
23d3c3
+.\" * MAIN CONTENT STARTS HERE *
23d3c3
+.\" -----------------------------------------------------------------
23d3c3
+.SH "NAME"
23d3c3
+abrt-action-analyze-java \- Calculate and save UUID & DUPHASH and determine the level of usability for reporting of a Java stack trace\&.
23d3c3
+.SH "SYNOPSIS"
23d3c3
+.sp
23d3c3
+\fIabrt\-action\-analyze\-java\fR [\-v] [\-d DIR] [\-o] [\-f FILE]
23d3c3
+.SH "DESCRIPTION"
23d3c3
+.sp
23d3c3
+The tool reads the file named \fIbacktrace\fR from a problem data directory, processes it and generates a universally unique identifier (UUID)\&. Then it saves this data as new element \fIuuid\fR\&. It also checks whether the stack trace contains a remote address in any of its frames and if so it creates \fInot-reportable\fR element whose contents explains why the stack trace should not be reported into a bug tracking system\&.
23d3c3
+.SS "Integration with ABRT events"
23d3c3
+.sp
23d3c3
+\fIabrt\-action\-analyze\-java\fR can be used to generate the UUID & DUPHAS of a newly saved Java stack trace\&.
23d3c3
+.sp
23d3c3
+.if n \{\
23d3c3
+.RS 4
23d3c3
+.\}
23d3c3
+.nf
23d3c3
+EVENT=post\-create analyzer=Java   abrt\-action\-analyze\-java
23d3c3
+.fi
23d3c3
+.if n \{\
23d3c3
+.RE
23d3c3
+.\}
23d3c3
+.SH "OPTIONS"
23d3c3
+.PP
23d3c3
+\-d DIR
23d3c3
+.RS 4
23d3c3
+Path to a problem directory\&. The tool reads the backtrace from stdin when neither this option nor -f is provided\&.
23d3c3
+.RE
23d3c3
+.PP
23d3c3
+\-f FILE
23d3c3
+.RS 4
23d3c3
+Path to a stack trace\&. The tool reads the backtrace from stdin when neither this option nor -d is provided\&.
23d3c3
+.RE
23d3c3
+.PP
23d3c3
+\-o
23d3c3
+.RS 4
23d3c3
+Print the result to stdout\&.
23d3c3
+.RE
23d3c3
+.PP
23d3c3
+\-v
23d3c3
+.RS 4
23d3c3
+Be more verbose\&. Can be given multiple times\&.
23d3c3
+.RE
23d3c3
+.SH "AUTHORS"
23d3c3
+.sp
23d3c3
+.RS 4
23d3c3
+.ie n \{\
23d3c3
+\h'-04'\(bu\h'+03'\c
23d3c3
+.\}
23d3c3
+.el \{\
23d3c3
+.sp -1
23d3c3
+.IP \(bu 2.3
23d3c3
+.\}
23d3c3
+ABRT team
23d3c3
+.RE
23d3c3
-- 
23d3c3
1.8.3.1
23d3c3