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
115627db
Commit
115627db
authored
Jan 29, 1999
by
terry%netscape.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move CC and qa-assigned-to info from Bugsplat bugs to Bugzilla.
parent
a61bbc83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
backdoor.cgi
backdoor.cgi
+14
-1
No files found.
backdoor.cgi
View file @
115627db
...
...
@@ -122,12 +122,18 @@ $::FORM{'reporter'} =
DBNameToIdAndCheck
(
"$::FORM{'reporter'}\@netscape.com"
,
1
);
$::FORM
{
'assigned_to'
}
=
DBNameToIdAndCheck
(
"$::FORM{'assigned_to'}\@netscape.com"
,
1
);
if
(
$::FORM
{
'qa_contact'
}
ne
""
)
{
$::FORM
{
'qa_contact'
}
=
DBNameToIdAndCheck
(
"$::FORM{'qa_contact'}\@netscape.com"
,
1
);
}
else
{
$::FORM
{
'qa_contact'
}
=
0
;
}
my
@list
=
(
'reporter'
,
'assigned_to'
,
'product'
,
'version'
,
'rep_platform'
,
'op_sys'
,
'bug_status'
,
'bug_severity'
,
'priority'
,
'component'
,
'short_desc'
,
'long_desc'
,
'creation_ts'
,
'delta_ts'
,
'bug_file_loc'
);
'bug_file_loc'
,
'qa_contact'
);
my
@vallist
;
foreach
my
$i
(
@list
)
{
...
...
@@ -146,5 +152,12 @@ SendSQL($query);
SendSQL
(
"select LAST_INSERT_ID()"
);
my
$zillaid
=
FetchOneColumn
();
foreach
my
$cc
(
split
(
/,/
,
$::FORM
{
'cc'
}))
{
if
(
$cc
ne
""
)
{
my
$cid
=
DBNameToIdAndCheck
(
"$cc\@netscape.com"
,
1
);
SendSQL
(
"insert into cc (bug_id, who) values ($zillaid, $cid)"
);
}
}
print
"Created bugzilla bug $zillaid\n"
;
system
(
"./processmail $zillaid < /dev/null > /dev/null 2> /dev/null &"
);
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