From fc276159ff9377effdbb5cb05c2cc41994b958a5 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 17 Sep 2006 00:25:33 -0700 Subject: [PATCH] * Don't ask for more bugs if there is no maintainer (closes: #355190) * Stop refering to developers on the index page (closes: #355768) * Change control@ stop regex and documentation to match eachother (closes: #366093) --- cgi/pkgreport.cgi | 8 +++++--- debian/changelog | 4 ++++ html/index.html.in | 4 ++-- html/server-control.html.in | 20 ++++++++++++++------ scripts/service.in | 2 +- 5 files changed, 26 insertions(+), 12 deletions(-) diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index abc856b..cce3fbd 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -442,9 +442,11 @@ if (defined $pkg || defined $src) { $references[$#references] = "or $references[$#references]" if @references > 1; print "

You might like to refer ", join(", ", @references), ".

\n"; } - print "

If you find a bug not listed here, please\n"; - printf "report it.

\n", - urlsanit("http://${debbugs::gWebDomain}/Reporting${debbugs::gHTMLSuffix}"); + if (defined $maint || defined $maintenc) { + print "

If you find a bug not listed here, please\n"; + printf "report it.

\n", + urlsanit("http://${debbugs::gWebDomain}/Reporting${debbugs::gHTMLSuffix}"); + } } else { print "

There is no record of the " . (defined($pkg) ? htmlsanit($pkg) . " package" diff --git a/debian/changelog b/debian/changelog index f4828bf..801316b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -128,6 +128,10 @@ debbugs (2.4.2) UNRELEASED; urgency=low - Don't display duplicate bugs (closes: #348116) - Display links to archived bugs for all searches (closes: #53710) - Link to blocked bugs in the bugreport.cgi output (closes: #326077) + - Don't ask for more bugs if there is no maintainer (closes: #355190) + - Stop refering to developers on the index page (closes: #355768) + - Change control@ stop regex and documentation to match eachother + (closes: #366093) -- Colin Watson Fri, 20 Jun 2003 18:57:25 +0100 diff --git a/html/index.html.in b/html/index.html.in index e09d8cf..5c87451 100644 --- a/html/index.html.in +++ b/html/index.html.in @@ -25,8 +25,8 @@ $gHTMLCopies

diff --git a/html/server-control.html.in b/html/server-control.html.in index e570f4a..8120307 100644 --- a/html/server-control.html.in +++ b/html/server-control.html.in @@ -340,12 +340,20 @@ mailservers is available via the WWW, in
quit
stop -
thank... -
--... - -
Tells the control server to stop processing the message; the remainder - of the message can include explanations, signatures or anything else, - none of it will be detected by the control server. +
thank +
thanks +
thankyou +
thank you +
-- + + + + +
On a line by itself, in any case, possibly followed by + whitespace, tells the control server to stop processing the + message; the remainder of the message can include explanations, + signatures or anything else, none of it will be detected by the + control server. diff --git a/scripts/service.in b/scripts/service.in index d7f58ba..a37b5ba 100755 --- a/scripts/service.in +++ b/scripts/service.in @@ -168,7 +168,7 @@ for ($procline=0; $procline<=$#bodylines; $procline++) { &transcript("> $_\n"); next if m/^\s*\#/; $action= ''; - if (m/^stop/i || m/^quit/i || m/^--/ || m/^thank/i || m/^kthxbye/i) { + if (m/^stop\s*$/i || m/^quit\s*$/i || m/^--\s*$/ || m/^thank(?:s|\s*you)?\s*$/i || m/^kthxbye\s*$/i) { &transcript("Stopping processing here.\n\n"); last; } elsif (m/^debug\s+(\d+)$/i && $1 >= 0 && $1 <= 1000) { -- 2.39.2