Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390859 - www-apps/mediawiki should enforce that a db is enabled
Summary: www-apps/mediawiki should enforce that a db is enabled
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Parpart (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-17 19:19 UTC by Sebastian Luther (few)
Modified: 2011-12-09 22:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Luther (few) 2011-11-17 19:19:10 UTC
<few_> do I see it correctly that it needs at least one database use flag enabled?
<few_> if yes it should have a REQUIRED_USE to enforce this
<radhermit> few_: or rather a use default
<few_> radhermit: you could do that too. but it still calls for REQUIRED_USE.
<radhermit> feel free to open a bug
<radhermit> as I'm not going to do it right this moment
Comment 1 Anthony Basile gentoo-dev 2011-11-18 12:49:02 UTC
(In reply to comment #0)
> <few_> do I see it correctly that it needs at least one database use flag
> enabled?
> <few_> if yes it should have a REQUIRED_USE to enforce this
> <radhermit> few_: or rather a use default
> <few_> radhermit: you could do that too. but it still calls for REQUIRED_USE.
> <radhermit> feel free to open a bug
> <radhermit> as I'm not going to do it right this moment

Web apps that require a database backend should not require a db USE flag because the database might be hosted on a different server than the apache+php files.

Warnings or info messages alerting the user to the effect that they do need some db server somewhere is a good idea though.  For moodle I put it in webapp-config instructions.
Comment 2 Tim Harder gentoo-dev 2011-12-09 22:27:39 UTC
Closing as won't fix because databases don't have to be hosted on the same machine and creating/configuring the db is mentioned in the postinstall message.