Closed
Bug 304936
Opened 20 years ago
Closed 20 years ago
checksetup.pl should inform the user to go to editparams.cgi if they haven't yet
Categories
(Bugzilla :: Installation & Upgrading, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.22
People
(Reporter: timeless, Assigned: cso)
Details
Attachments
(1 file, 3 obsolete files)
|
1.14 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
checksetup.pl should check for "you-havent-visited" in the urlbase and suggest
you visit editparams.cgi upon successful completion if it's there
Updated•20 years ago
|
OS: Windows XP → All
Hardware: PC → All
Comment 1•20 years ago
|
||
Yeah, I agree -- that's a good idea.
Assignee: administration → installation
Component: Administration → Installation & Upgrading
Target Milestone: --- → Bugzilla 2.22
Comment 2•20 years ago
|
||
see bug 263340 comment 3
*** This bug has been marked as a duplicate of 263340 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Target Milestone: Bugzilla 2.22 → ---
Comment 3•20 years ago
|
||
These aren't duplicates. This bug is about checksetup, and your bug is about editparams.cgi.
This bug is about checksetup being able to figure out "Oh, the user hasn't gone to editparams.cgi yet, we should tell them to go there."
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Summary: checksetup.pl should check for "you-havent-visited" in the urlbase → checksetup.pl should inform the user to go to editparams.cgi if they haven't yet
| Assignee | ||
Comment 4•20 years ago
|
||
Patch v1
Assignee: installation → colin.ogilvie
Status: REOPENED → ASSIGNED
Attachment #202741 -
Flags: review?(LpSolit)
Comment 5•20 years ago
|
||
Comment on attachment 202741 [details] [diff] [review]
Patch v1
>Index: checksetup.pl
>+# Check if the default paramater for urlbase is still set, and if so, give
Nit: s/paramater/parameter/
>+if (Param('urlbase') eq 'http://you-havent-visited-editparams.cgi-yet/') {
The default value should not be hardcoded. Use the one from Bugzilla/Config/Core.pm.
Attachment #202741 -
Flags: review?(LpSolit) → review-
Updated•20 years ago
|
Target Milestone: --- → Bugzilla 2.24
| Assignee | ||
Comment 6•20 years ago
|
||
Fixes nit and the hardcoding.
Attachment #202741 -
Attachment is obsolete: true
Attachment #202930 -
Flags: review?(LpSolit)
Comment 7•20 years ago
|
||
Comment on attachment 202930 [details] [diff] [review]
Patch v2
>+require Bugzilla::Config;
>+import Bugzilla::Config qw(Param);
Useless. These lines already exist at line 466, and Param() can already be used everywhere in checksetup.pl.
>+ print "Now that you have installed Bugzilla, you should visit the " .
>+ "'Edit Parameters' page as the Administrator to ensure it is " .
>+ "set up as you wish\n";
Nit: Instead of 'Edit Parameters', you should either say 'editparams.cgi' or 'the "Parameters" link in the footer' as it could be unclear which page you are talking about. Please make clear that the 'urlbase' parameter really has to be correctly set. Else the admin could change some other params, rerun checksetup.pl and wonder why this message appears again despite he went to editparams.cgi already.
Moreover, please break this long sentence by adding carriage returns (this doesn't look nice when your screen is large).
Attachment #202930 -
Flags: review?(LpSolit) → review-
| Assignee | ||
Comment 8•20 years ago
|
||
(In reply to comment #7)
> Moreover, please break this long sentence by adding carriage returns (this
> doesn't look nice when your screen is large).
Indeed, Carriage Returns don't look nice when your screen is large. Hence, I am completely confused by this sentence...
| Assignee | ||
Comment 9•20 years ago
|
||
While not following what lpsolit meant, I have added the carriage returns that he asked for and re-worded the message.
Attachment #202930 -
Attachment is obsolete: true
Attachment #202988 -
Flags: review?(LpSolit)
| Assignee | ||
Comment 10•20 years ago
|
||
Add 'unless $silent' to not print when checksetup.pl should be silent.
Attachment #202988 -
Attachment is obsolete: true
Attachment #202989 -
Flags: review?(LpSolit)
Attachment #202988 -
Flags: review?(LpSolit)
Comment 11•20 years ago
|
||
Comment on attachment 202989 [details] [diff] [review]
Patch v3.1
r=LpSolit
Attachment #202989 -
Flags: review?(LpSolit) → review+
Updated•20 years ago
|
Flags: approval?
Comment 12•20 years ago
|
||
Comment on attachment 202989 [details] [diff] [review]
Patch v3.1
>+# Check if the default parameter for urlbase is still set, and if so, give
>+# notification that they should go and visit editparamns.cgi
Nit: s/editparamns/editparams/
Updated•20 years ago
|
Flags: approval? → approval+
Updated•20 years ago
|
Target Milestone: Bugzilla 2.24 → Bugzilla 2.22
| Assignee | ||
Comment 13•20 years ago
|
||
Checking in checksetup.pl;
/cvsroot/mozilla/webtools/bugzilla/checksetup.pl,v <-- checksetup.pl
new revision: 1.451; previous revision: 1.450
done
(Fixed the typo, too)
Status: ASSIGNED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•