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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
d920d3dd
Commit
d920d3dd
authored
Jan 28, 1999
by
terry%netscape.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include the new fields in email notifications.
parent
30651175
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
processmail
processmail
+21
-4
No files found.
processmail
View file @
d920d3dd
...
...
@@ -110,7 +110,8 @@ sub GetBugText {
my
@collist
=
(
"bug_id"
,
"product"
,
"version"
,
"rep_platform"
,
"op_sys"
,
"bug_status"
,
"resolution"
,
"priority"
,
"bug_severity"
,
"area"
,
"assigned_to"
,
"reporter"
,
"bug_file_loc"
,
"short_desc"
,
"component"
);
"short_desc"
,
"component"
,
"qa_contact"
,
"target_milestone"
,
"status_whiteboard"
);
my
$query
=
"select "
.
join
(
", "
,
@collist
)
.
" from bugs where bug_id = $id"
;
...
...
@@ -130,6 +131,21 @@ sub GetBugText {
$::bug
{
'assigned_to'
}
=
DBID_to_name
(
$::bug
{
'assigned_to'
});
$::bug
{
'reporter'
}
=
DBID_to_name
(
$::bug
{
'reporter'
});
my
$qa_contact
=
""
;
my
$target_milestone
=
""
;
my
$status_whiteboard
=
""
;
if
(
Param
(
'useqacontact'
)
&&
$::bug
{
'qa_contact'
}
>
0
)
{
$::bug
{
'qa_contact'
}
=
DBID_to_name
(
$::bug
{
'qa_contact'
});
$qa_contact
=
"QAContact: $::bug{'qa_contact'}\n"
;
}
else
{
$::bug
{
'qa_contact'
}
=
""
;
}
if
(
Param
(
'usetargetmilestone'
)
&&
$::bug
{
'target_milestone'
}
ne
""
)
{
$target_milestone
=
"TargetMilestone: $::bug{'target_milestone'}\n"
;
}
if
(
Param
(
'usestatuswhiteboard'
)
&&
$::bug
{
'status_whiteboard'
}
ne
""
)
{
$status_whiteboard
=
"StatusWhiteboard: $::bug{'status_whiteboard'}\n"
;
}
$::bug
{
'long_desc'
}
=
GetLongDescription
(
$id
);
...
...
@@ -151,7 +167,7 @@ Component: $::bug{'component'}
Area: $::bug{'area'}
AssignedTo: $::bug{'assigned_to'}
ReportedBy: $::bug{'reporter'}
URL: $::bug{'bug_file_loc'}
$qa_contact$target_milestone${status_whiteboard}
URL: $::bug{'bug_file_loc'}
"
.
DescCC
(
$::bug
{
'cclist'
})
.
"Summary: $::bug{'short_desc'}
$::bug{'long_desc'}
...
...
@@ -166,7 +182,7 @@ sub fixaddresses {
my
@result
;
my
%
seen
;
foreach
my
$i
(
@$list
)
{
if
(
!
defined
$::nomail
{
$i
}
&&
!
defined
$seen
{
$i
})
{
if
(
$i
ne
""
&&
!
defined
$::nomail
{
$i
}
&&
!
defined
$seen
{
$i
})
{
push
@result
,
$i
;
$seen
{
$i
}
=
1
;
}
...
...
@@ -237,7 +253,8 @@ foreach my $i (@ARGV) {
close
FID
;
if
(
Different
(
$old
,
$new
))
{
system
(
"diff -c $old $new > $diffs"
);
my
$tolist
=
fixaddresses
([
$::bug
{
'assigned_to'
},
$::bug
{
'reporter'
}]);
my
$tolist
=
fixaddresses
([
$::bug
{
'assigned_to'
},
$::bug
{
'reporter'
},
$::bug
{
'qa_contact'
}]);
my
$cclist
=
fixaddresses
(
$::bug
{
'cclist'
});
my
$logstr
=
"Bug $i changed"
;
if
(
$tolist
ne
""
||
$cclist
ne
""
)
{
...
...
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