mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Don't allow people to create new PRs with a 'wish' class.
Requested by: Sheldon Hearn <sheldonh@uunet.co.za>
This commit is contained in:
parent
9f85bc03de
commit
8e47c536c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60882
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user