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
2f3b867f
Commit
2f3b867f
authored
Jul 28, 2016
by
Gervase Markham
Committed by
Dylan William Hardison
Jul 28, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1183647 - Optional Perl modules related to REST should now be mandatory
r=dylan,a=dylan
parent
df83e520
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
50 deletions
+19
-50
META.json
META.json
+7
-18
META.yml
META.yml
+6
-11
Makefile.PL
Makefile.PL
+5
-15
rest.cgi
rest.cgi
+1
-6
No files found.
META.json
View file @
2f3b867f
...
...
@@ -4,7 +4,7 @@
"Bugzilla Developers <developers@bugzilla.org>"
],
"dynamic_config"
:
1
,
"generated_by"
:
"ExtUtils::MakeMaker version 7.
04, CPAN::Meta::Converter version 2.150005
"
,
"generated_by"
:
"ExtUtils::MakeMaker version 7.
18, CPAN::Meta::Converter version 2.143240
"
,
"license"
:
[
"unknown"
],
...
...
@@ -55,7 +55,6 @@
"prereqs"
:
{
"runtime"
:
{
"requires"
:
{
"Moo"
:
"2"
,
"MooX::StrictConstructor"
:
"0.008"
,
"Type::Tiny"
:
"1"
}
...
...
@@ -270,20 +269,6 @@
}
}
},
"rest"
:
{
"description"
:
"REST Interface"
,
"prereqs"
:
{
"runtime"
:
{
"requires"
:
{
"HTTP::Request"
:
"0"
,
"HTTP::Response"
:
"0"
,
"Module::Runtime"
:
"0"
,
"Moo"
:
"2"
,
"Test::Taint"
:
"1.06"
}
}
}
},
"smtp_auth"
:
{
"description"
:
"SMTP Authentication"
,
"prereqs"
:
{
...
...
@@ -378,10 +363,15 @@
"Email::MIME"
:
"1.904"
,
"Email::Sender"
:
"1.300011"
,
"File::Slurp"
:
"9999.13"
,
"HTTP::Request"
:
"0"
,
"HTTP::Response"
:
"0"
,
"JSON::XS"
:
"2.01"
,
"List::MoreUtils"
:
"0.32"
,
"Math::Random::ISAAC"
:
"v1.0.1"
,
"Module::Runtime"
:
"0"
,
"Moo"
:
"2"
,
"Template"
:
"2.24"
,
"Test::Taint"
:
"1.06"
,
"URI"
:
"1.55"
,
"perl"
:
"5.014000"
}
...
...
@@ -397,6 +387,5 @@
}
},
"release_status"
:
"stable"
,
"version"
:
"v5.1.1+"
,
"x_serialization_backend"
:
"JSON::PP version 2.27203"
"version"
:
"v5.1.1+"
}
META.yml
View file @
2f3b867f
...
...
@@ -12,7 +12,7 @@ build_requires:
configure_requires
:
ExtUtils::MakeMaker
:
'
6.55'
dynamic_config
:
1
generated_by
:
'
ExtUtils::MakeMaker
version
7.
04,
CPAN::Meta::Converter
version
2.150005
'
generated_by
:
'
ExtUtils::MakeMaker
version
7.
18,
CPAN::Meta::Converter
version
2.143240
'
license
:
unknown
meta-spec
:
url
:
http://module-build.sourceforge.net/META-spec-v1.4.html
...
...
@@ -38,7 +38,6 @@ optional_features:
csp
:
description
:
'
Content-Security-Policy
support'
requires
:
Moo
:
'
2'
MooX::StrictConstructor
:
'
0.008'
Type::Tiny
:
'
1'
detect_charset
:
...
...
@@ -135,14 +134,6 @@ optional_features:
CGI::Compile
:
'
0'
CGI::Emulate::PSGI
:
'
0'
Plack
:
'
1.0031'
rest
:
description
:
'
REST
Interface'
requires
:
HTTP::Request
:
'
0'
HTTP::Response
:
'
0'
Module::Runtime
:
'
0'
Moo
:
'
2'
Test::Taint
:
'
1.06'
smtp_auth
:
description
:
'
SMTP
Authentication'
requires
:
...
...
@@ -187,11 +178,15 @@ requires:
Email::MIME
:
'
1.904'
Email::Sender
:
'
1.300011'
File::Slurp
:
'
9999.13'
HTTP::Request
:
'
0'
HTTP::Response
:
'
0'
JSON::XS
:
'
2.01'
List::MoreUtils
:
'
0.32'
Math::Random::ISAAC
:
v1.0.1
Module::Runtime
:
'
0'
Moo
:
'
2'
Template
:
'
2.24'
Test::Taint
:
'
1.06'
URI
:
'
1.55'
perl
:
'
5.014000'
version
:
v5.1.1+
x_serialization_backend
:
'
CPAN::Meta::YAML
version
0.016'
Makefile.PL
View file @
2f3b867f
...
...
@@ -56,10 +56,15 @@ my %requires = (
'Email::MIME'
=>
'1.904'
,
'Email::Sender'
=>
'1.300011'
,
'File::Slurp'
=>
'9999.13'
,
'HTTP::Request'
=>
0
,
'HTTP::Response'
=>
0
,
'JSON::XS'
=>
'2.01'
,
'List::MoreUtils'
=>
'0.32'
,
'Math::Random::ISAAC'
=>
'1.0.1'
,
'Moo'
=>
2
,
'Module::Runtime'
=>
0
,
'Template'
=>
'2.24'
,
'Test::Taint'
=>
'1.06'
,
'URI'
=>
'1.55'
,
);
my
%
build_requires
=
(
...
...
@@ -262,20 +267,6 @@ my %optional_features = (
description
=>
'Patch Viewer'
,
prereqs
=>
{
runtime
=>
{
requires
=>
{
PatchReader
=>
'0.9.6'
}
}
}
},
rest
=>
{
description
=>
'REST Interface'
,
prereqs
=>
{
runtime
=>
{
requires
=>
{
'Test::Taint'
=>
'1.06'
,
'HTTP::Request'
=>
0
,
'HTTP::Response'
=>
0
,
Moo
=>
2
,
'Module::Runtime'
=>
0
}
}
}
},
jobqueue
=>
{
description
=>
'Mail Queueing'
,
prereqs
=>
{
...
...
@@ -301,7 +292,6 @@ my %optional_features = (
prereqs
=>
{
runtime
=>
{
requires
=>
{
Moo
=>
2
,
'Type::Tiny'
=>
1
,
'MooX::StrictConstructor'
=>
0.008
,
}
...
...
rest.cgi
View file @
2f3b867f
...
...
@@ -14,11 +14,6 @@ use lib qw(. lib local/lib/perl5);
use
Bugzilla
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
BEGIN
{
if
(
!
Bugzilla
->
feature
(
'rest'
))
{
ThrowUserError
(
'feature_disabled'
,
{
feature
=>
'rest'
});
}
}
Bugzilla
->
usage_mode
(
USAGE_MODE_REST
);
Bugzilla
->
api_server
->
handle
();
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