Re: [Evolution-hackers] User directory layout for 2.0



On Fri, 2003-08-22 at 12:48, Ettore Perazzoli wrote:
> Here are my thoughts on how to organize Evolution's data in 2.0.
> 
> First of all, we need to move the root directory to a hidden place; 
> so instead of storing everything under ~/evolution we should store
> everything under ~/.evolution.  (Yeah, finally. :-))
> 

yay! :)

> While we are at it, we could clean up the structure a little bit;
> there are a bunch of files that are currently in the toplevel
> ~/evolution but should probaly go into component-specific directories
> instead.  (Since we need to touch all the paths in the code anyways,
> it's not going to be much extra work.)
> 
> We could have something like this:
[..snipped..]
> We should also drop the default_user directory altogether, and let the
> components do their own initialization the first time they are
> started.  The current mechanism is painful to maintain and just plain
> ugly...
> 

agreed.

> Thoughts?
> 
> -- Ettore

an environment variable, $EVOLUTION_ROOT that will be used to override
whatever the system default is (which should be ~/.evolution for 2.x,
and ~/evolution otherwise).

make a nice migration mechanism that will detect if ~/.evolution exists,
and if not, offer to migrate the older configuration data in
~/evolution.

then, backport use of $EVOLUTION_ROOT so I can use it sooner :)

-- 
|| Jeff MacDonald
|| Zoid Technologies, LLC
|| url: http://zoidtechnologies.com/
|| gpg: A607 0F19 7C75 1305 67E4  BDFF 26BD 606E 3517 2A42

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]