On 09/19/2011 12:45 PM, Vincent Massol wrote:
> Hi devs,
>
> Thomas just told me that he's made a change for Extension Manager (apparently 
> there was a vote for it and I missed it - I can't find it so if anyone has 
> the link please point me to it) and that by default now the Extension Manager 
> uses the temporary directory to store installed extensions (Before it was 
> using ~/.xwiki).

Not a proper vote, but I think this is the mail Thomas is mentioning: 
http://markmail.org/message/mgjnjdw46rohdpbk

> I thus want to throw my -1 to release 3.2 final with this (I'd also much 
> prefer if 3.2M3 doesn't have it as much as possible). The reason is that the 
> tmp/ directory can get wiped anytime and the user can thus suddenly loose all 
> its installed extensions. I believe we need a permanent location for that.
>
> We have 2 general options IMO:
>
> 1) Don't start xwiki if the work directory is not explicitly configured
> 2) Make the default EM work directory be the same as before (ie ~/.xwiki), 
> when the work dir config property is not defined

Personally I think that 2 doesn't really work. On a serious server 
installation there shouldn't be any ~ directory for the "user" running 
the server. ~tomcat is /dev/null on my system.

Ideally, there should be a wizard at the start asking for this, in a 
mandatory step. But we're pretty far from having a proper first-run 
setup wizard.

If I have to chose between these two, +1 for 1)

> I also want to propose that for the standalone distribution of XE (the 
> jetty/hsqldb package) we use work/ as the work directory. We already create 
> this directory and we should use it (it's already used by our lucene indexing 
> BTW).

+1 for this one.

> WDYT?
>


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to