Closed Bug 344855 Opened 18 years ago Closed 18 years ago

Create a subroutine that does all of checksetup's requirements checking

Categories

(Bugzilla :: Installation & Upgrading, enhancement)

2.23
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: mkanat, Assigned: mkanat)

References

Details

Attachments

(1 file, 1 obsolete file)

Now that the mandatory and optional requirements data is in Bugzilla::Install::Requirements, that module should also have a check_requirements() subroutine that does everything in the "Requirements" section of Bugzilla. (Except check the perl version, which we do before this.)
Attached patch v1 (obsolete) — Splinter Review
Here's my patch. I've run it through test-checksetup and runtests.pl, so it works as far as I know.
Attached patch v2Splinter Review
I fixed the output of checksetup.pl to be more consistent for printing out the optional and required modules. I also fixed the line lengths and a tiny bug in the old patch.
Attachment #231031 - Attachment is obsolete: true
I'm the module owner, and I'm fairly confident about this patch. Requesting approval directly.
Status: NEW → ASSIGNED
Flags: approval?
Flags: approval? → approval+
Checking in checksetup.pl;
/cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v  <--  checksetup.pl
new revision: 1.515; previous revision: 1.514
done
Checking in Bugzilla/Constants.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Constants.pm,v  <--  Constants.pm
new revision: 1.45; previous revision: 1.44
done
Checking in Bugzilla/Install/Requirements.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Requirements.pm,v  <--  Requirements.pm
new revision: 1.9; previous revision: 1.8
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.

Attachment

General

Created:
Updated:
Size: