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
aba3f550
Commit
aba3f550
authored
May 29, 2012
by
Matt Selsky
Committed by
Frédéric Buclin
May 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 661479: Add a debug/trace option to bz_webservice_demo.pl
r/a=LpSolit
parent
038df43c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
bz_webservice_demo.pl
contrib/bz_webservice_demo.pl
+17
-1
No files found.
contrib/bz_webservice_demo.pl
View file @
aba3f550
...
...
@@ -45,6 +45,7 @@ my $add_comment;
my
$private
;
my
$work_time
;
my
$fetch_extension_info
=
0
;
my
$debug
;
GetOptions
(
'help|h|?'
=>
\
$help
,
'uri=s'
=>
\
$Bugzilla_uri
,
...
...
@@ -58,7 +59,8 @@ GetOptions('help|h|?' => \$help,
'comment:s'
=>
\
$add_comment
,
'private:i'
=>
\
$private
,
'worktime:f'
=>
\
$work_time
,
'extension_info'
=>
\
$fetch_extension_info
'extension_info'
=>
\
$fetch_extension_info
,
'debug'
=>
\
$debug
)
or
pod2usage
({
'-verbose'
=>
0
,
'-exitval'
=>
1
});
=head1 OPTIONS
...
...
@@ -130,6 +132,10 @@ An optional double precision number specifying the work time for B<--comment>.
If specified on the command line, the script returns the information about the
extensions that are installed.
=item --debug
Enable tracing at the debug level of XMLRPC requests and responses.
=back
=head1 DESCRIPTION
...
...
@@ -167,6 +173,16 @@ of C<http://your.bugzilla.installation/path/to/bugzilla/xmlrpc.cgi>.
my
$proxy
=
XMLRPC::
Lite
->
proxy
(
$Bugzilla_uri
,
'cookie_jar'
=>
$cookie_jar
);
=head2 Debugging
Enable tracing at the debug level of XMLRPC requests and responses if requested.
=cut
if
(
$debug
)
{
$proxy
->
import
(
+
trace
=>
'debug'
);
}
=head2 Checking Bugzilla's version
To make sure the Bugzilla you're connecting to supports the methods you wish to
...
...
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