Closed
Bug 346343
Opened 19 years ago
Closed 19 years ago
Clean up all of checksetup prior to localconfig code
Categories
(Bugzilla :: Installation & Upgrading, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file)
5.75 KB,
patch
|
Details | Diff | Splinter Review |
I'm about to dive into the localconfig code in checksetup.pl, and put it in a module, but before I do that, I want to clean up all the code before it in checksetup, and get it exactly the way I'd like it to be.
Assignee | ||
Comment 1•19 years ago
|
||
Okay, you'll notice that I've done several things in this patch.
First off, I've centralized the Win32 checks into a constant called ON_WINDOWS, which is more readable than the regex against $^O that we currently use.
Also, I've moved all of the "require" of Bugzilla modules into one place in checksetup. Now that Bugzilla modules don't perform code outside of subroutines, it's safe to "require" them at the top.
I've tested this on a system with no data/ directory, a system without any of the required modules, and both. I've also tested it on a normal system. It works fine.
Assignee | ||
Comment 2•19 years ago
|
||
Requesting approval directly, as module owner.
Status: NEW → ASSIGNED
Flags: approval?
Updated•19 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 3•19 years ago
|
||
Checking in checksetup.pl;
/cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl
new revision: 1.520; previous revision: 1.519
done
Checking in Bugzilla/Constants.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Constants.pm,v <-- Constants.pm
new revision: 1.46; previous revision: 1.45
done
Checking in Bugzilla/Install/Requirements.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Requirements.pm,v <-- Requirements.pm
new revision: 1.10; previous revision: 1.9
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•