Closed
Bug 451707
Opened 18 years ago
Closed 18 years ago
Provide an --version option to checksetup.pl
Categories
(Bugzilla :: Installation & Upgrading, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.2
People
(Reporter: LpSolit, Assigned: mkanat)
Details
Attachments
(1 file)
|
1.51 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
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.
| Assignee | ||
Comment 1•18 years ago
|
||
That's a great idea and it's really simple. I'd like it on the branch, so could I get review?
| Assignee | ||
Updated•18 years ago
|
Target Milestone: --- → Bugzilla 3.2
| Reporter | ||
Comment 2•18 years ago
|
||
Comment on attachment 335118 [details] [diff] [review]
v1
great, thanks! r=LpSolit
Attachment #335118 -
Flags: review?(LpSolit) → review+
| Assignee | ||
Updated•18 years ago
|
Flags: approval3.2+
Flags: approval+
| Assignee | ||
Comment 3•18 years ago
|
||
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.
Description
•