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
124ab7cd
Commit
124ab7cd
authored
Oct 17, 2006
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 192451: Checksetup should prioritize missing module whines
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=myk
parent
beb7bbd5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
23 deletions
+17
-23
DB.pm
Bugzilla/DB.pm
+1
-1
Requirements.pm
Bugzilla/Install/Requirements.pm
+0
-0
checksetup.pl
checksetup.pl
+2
-0
makedocs.pl
docs/makedocs.pl
+6
-14
installation.xml
docs/xml/installation.xml
+8
-8
No files found.
Bugzilla/DB.pm
View file @
124ab7cd
...
...
@@ -135,7 +135,7 @@ sub bz_check_requirements {
my
$dbd_ver
=
$db
->
{
dbd_version
};
my
$sql_server
=
$db
->
{
name
};
my
$sql_want
=
$db
->
{
db_version
};
unless
(
have_vers
(
$dbd
,
$dbd_ver
,
$output
))
{
unless
(
have_vers
(
{
module
=>
$dbd
,
version
=>
$dbd_ver
}
,
$output
))
{
my
$command
=
install_command
(
$dbd
);
my
$root
=
ROOT_USER
;
my
$version
=
$dbd_ver
?
" $dbd_ver or higher"
:
''
;
...
...
Bugzilla/Install/Requirements.pm
View file @
124ab7cd
This diff is collapsed.
Click to expand it.
checksetup.pl
View file @
124ab7cd
...
...
@@ -96,6 +96,8 @@ my $silent = scalar(keys %answer) && !$switch{'verbose'};
display_version_and_os
()
unless
$silent
;
# Check required --MODULES--
my
$module_results
=
check_requirements
(
!
$silent
);
Bugzilla::Install::Requirements::
print_module_instructions
(
$module_results
,
!
$silent
);
exit
if
!
$module_results
->
{
pass
};
# Break out if checking the modules is all we have been asked to do.
exit
if
$switch
{
'check-modules'
};
...
...
docs/makedocs.pl
View file @
124ab7cd
...
...
@@ -48,7 +48,7 @@ if (eval { require Pod::Simple }) {
};
use
Bugzilla::Install::
Requirements
qw(REQUIRED_MODULES OPTIONAL_MODULES
MOD_PERL_MODULES
)
;
qw(REQUIRED_MODULES OPTIONAL_MODULES)
;
use
Bugzilla::
Constants
qw(DB_MODULE BUGZILLA_VERSION)
;
###############################################################################
...
...
@@ -57,14 +57,13 @@ use Bugzilla::Constants qw(DB_MODULE BUGZILLA_VERSION);
my
$modules
=
REQUIRED_MODULES
;
my
$opt_modules
=
OPTIONAL_MODULES
;
my
$mod_perl_modules
=
MOD_PERL_MODULES
;
open
(
ENTITIES
,
'>'
,
'xml/bugzilla.ent'
)
or
die
(
'Could not open xml/bugzilla.ent: '
.
$!
);
print
ENTITIES
'<?xml version="1.0"?>'
.
"\n\n"
;
print
ENTITIES
'<!-- Module Versions -->'
.
"\n"
;
foreach
my
$module
(
@$modules
,
@$opt_modules
)
{
my
$name
=
$module
->
{
'
nam
e'
};
my
$name
=
$module
->
{
'
modul
e'
};
$name
=~
s/::/-/g
;
$name
=
lc
(
$name
);
#This needs to be a string comparison, due to the modules having
...
...
@@ -73,17 +72,10 @@ foreach my $module (@$modules, @$opt_modules)
print
ENTITIES
'<!ENTITY min-'
.
$name
.
'-ver "'
.
$version
.
'">'
.
"\n"
;
}
print
ENTITIES
"\n <!-- mod_perl Versions --> \n"
;
foreach
my
$module
(
@$mod_perl_modules
)
{
my
$name
=
$module
->
{
'name'
};
$name
=~
s/::/-/g
;
$name
=
lc
(
$name
);
#This needs to be a string comparison, due to the modules having
#version numbers like 0.9.4
my
$version
=
$module
->
{
'version'
}
eq
0
?
'any'
:
$module
->
{
'version'
};
print
ENTITIES
'<!ENTITY min-mp-'
.
$name
.
'-ver "'
.
$version
.
'">'
.
"\n"
;
}
# CGI is a special case, because it has an optional version *and* a required
# version.
my
(
$cgi_opt
)
=
grep
(
$_
->
{
package
}
eq
'CGI'
,
@$opt_modules
);
print
ENTITIES
'<!ENTITY min-mp-cgi-ver "'
.
$cgi_opt
->
{
version
}
.
'">'
.
"\n"
;
print
ENTITIES
"\n <!-- Database Versions --> \n"
;
...
...
docs/xml/installation.xml
View file @
124ab7cd
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> -->
<!-- $Id: installation.xml,v 1.13
0 2006/10/08 18:41:45 mozilla%colinogilvie.co.uk
Exp $ -->
<!-- $Id: installation.xml,v 1.13
1 2006/10/17 05:58:41 mkanat%bugzilla.org
Exp $ -->
<chapter
id=
"installing-bugzilla"
>
<title>
Installing Bugzilla
</title>
...
...
@@ -373,8 +373,8 @@
<listitem>
<para>
<link
linkend=
"install-modules-gd-text
-align"
>
GD::Text::Align
</link>
(
&min-gd-text-
align-
ver;
) for bug charting
<link
linkend=
"install-modules-gd-text
"
>
GD::Text
</link>
(
&min-gd-text-ver;
) for bug charting
</para>
</listitem>
...
...
@@ -477,10 +477,10 @@
</para>
</section>
<section
id=
"install-modules-gd-text
-align
"
>
<title>
GD::Text
::Align (
&min-gd-text-align
-ver;
)
</title>
<section
id=
"install-modules-gd-text"
>
<title>
GD::Text
(
&min-gd-text
-ver;
)
</title>
<para>
The GD::Text
::Align
module is only required if you want graphical
<para>
The GD::Text module is only required if you want graphical
reports.
</para>
</section>
...
...
@@ -575,14 +575,14 @@
<para>
Bugzilla requires
<literal>
mod_perl
</literal>
to be installed, which can be
obtained from
<ulink
url=
"http://perl.apache.org"
/>
- Bugzilla requires
version
&min-m
p-m
od_perl2-ver;
(AKA 2.0.0-RC5) to be installed.
</para>
version
&min-mod_perl2-ver;
(AKA 2.0.0-RC5) to be installed.
</para>
<para>
Bugzilla also requires a more up-to-date version of the CGI
perl module to be installed, version
&min-mp-cgi-ver;
as opposed to
&min-cgi-ver;
</para>
<para>
Finally, Bugzilla also requires
<literal>
Apache::DBI
</literal>
(
&min-
mp-
apache-dbi-ver;
) to be installed as well.
</para>
(
&min-apache-dbi-ver;
) to be installed as well.
</para>
</section>
</section>
...
...
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