From 8e47c536c2fd3c52f6af702900620ed70baeb2bc Mon Sep 17 00:00:00 2001 From: Steve Price Date: Wed, 24 May 2000 14:40:25 +0000 Subject: [PATCH] Don't allow people to create new PRs with a 'wish' class. Requested by: Sheldon Hearn --- gnu/usr.bin/send-pr/send-pr-el.in | 2 +- 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 280bff5ea4ec..15b18dcca02f 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 c4726244da32..896308d99465 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='' 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='' ENVIRONMENT_C='' DESCRIPTION_C='' @@ -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