summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-04-18 15:03:34 +0000
committersteve <steve@FreeBSD.org>2000-04-18 15:03:34 +0000
commit343196d29d5df7e5385c67a7ddf0f45e924f4ca2 (patch)
treed57c2ffba646f9b799cc6b8a13a2818fa4b00e99
parenta96cbf974ec5f1762b39262fff534b82188e6d89 (diff)
downloadFreeBSD-src-343196d29d5df7e5385c67a7ddf0f45e924f4ca2.zip
FreeBSD-src-343196d29d5df7e5385c67a7ddf0f45e924f4ca2.tar.gz
Add a new wishlist category.
-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 649dfd5..280bff5 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 1f4b409..107a49b 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
OpenPOWER on IntegriCloud