Open
Bug 655483
Opened 14 years ago
Updated 12 years ago
List available features in testserver.pl
Categories
(Bugzilla :: Installation & Upgrading, enhancement)
Tracking
()
ASSIGNED
People
(Reporter: LpSolit, Assigned: sjoshi)
Details
Attachments
(1 file, 1 obsolete file)
|
2.75 KB,
patch
|
mail
:
review-
|
Details | Diff | Splinter Review |
testserver.pl tests whether your installation is working correctly. I think it's a nice place to list available features too.
Attachment #530835 -
Flags: review?(mkanat)
Comment 1•14 years ago
|
||
Comment on attachment 530835 [details] [diff] [review]
patch, v1
Cool idea. :-) I think check_features_installed should be in Bugzilla::Install::Requirements. (Also, there's some refactoring of that file in the FastCGI patch that I should pull out and apply before you do this, because it will make your code a lot easier, I think.)
Also, do you think maybe this output should be in checksetup.pl instead? Although checksetup.pl does have a lot of output already.
Attachment #530835 -
Flags: review?(mkanat) → review-
| Reporter | ||
Comment 2•14 years ago
|
||
(In reply to comment #1)
> Also, do you think maybe this output should be in checksetup.pl instead?
> Although checksetup.pl does have a lot of output already.
Yeah, I don't think checksetup.pl is the right place for this code. Its output is already big enough. I think it's better to keep this code for testserver.pl so that the admin can check how his installation behaves *after* the installation is complete, if he wants to.
Updated•14 years ago
|
Target Milestone: Bugzilla 4.2 → Bugzilla 5.0
| Reporter | ||
Comment 3•13 years ago
|
||
We are going to branch for Bugzilla 4.4 next week and this bug is either too invasive to be accepted for 4.4 at this point or shows no recent activity. The target milestone is reset and will be set again *only* when a patch is attached and approved.
I ask the assignee to reassign the bug to the default assignee if you don't plan to work on this bug in the near future, to make it clearer which bugs should be fixed by someone else.
Target Milestone: Bugzilla 4.4 → ---
| Reporter | ||
Updated•12 years ago
|
Assignee: LpSolit → installation
| Reporter | ||
Updated•12 years ago
|
Status: ASSIGNED → NEW
| Assignee | ||
Comment 4•12 years ago
|
||
Moved the function to Bugzilla::Install::Requirements.
Not sure what mkanat meant by "FastCGI patch that I should pull out and apply before you do this.."
Assignee: installation → joshi_sunil
Attachment #530835 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #785108 -
Flags: review?(sgreen)
Comment 5•12 years ago
|
||
Comment on attachment 785108 [details] [diff] [review]
Patch-v1
Review of attachment 785108 [details] [diff] [review]:
-----------------------------------------------------------------
::: Bugzilla/Install/Requirements.pm
@@ +785,5 @@
> +
> + # Populate the cache.
> + Bugzilla->feature('patch_viewer');
> +
> + foreach my $feature (sort keys %{Bugzilla->request_cache->{feature_map}}) {
I'm not happy getting this from the cache. It should come directly from the B::I::R file
e.g.
sort uniq map { @{$_->{feature}} } @{&OPTIONAL_MODULES}
Feel free to split the above line out if you want (also requires uniq from List::MoreUtils)
It also means you don't need to use the two populate lines above this one.
Attachment #785108 -
Flags: review?(sgreen) → review-
You need to log in
before you can comment on or make changes to this bug.
Description
•