Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
1d2fe9a2
Commit
1d2fe9a2
authored
Oct 24, 2006
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More tweaking; make sure the message indicates whoe made the comment.
parent
d9630fde
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
bugdb/bugdbgateway.in
bugdb/bugdbgateway.in
+6
-5
No files found.
bugdb/bugdbgateway.in
View file @
1d2fe9a2
...
...
@@ -63,7 +63,7 @@ sub fatal($$);
sub
CheckFlysprayUser
($$);
sub
CheckFlysprayTaskID
($);
sub
AddFlysprayComment
($$$);
sub
FlysprayNotify
($$$);
sub
FlysprayNotify
($$$
$
);
#
# Parse command arguments. Once we return from getopts, all that should be
...
...
@@ -174,7 +174,7 @@ fatal($EX_SOFTWARE, "Could not add comment to task $fsid")
if
(
AddFlysprayComment
(
$fsid
,
$userid
,
$comment
)
!=
0
);
# No errors reported since comment as been added.
FlysprayNotify
(
$fsid
,
$userid
,
$comment
);
FlysprayNotify
(
$fsid
,
$user
,
$user
id
,
$comment
);
exit
(
0
);
...
...
@@ -234,9 +234,9 @@ sub AddFlysprayComment($$$)
#
# And send out the notification.
#
sub
FlysprayNotify
($$$)
sub
FlysprayNotify
($$$
$
)
{
my
(
$fsid
,
$userid
,
$comment
)
=
@_
;
my
(
$fsid
,
$user
,
$user
id
,
$comment
)
=
@_
;
my
$assigned_to
;
my
@email_addresses
=
();
...
...
@@ -294,7 +294,8 @@ sub FlysprayNotify($$$)
}
SENDMAIL
(
undef
,
"
$project
FS#
${fsid}
comment added
",
$comment
,
$FLYEMAIL
,
"
***
$project
FS#
${fsid}
comment added by
$user
\n\n
$comment
",
$FLYEMAIL
,
"
Bcc:
"
.
join
("
,
",
@email_addresses
));
}
...
...
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