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
01dde409
Commit
01dde409
authored
Oct 12, 1999
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stop reporting "area"; don't report voters on the CC line.
parent
7d2c06b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
processmail
processmail
+13
-7
No files found.
processmail
View file @
01dde409
...
...
@@ -148,7 +148,7 @@ sub GetBugText {
my
@collist
=
(
"bug_id"
,
"product"
,
"version"
,
"rep_platform"
,
"op_sys"
,
"bug_status"
,
"resolution"
,
"priority"
,
"bug_severity"
,
"a
rea"
,
"a
ssigned_to"
,
"reporter"
,
"bug_file_loc"
,
"assigned_to"
,
"reporter"
,
"bug_file_loc"
,
"short_desc"
,
"component"
,
"qa_contact"
,
"target_milestone"
,
"status_whiteboard"
,
"groupset"
);
...
...
@@ -190,11 +190,14 @@ sub GetBugText {
my
@cclist
;
@cclist
=
split
(
/,/
,
ShowCcList
(
$id
));
my
@voterlist
;
SendSQL
(
"select profiles.login_name from votes, profiles where votes.bug_id = $id and profiles.userid = votes.who"
);
while
(
MoreSQLData
())
{
push
(
@cclist
,
FetchOneColumn
());
my
$v
=
FetchOneColumn
();
push
(
@voterlist
,
$v
);
}
$::bug
{
'cclist'
}
=
\
@cclist
;
$::bug
{
'cclist'
}
=
join
(
','
,
@cclist
);
$::bug
{
'voterlist'
}
=
join
(
','
,
@voterlist
);
return
"Bug\#: $id
...
...
@@ -207,11 +210,10 @@ Resolution: $::bug{'resolution'}
Severity: $::bug{'bug_severity'}
Priority: $::bug{'priority'}
Component: $::bug{'component'}
Area: $::bug{'area'}
AssignedTo: $::bug{'assigned_to'}
ReportedBy: $::bug{'reporter'}
$qa_contact$target_milestone${status_whiteboard}URL: $::bug{'bug_file_loc'}
"
.
DescCC
(
$::bug
{
'cclist'
}
)
.
"Summary: $::bug{'short_desc'}
"
.
DescCC
(
\
@cclist
)
.
"Summary: $::bug{'short_desc'}
"
.
DescDependencies
(
$id
)
.
"
$::bug{'long_desc'}
"
;
...
...
@@ -225,7 +227,7 @@ sub fixaddresses {
my
(
$field
,
$list
)
=
(
@_
);
my
@result
;
foreach
my
$i
(
@$list
)
{
if
(
$i
eq
""
)
{
if
(
!
defined
$i
||
$i
eq
""
)
{
next
;
}
SendSQL
(
"select emailnotification, groupset & $::bug{'groupset'} from profiles where login_name = "
.
...
...
@@ -288,7 +290,11 @@ sub ProcessOneBug {
my
$tolist
=
fixaddresses
(
"to"
,
[
$::bug
{
'assigned_to'
},
$::bug
{
'reporter'
},
$::bug
{
'qa_contact'
}]);
my
$cclist
=
fixaddresses
(
"cc"
,
$::bug
{
'cclist'
});
my
@combinedcc
;
foreach
my
$v
(
split
(
/,/
,
"$::bug{'cclist'},$::bug{'voterlist'}"
))
{
push
@combinedcc
,
$v
;
}
my
$cclist
=
fixaddresses
(
"cc"
,
\
@combinedcc
);
my
$logstr
=
"Bug $i $verb"
;
if
(
$tolist
ne
""
||
$cclist
ne
""
)
{
my
%
substs
;
...
...
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