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)

2.19.1
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: timeless, Assigned: cso)

Details

Attachments

(1 file, 3 obsolete files)

checksetup.pl should check for "you-havent-visited" in the urlbase and suggest you visit editparams.cgi upon successful completion if it's there
OS: Windows XP → All
Hardware: PC → All
Yeah, I agree -- that's a good idea.
Assignee: administration → installation
Component: Administration → Installation & Upgrading
Target Milestone: --- → Bugzilla 2.22
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 → ---
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
Attached patch Patch v1 (obsolete) — Splinter Review
Patch v1
Assignee: installation → colin.ogilvie
Status: REOPENED → ASSIGNED
Attachment #202741 - Flags: review?(LpSolit)
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-
Target Milestone: --- → Bugzilla 2.24
Attached patch Patch v2 (obsolete) — Splinter Review
Fixes nit and the hardcoding.
Attachment #202741 - Attachment is obsolete: true
Attachment #202930 - Flags: review?(LpSolit)
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-
(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...
Attached patch Patch v3 (obsolete) — Splinter Review
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)
Attached patch Patch v3.1Splinter Review
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 on attachment 202989 [details] [diff] [review] Patch v3.1 r=LpSolit
Attachment #202989 - Flags: review?(LpSolit) → review+
Flags: approval?
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/
Flags: approval? → approval+
Target Milestone: Bugzilla 2.24 → Bugzilla 2.22
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 ago20 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: