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

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