aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/send-pr
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-04-18 15:03:34 +0000
committerSteve Price <steve@FreeBSD.org>2000-04-18 15:03:34 +0000
commitc38a7d5ebf391a0248b1bc8bc4592cdc34b91607 (patch)
tree971d009c4ce4baa3ee66cba7ac8c5dac5ddaff02 /gnu/usr.bin/send-pr
parent650d90d2b849615e125d4d1e1c6bec25657bb5f3 (diff)
downloadsrc-c38a7d5ebf391a0248b1bc8bc4592cdc34b91607.tar.gz
src-c38a7d5ebf391a0248b1bc8bc4592cdc34b91607.zip
Add a new wishlist category.
Notes
Notes: svn path=/head/; revision=59366
Diffstat (limited to 'gnu/usr.bin/send-pr')
-rw-r--r--gnu/usr.bin/send-pr/send-pr-el.in4
-rw-r--r--gnu/usr.bin/send-pr/send-pr.sh4
2 files changed, 5 insertions, 3 deletions
diff --git a/gnu/usr.bin/send-pr/send-pr-el.in b/gnu/usr.bin/send-pr/send-pr-el.in
index 649dfd507be2..280bff5ea4ec 100644
--- a/gnu/usr.bin/send-pr/send-pr-el.in
+++ b/gnu/usr.bin/send-pr/send-pr-el.in
@@ -39,6 +39,8 @@
;;;; Install this file in your EMACS library directory.
;;;;
;;;;---------------------------------------------------------------------------
+;;;;
+;;;; $FreeBSD$
(provide 'send-pr)
@@ -127,7 +129,7 @@ at runtime.")
(defconst send-pr::fields
(` (("Category" send-pr::set-categories
(, (or (gnats::get-config "DEFAULT_CATEGORY") nil)) enum)
- ("Class" (("sw-bug") ("doc-bug") ("change-request"))
+ ("Class" (("sw-bug") ("doc-bug") ("change-request") ("wish"))
(, (or (gnats::get-config "DEFAULT_CONFIDENTIAL") 0)) enum)
("Confidential" (("yes") ("no"))
(, (or (gnats::get-config "DEFAULT_CONFIDENTIAL") 1)) enum)
diff --git a/gnu/usr.bin/send-pr/send-pr.sh b/gnu/usr.bin/send-pr/send-pr.sh
index 1f4b40919cb5..107a49bb2900 100644
--- a/gnu/usr.bin/send-pr/send-pr.sh
+++ b/gnu/usr.bin/send-pr/send-pr.sh
@@ -240,7 +240,7 @@ CONFIDENTIAL_C='<[ yes | no ] (one line)>'
SYNOPSIS_C='<Synopsis of the problem (one line)>'
SEVERITY_C='<[ non-critical | serious | critical ] (one line)>'
PRIORITY_C='<[ low | medium | high ] (one line)>'
-CLASS_C='<[ sw-bug | doc-bug | change-request ] (one line)>'
+CLASS_C='<[ sw-bug | doc-bug | change-request | wish ] (one line)>'
RELEASE_C='<Release number or tag (one line)>'
ENVIRONMENT_C='<Relevant environment information (multiple lines)>'
DESCRIPTION_C='<Precise description of the problem (multiple lines)>'
@@ -450,7 +450,7 @@ while [ -z "$REQUEST_ID" ]; do
PATTERN=">Class:"
CLASS=`eval sed -n -e "\"/$PATTERN/$SED_CMD\"" $TEMP`
case "$CLASS" in
- ""|sw-bug|doc-bug|change-request) CNT=`expr $CNT + 1` ;;
+ ""|sw-bug|doc-bug|change-request|wish) CNT=`expr $CNT + 1` ;;
*) echo "$COMMAND: \`$CLASS' is not a valid value for \`Class'."
esac