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 ;)

> 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.

>
> Here are the possible solutions I see :
>
> Try with default values and prompt an error if it did not work
> + small, simple
> - won't work for many cases
>
> Prompt at install time for decisions.
> + It solves all issues
> - Business rules are quiet complex
> - May be hard to maintain
> - Not sure it's a goor practice
>
> Document how to change and use an other DB
> + Easy to maintain
> + Do it yourself which is, I think the philosophy of Archlinux
> + Easy to automate using configuration manager systems (puppet/chief)
> - not fully automated
> By the way, it may be possible to provide some other packages on top of
> those which will install jdbc drivers, update config files and explain what
> modification to do according to the db
>
> I would prefer third solution. WDYT ?
>
>
>
> 2013/5/16 Jerome Velociter <[email protected]>
>
>> Hi,
>>
>> That's great!
>>
>> I see it's Tomcat + HSQLDB. Wouldn't it be better to have Tomcat + MySQL ?
>>
>> Cheers,
>>
>> Jérôme
>>
>> Le 16/05/13 01:28, Frédéric Bouquet a écrit :
>>
>>  Hi,
>>>
>>> I've just built two packages for archlinux, one concerning
>>> xwiki-enterprise, the other xwiki-manager.
>>> To install xwiki :
>>> yaourt -S xwiki-enterprise
>>> or
>>> yaourt -S xwiki-manager
>>>
>>> Packages are here :
>>> https://aur.archlinux.org/**packages/xwiki-enterprise/<https://aur.archlinux.org/packages/xwiki-enterprise/>
>>> and here :
>>> https://aur.archlinux.org/**packages/xwiki-manager/<https://aur.archlinux.org/packages/xwiki-manager/>
>>>
>>> What about creating a repository for them on xwiki-contrib, for example :
>>> archlinux-packages ?
>>> If someone create the repo, I'll upload files tomorrow.
>>>
>>>
>> ______________________________**_________________
>> devs mailing list
>> [email protected]
>> http://lists.xwiki.org/**mailman/listinfo/devs<http://lists.xwiki.org/mailman/listinfo/devs>
>>
>
>
>
> --
> Frédéric Bouquet
> Twitter/Github : bouquetf
> http://www.espacedefouille.org/
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs



--
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to