diff options
author | steve <steve@FreeBSD.org> | 2000-05-24 14:40:25 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-05-24 14:40:25 +0000 |
commit | 0101aac2fa3cb2ad802bb9576895f592a379c200 (patch) | |
tree | 0f7509584069c258789d4755902695cce28d654c | |
parent | 6696467650d49ec51252f922278b9df904c4e8bf (diff) | |
download | FreeBSD-src-0101aac2fa3cb2ad802bb9576895f592a379c200.zip FreeBSD-src-0101aac2fa3cb2ad802bb9576895f592a379c200.tar.gz |
Don't allow people to create new PRs with a 'wish' class.
Requested by: Sheldon Hearn <sheldonh@uunet.co.za>
-rw-r--r-- | gnu/usr.bin/send-pr/send-pr-el.in | 2 | ||||
-rw-r--r-- | gnu/usr.bin/send-pr/send-pr.sh | 4 |
2 files changed, 3 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 280bff5..15b18dc 100644 --- a/gnu/usr.bin/send-pr/send-pr-el.in +++ b/gnu/usr.bin/send-pr/send-pr-el.in @@ -129,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") ("wish")) + ("Class" (("sw-bug") ("doc-bug") ("change-request")) (, (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 c472624..896308d 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 | wish ] (one line)>' +CLASS_C='<[ sw-bug | doc-bug | change-request ] (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|wish) CNT=`expr $CNT + 1` ;; + ""|sw-bug|doc-bug|change-request) CNT=`expr $CNT + 1` ;; *) echo "$COMMAND: \`$CLASS' is not a valid value for \`Class'." esac |