Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
ae76aeb8
Commit
ae76aeb8
authored
Jan 14, 2000
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Send one last email notification to people when a bug gets reassigned
away from them or they get removed from the CC list.
parent
000687a8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
6 deletions
+19
-6
process_bug.cgi
process_bug.cgi
+4
-1
processmail
processmail
+15
-5
No files found.
process_bug.cgi
View file @
ae76aeb8
...
...
@@ -678,6 +678,9 @@ The changes made were:
if
(
$col
eq
'assigned_to'
||
$col
eq
'qa_contact'
)
{
$old
=
DBID_to_name
(
$old
)
if
$old
!=
0
;
$new
=
DBID_to_name
(
$new
)
if
$new
!=
0
;
$origcclist
.=
",$old"
;
# make sure to send mail to people
# if they are going to no longer get
# updates about this bug.
}
if
(
$col
eq
'product'
)
{
RemoveVotes
(
$id
,
...
...
@@ -694,7 +697,7 @@ The changes made were:
print
"<TABLE BORDER=1><TD><H2>Changes to bug $id submitted</H2>\n"
;
SendSQL
(
"unlock tables"
);
system
(
"./processmail
$id $::FORM{'who'}"
);
system
(
"./processmail
"
,
"-forcecc"
,
$origcclist
,
$id
,
$::FORM
{
'who'
}
);
print
"<TD><A HREF=\"show_bug.cgi?id=$id\">Back To BUG# $id</A></TABLE>\n"
;
foreach
my
$k
(
keys
(
%
dependencychanged
))
{
...
...
processmail
View file @
ae76aeb8
...
...
@@ -36,6 +36,8 @@ $::lockcount = 0;
my
$regenerate
=
0
;
my
$nametoexclude
=
""
;
my
@forcecc
;
sub
Lock
{
if
(
$::lockcount
<=
0
)
{
$::lockcount
=
0
;
...
...
@@ -305,6 +307,7 @@ sub ProcessOneBug {
foreach
my
$v
(
split
(
/,/
,
"$::bug{'cclist'},$::bug{'voterlist'}"
))
{
push
@combinedcc
,
$v
;
}
push
(
@combinedcc
,
(
@forcecc
));
my
$cclist
=
fixaddresses
(
"cc"
,
\
@combinedcc
);
my
$logstr
=
"Bug $i $verb"
;
if
(
$tolist
ne
""
||
$cclist
ne
""
)
{
...
...
@@ -360,11 +363,6 @@ if (open(FID, "<data/nomail")) {
close
FID
;
}
if
((
$#ARGV
<
0
)
||
(
$#ARGV
>
1
))
{
print
"Usage error: processmail {bugid} {nametoexclude}\nOr: processmail regenerate\n"
;
exit
;
}
# To recreate the shadow database, run "processmail regenerate" .
if
(
$ARGV
[
0
]
eq
"regenerate"
)
{
$regenerate
=
1
;
...
...
@@ -383,6 +381,18 @@ if ($ARGV[0] eq "regenerate") {
exit
;
}
if
(
$ARGV
[
0
]
eq
"-forcecc"
)
{
shift
(
@ARGV
);
foreach
my
$i
(
split
(
/,/
,
shift
(
@ARGV
)))
{
push
(
@forcecc
,
trim
(
$i
));
}
}
if
((
$#ARGV
<
0
)
||
(
$#ARGV
>
1
))
{
print
"Usage error: processmail {bugid} {nametoexclude}\nOr: processmail regenerate\n"
;
exit
;
}
if
(
$#ARGV
==
1
)
{
$nametoexclude
=
lc
(
$ARGV
[
1
]);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment