Closed Bug 451707 Opened 18 years ago Closed 18 years ago

Provide an --version option to checksetup.pl

Categories

(Bugzilla :: Installation & Upgrading, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: LpSolit, Assigned: mkanat)

Details

Attachments

(1 file)

I'm so used to run some_program --version to get information (and especially the version) about a program without running it for real that I'm sometimes tempted to do the same with checksetup.pl when playing with many installations (which installation am I playing with?). Also, when people ask for help on IRC, we ask for their version and they reply "how do I get it?". We have to tell them to go to index.cgi and look at the version at the top right of the page, or look at config.cgi, or look at Constants.pm,... or to run checksetup.pl, which will compile templates and take some time to complete (if run with no arguments). I think it would be great if we were implementing checksetup.pl --version so that we have an easy way to tell people how to get the information, without all the workarounds above. And without having checksetup.pl trying to install Bugzilla! Its output could be as simple as: * This is Bugzilla 3.3 on perl 5.8.8 * Running on Linux 2.6.22.19-desktop586-2mdv #1 SMP Mon May 5 20:45:47 EDT 2008 or be an alias for checksetup.pl --check-modules if that's easier to implement.
Attached patch v1 — — Splinter Review
That's a great idea and it's really simple. I'd like it on the branch, so could I get review?
Assignee: installation → mkanat
Status: NEW → ASSIGNED
Attachment #335118 - Flags: review?(LpSolit)
Target Milestone: --- → Bugzilla 3.2
Comment on attachment 335118 [details] [diff] [review] v1 great, thanks! r=LpSolit
Attachment #335118 - Flags: review?(LpSolit) → review+
Flags: approval3.2+
Flags: approval+
tip: Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.559; previous revision: 1.558 done 3.2: Checking in checksetup.pl; /cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl new revision: 1.557.2.2; previous revision: 1.557.2.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.

Attachment

General

Created:
Updated:
Size: