Hi,

Thank you for your answer Thomas

2013/5/17 Thomas Mortagne <[email protected]>

> On Thu, May 16, 2013 at 8:31 PM, Frédéric Bouquet
> <[email protected]> wrote:
> > I was thinking of other DBS but I don't know yet the best solution.
> >
> > Let's explain the problem I see.
> > When installing XWiki on a server database, the user may have changed
> > default root password, he may also have installed other databases for
> other
> > tools.
> > 1. How to create XWiki database without knowing the username and
> password ?
>
> Debian package ask for it (that's what most DB applications do in
> Debian world). But it's easy to say when it's done by a standard
> Debian tool and not by us ;)
>

I asked on Archlinux forums and it seems to be a bad practice to ask for a
configuration to the user (philosophy : KISS and do it yourself). The
prefered solution seems to be installing a minimal system and provide basic
explanation on how to change the configuration according to the needs. And
also give a link to a more complete solution.
I plan also to move the packaging to datasources instead of direct
connections.

I need a rampup on rpm packaging. As an exercise, I'll try to provide rpm
packages for xwiki and, in such systems (centos/redhat/ ...), ask for what
and how to configure. I think it's a more common practice on such systems

> 2. In the case of XWiki-manager, if we give xwiki db user rights to
> > create/drop databases, XWiki administrator may create tables in an db
> which
> > host an other application, and by the way delete it. If xwiki db user
> only
> > have default privileges, XWiki administrator will have to ask for a new
> db
> > for each wiki he wants to create. How to decide which case to choose ?
>
> I would say ask for it too. Now I don't think a XEM package is really
> required since we are talking more and more of getting rid of it
> during the 5.x timeframe.


Same as before here. I'll upgrade the packages according to changes in
XWiki, and if at the end enterprise and manager merge, it will be one
package less to maintain ;)
Concerning the datasource, I know it's possible to define one DS for
multiple schema, but for a database as mysql where one DB can have only one
schema, I'm not sure it's possible to point multiple databases using one
datasource... In short, I'll have to investigate the subject ;)

Thanks again for your feedback

-- 
Frédéric Bouquet
Twitter/Github : bouquetf
http://www.espacedefouille.org/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to