Closed
Bug 360710
Opened 19 years ago
Closed 19 years ago
checksetup.pl needs to blacklist some non-working external modules
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: LpSolit, Assigned: mkanat)
Details
Attachments
(1 file, 2 obsolete files)
|
4.76 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
Due to many regressions or backward incompatibilities in external modules used by Bugzilla, a list of working and non-working versions has been set on Wiki: http://wiki.mozilla.org/Bugzilla:FAQ:Software_Matrix
checksetup.pl should also contain a blacklist for these non-working versions of the external modules.
| Reporter | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Flags: blocking3.0?
| Assignee | ||
Comment 1•19 years ago
|
||
Blocker, per our bugzilla-meeting discussion today.
Flags: blocking3.0? → blocking3.0+
| Assignee | ||
Comment 2•19 years ago
|
||
Okay, here we go. This implements the framework for blacklisting modules, and blacklists known-bad versions of DBD::mysql.
Attachment #247556 -
Flags: review?(LpSolit)
| Assignee | ||
Comment 3•19 years ago
|
||
Also, if anybody else knows other module versions we should blacklist, let me know and we can do it in this bug or in a follow-up bug.
Comment 4•19 years ago
|
||
Comment on attachment 247556 [details] [diff] [review]
v1
>+ blacklist => [qw(3.0003 3.0004 3.0005 3.0006), '_'],
If these are supposed to be regexps, they probably ought to have the dots escaped (twice so it's still escaped after being interpreted?)
| Reporter | ||
Comment 5•19 years ago
|
||
Comment on attachment 247556 [details] [diff] [review]
v1
>Index: Bugzilla/Install/Requirements.pm
>+ $blacklisted = grep($vnum =~ /$_/, @{$params->{blacklist}});
Shouldn't it be /\Q$_\E/ ? If you really want to allow regexp in $params->{blacklist}, then you should escape versions, see justdave's comment.
Attachment #247556 -
Flags: review?(LpSolit) → review-
| Assignee | ||
Comment 7•19 years ago
|
||
(In reply to comment #6)
> what about blacklisting activestate perl versions?
We could do that in a separate bug. It'd just be 5.8.6, since 5.8.8 works fine now that we don't use MailTools anymore.
| Reporter | ||
Comment 8•19 years ago
|
||
(In reply to comment #4)
>+ blacklist => [qw(3.0003 3.0004 3.0005 3.0006), '_'],
Would 3\.000[3-6] work?
| Assignee | ||
Comment 9•19 years ago
|
||
(In reply to comment #8)
> (In reply to comment #4)
> >+ blacklist => [qw(3.0003 3.0004 3.0005 3.0006), '_'],
>
> Would 3\.000[3-6] work?
Oh yes, it would, and it would be much better.
| Assignee | ||
Comment 10•19 years ago
|
||
Okay, fixed that.
Attachment #247556 -
Attachment is obsolete: true
Attachment #248522 -
Flags: review?(LpSolit)
| Assignee | ||
Comment 11•19 years ago
|
||
I attached the wrong patch, before.
Attachment #248522 -
Attachment is obsolete: true
Attachment #248524 -
Flags: review?(LpSolit)
Attachment #248522 -
Flags: review?(LpSolit)
| Reporter | ||
Comment 12•19 years ago
|
||
Comment on attachment 248524 [details] [diff] [review]
Actual v2
Checking for DBD-mysql (v2.9003) found v3.0006 (blacklisted)
For MySQL, Bugzilla requires that perl's DBD::mysql 2.9003 be
installed. To install this module, run the following command (as root):
Nit: maybe could we explain what this blacklisted version means? Else it could look a bit confusing, eventually. Anyway, this looks fine. r=LpSolit
Attachment #248524 -
Flags: review?(LpSolit) → review+
| Reporter | ||
Updated•19 years ago
|
Flags: approval?
Updated•19 years ago
|
Flags: approval? → approval+
| Assignee | ||
Comment 13•19 years ago
|
||
Checking in Bugzilla/Constants.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Constants.pm,v <-- Constants.pm
new revision: 1.65; previous revision: 1.64
done
Checking in Bugzilla/DB.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB.pm,v <-- DB.pm
new revision: 1.92; previous revision: 1.91
done
Checking in Bugzilla/Install/Requirements.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Requirements.pm,v <-- Requirements.pm
new revision: 1.28; previous revision: 1.27
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 14•19 years ago
|
||
I forgot to fix the docs usage of DB_MODULE, which caused the tinderboxes to burn. I fixed it as a "checkin fix":
Checking in docs/makedocs.pl;
/cvsroot/mozilla/webtools/bugzilla/docs/makedocs.pl,v <-- makedocs.pl
new revision: 1.16; previous revision: 1.15
done
You need to log in
before you can comment on or make changes to this bug.
Description
•