From fa99586d3a144ccf3d8079df7803df17c689b335 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 29 Oct 2000 22:11:39 +0000 Subject: Add two new classes of problem reports primarily for the Ports Collection: - update: For submitting non-maintainer updates/changes - maintainer-update: For submitting maintainer updates/changes The intent is to make it easier to spot maintainer sactioned or submitted updates to ports though it might also be useful for userland code that is maintained by someone that is not a FreeBSD committer. Submitted by: nbm and many others --- 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(-) (limited to 'gnu') diff --git a/gnu/usr.bin/send-pr/send-pr-el.in b/gnu/usr.bin/send-pr/send-pr-el.in index b32e06fc7fe4..8195ecbd0dd4 100644 --- a/gnu/usr.bin/send-pr/send-pr-el.in +++ b/gnu/usr.bin/send-pr/send-pr-el.in @@ -156,7 +156,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") ("update") ("maintainer-update")) (, (or (gnats::get-config "DEFAULT_CLASS") 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 333f86a6e99a..e15efe7c5260 100644 --- a/gnu/usr.bin/send-pr/send-pr.sh +++ b/gnu/usr.bin/send-pr/send-pr.sh @@ -230,7 +230,7 @@ if [ -z "$SEVERITY_C" ]; then fi PRIORITY_C='<[ low | medium | high ] (one line)>' CATEGORY_C='' -CLASS_C='<[ sw-bug | doc-bug | change-request ] (one line)>' +CLASS_C='<[ sw-bug | doc-bug | change-request | update | maintainer-update ] (one line)>' RELEASE_C='' ENVIRONMENT_C='' DESCRIPTION_C='' @@ -426,7 +426,7 @@ while true; 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|update|maintainer-update) CNT=`expr $CNT + 1` ;; *) echo "$COMMAND: \`$CLASS' is not a valid value for \`Class'." esac # -- cgit v1.3