summaryrefslogtreecommitdiff
path: root/repa.1
diff options
context:
space:
mode:
authorEd Bartosh <eduard.bartosh@intel.com>2015-02-15 00:59:41 +0200
committerEd Bartosh <eduard.bartosh@intel.com>2015-02-19 15:07:49 +0200
commit779b04108ac6bf43b43c0a9f97b4927bbdd47c43 (patch)
tree1faff634bab70c150385bd3fb852958574bfa329 /repa.1
parent096cc22035ecb46f538d0ed2b3dc062ddd5abf3b (diff)
downloadrepa-779b04108ac6bf43b43c0a9f97b4927bbdd47c43.tar.gz
repa-779b04108ac6bf43b43c0a9f97b4927bbdd47c43.tar.bz2
repa-779b04108ac6bf43b43c0a9f97b4927bbdd47c43.zip
Implement --edit command line option
-e or --edit option is used in accept, reject, rebuild, lock, unlock and remove commands to edit a comment. Default comment is taken from accept_comment, reject_comment, rebuild_comment, lock_comment, unlock_comment or remove_comment configuration options. Fixes: #2420 Change-Id: I5979ebd246541b5c4ba56629ba97fd268b178d8d Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Diffstat (limited to 'repa.1')
-rw-r--r--repa.167
1 files changed, 65 insertions, 2 deletions
diff --git a/repa.1 b/repa.1
index 0ce6399..bbed6eb 100644
--- a/repa.1
+++ b/repa.1
@@ -255,6 +255,12 @@ Add acceptance comment for created SR.
Trigger Jenkins job to accept submission.
.RE
+.PP
+\-e \-\-edit
+.RS 2
+Run editor to edit comment. Editor is taken from EDITOR environment variable.
+.RE
+
.\"
.\" The "reject" command description
.\"
@@ -287,6 +293,12 @@ Add rejection comment for created SR.
Trigger Jenkins job to reject submission.
.RE
+.PP
+\-e \-\-edit
+.RS 2
+Run editor to edit comment. Editor is taken from EDITOR environment variable.
+.RE
+
.\"
.\" The "group" command description
.\"
@@ -422,6 +434,12 @@ Provide a comment with the explanation of a reason for rebuild. Mandatory option
Rebuild only one package.
.RE
+.PP
+\-e \-\-edit
+.RS 2
+Run editor to edit comment. Editor is taken from EDITOR environment variable.
+.RE
+
.\"
.\" The "lock" command description
.\"
@@ -447,6 +465,12 @@ Print short help text about the "lock" command and exit.
Provide a comment with the explanation of a reason for lock. Mandatory option.
.RE
+.PP
+\-e \-\-edit
+.RS 2
+Run editor to edit comment. Editor is taken from EDITOR environment variable.
+.RE
+
.\"
.\" The "unlock" command description
.\"
@@ -472,6 +496,11 @@ Print short help text about the "unlock" command and exit.
Provide a comment with the explanation of a reason for unlock.
.RE
+.PP
+\-e \-\-edit
+.RS 2
+Run editor to edit comment. Editor is taken from EDITOR environment variable.
+.RE
.\"
.\" The "remove" command description
@@ -498,6 +527,12 @@ Print short help text about the "remove" command and exit.
Provide a comment with the explanation of a reason for remove. This is mandatory option.
.RE
+.PP
+\-e \-\-edit
+.RS 2
+Run editor to edit comment. Editor is taken from EDITOR environment variable.
+.RE
+
.SH CONFIGURATION FILE
@@ -554,8 +589,36 @@ noaggregate = mic-bootstrap-x86-arm.rpm|mic-bootstrap.rpm|mic-bootstrap-debugsou
.RS 2
showtime = off
.RE
-
-
+.RS 2
+accept_comment = default comment
+ for accept
+ command
+.RE
+.RS 2
+reject_comment = default comment
+ for reject
+ command
+.RE
+.RS 2
+rebuild_comment = default comment
+ for rebuild
+ command
+.RE
+.RS 2
+lock_comment = default comment
+ for lock
+ command
+.RE
+.RS 2
+unlock_comment = default comment
+ for unlock
+ command
+.RE
+.RS 2
+remove_comment = default comment
+ for remove
+ command
+.RE
.RS 2
Mandatory options: apiurl, apiuser, apipasswd, jenkins_url, jenkins_user, jenkins_passwd and project