summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-12-14 06:45:12 +0100
committermkanat%bugzilla.org <>2006-12-14 06:45:12 +0100
commita50aaa37ec837b5d753ad31250db36282953c0c7 (patch)
tree4f2be64777301396fc14174209d5b4ced466602e /Bugzilla/Constants.pm
parent5cafe3a31f3bc657f83478f8ddfc9b0b21c078ab (diff)
downloadbugzilla-a50aaa37ec837b5d753ad31250db36282953c0c7.tar.gz
bugzilla-a50aaa37ec837b5d753ad31250db36282953c0c7.tar.xz
Bug 360710: checksetup.pl needs to blacklist some non-working external modules
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm15
1 files changed, 13 insertions, 2 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index 1b774c64c..9e37f9f5c 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -359,10 +359,21 @@ use constant INSTALLATION_MODE_NON_INTERACTIVE => 1;
# Data about what we require for different databases.
use constant DB_MODULE => {
'mysql' => {db => 'Bugzilla::DB::Mysql', db_version => '4.1.2',
- dbd => 'DBD::mysql', dbd_version => '2.9003',
+ dbd => {
+ package => 'DBD-mysql',
+ module => 'DBD::mysql',
+ version => '2.9003',
+ # Certain versions are broken, development versions are
+ # always disallowed.
+ blacklist => ['^3\.000[3-6]', '_'],
+ },
name => 'MySQL'},
'pg' => {db => 'Bugzilla::DB::Pg', db_version => '8.00.0000',
- dbd => 'DBD::Pg', dbd_version => '1.45',
+ dbd => {
+ package => 'DBD-Pg',
+ module => 'DBD::Pg',
+ version => '1.45',
+ },
name => 'PostgreSQL'},
};