Closed Bug 232804 Opened 20 years ago Closed 20 years ago

checksetup.pl needs a --check-modules switch

Categories

(Bugzilla :: Installation & Upgrading, defect)

2.17.6
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: gerv, Assigned: gerv)

Details

Attachments

(1 file)

When rewriting the Bugzilla installation instructions, I noticed that it would
be very handy to be able to instruct people to run checksetup.pl
--check-modules, which only did the module check. This would avoid the following
scenario:

- User runs checksetup.pl -> modules required
- User installs modules
- User runs checksetup.pl -> all modules present, localconfig created
- User runs checksetup.pl once more, for whatever reason -> localconfig read
  without being modified, no database access, errors, general nastiness.

In the new world, the "installation" section of the manual would tell them to
run with --check-modules, and the "configuration" section would tell them to run
it without.

Gerv
Attached patch Patch v.1Splinter Review
This allows checksetup.pl to exit after checking the modules if
"--check-modules" is specified on the command line. It also documents the
undocumented "silent" mode of checksetup.pl.

Gerv
Attachment #140366 - Flags: review?(justdave)
Hmm, this would be cool.  Tinderbox could run checksetup in this mode to ensure
that the environment is set up. :)
Attachment #140366 - Flags: review?(justdave) → review+
Flags: approval+
Fixed.

Checking in checksetup.pl;
/cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v  <--  checksetup.pl
new revision: 1.260; previous revision: 1.259
done

Gerv
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 2.18
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: