Closed
Bug 281494
Opened 20 years ago
Closed 18 years ago
Create Bugzilla::Install::Requirements for requirements-checking subroutines in checksetup.pl
Categories
(Bugzilla :: Installation & Upgrading, enhancement, P1)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file, 2 obsolete files)
|
12.96 KB,
patch
|
cso
:
review+
wicked
:
review+
|
Details | Diff | Splinter Review |
This is a little piece of bug 277502. Basically, I want to move all the perl-module checking stuff that happens in checksetup into subroutines in a new module, called Bugzilla::Requirements.
| Assignee | ||
Updated•20 years ago
|
Priority: -- → P3
| Assignee | ||
Updated•19 years ago
|
Target Milestone: --- → Bugzilla 2.22
Comment 1•19 years ago
|
||
The trunk is now frozen to prepare Bugzilla 2.22. Enhancement bugs are retargetted to 2.24.
Target Milestone: Bugzilla 2.22 → Bugzilla 2.24
| Assignee | ||
Comment 2•19 years ago
|
||
*** Bug 273309 has been marked as a duplicate of this bug. ***
| Assignee | ||
Updated•19 years ago
|
Priority: P3 → P1
| Assignee | ||
Comment 3•19 years ago
|
||
Okay, I'm going to shift the focus of this bug slightly. I'm going to instead move just have_vers and vers_cmp and all those other functions used for requirements-checking into a module.
Status: NEW → ASSIGNED
Summary: Move requirements-checking from checksetup into subroutines/modules → Create Bugzilla::Install::Requirements for requirements-checking subroutines in checksetup.pl
| Assignee | ||
Comment 4•19 years ago
|
||
Okay, here it is. Pretty simple, overall. I made a few changes as I moved things: * $modules became a constant called REQUIRED_MODULES * %ppm_modules became WIN32_MODULE_NAMES, and I also removed all of the "redundant" entries from the hash. Instead, I modified the "install_command" subroutine to print out the proper names of ActiveState modules. * I updated vers_cmp to the latest version of Sort::Versions. I tested the patch and it works just fine.
Attachment #226303 -
Flags: review?(ghendricks)
| Assignee | ||
Updated•19 years ago
|
Attachment #226303 -
Flags: review?(wicked+bz)
Comment 5•19 years ago
|
||
Comment on attachment 226303 [details] [diff] [review] v1 Runtests.pl no longer passes because Bugzilla::Install::Requirements is not found.
Attachment #226303 -
Flags: review?(wicked+bz)
Attachment #226303 -
Flags: review?(ghendricks)
Attachment #226303 -
Flags: review-
| Assignee | ||
Comment 6•19 years ago
|
||
The first patch was missing the actual Bugzilla::Install::Requirements. :-) So here's the right patch.
Attachment #226303 -
Attachment is obsolete: true
Attachment #226305 -
Flags: review?(ghendricks)
| Assignee | ||
Updated•19 years ago
|
Attachment #226305 -
Flags: review?(wicked+bz)
| Assignee | ||
Comment 7•19 years ago
|
||
The previous patch had tabs in it. Otherwise this one is identical.
Attachment #226305 -
Attachment is obsolete: true
Attachment #226306 -
Flags: review?(ghendricks)
Attachment #226305 -
Flags: review?(wicked+bz)
Attachment #226305 -
Flags: review?(ghendricks)
| Assignee | ||
Updated•19 years ago
|
Attachment #226306 -
Flags: review?(wicked+bz)
Comment 8•19 years ago
|
||
Comment on attachment 226305 [details] [diff] [review] v2 This attachment contains TABs in it.
Attachment #226305 -
Flags: review-
Comment 9•19 years ago
|
||
Is there some way that the optional modules can be moved into this module too, or another one?
| Assignee | ||
Comment 10•19 years ago
|
||
(In reply to comment #9) > Is there some way that the optional modules can be moved into this module too, > or another one? Yeah, but it would require more re-architecture than I want to do in this bug.
| Assignee | ||
Updated•19 years ago
|
Attachment #226306 -
Flags: review?(ghendricks) → review?(colin.ogilvie)
Comment 11•18 years ago
|
||
Comment on attachment 226306 [details] [diff] [review] v2.1 This seems to work for me, tested it and simulated the Win32 changes.
Attachment #226306 -
Flags: review?(colin.ogilvie) → review+
Comment 12•18 years ago
|
||
Comment on attachment 226306 [details] [diff] [review] v2.1 Seems fine on Linux too. Not sure about using global $silent variable, might be better to pass it to the sub. Can be done on other bug. :)
Attachment #226306 -
Flags: review?(wicked+bz) → review+
Updated•18 years ago
|
Flags: approval?
Updated•18 years ago
|
Flags: approval? → approval+
| Assignee | ||
Comment 13•18 years ago
|
||
Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.505; previous revision: 1.504 done RCS file: /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Requirements.pm,v done Checking in Bugzilla/Install/Requirements.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Requirements.pm,v <-- Requirements.pm initial revision: 1.1 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•