After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 300940 - Store adressbooks names in ~/.evolution , not in ~/.gconf
Store adressbooks names in ~/.evolution , not in ~/.gconf
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
3.2.x (obsolete)
Other All
: Normal enhancement
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[accounts]
: 340640 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-04-17 13:01 UTC by Lionel Dricot
Modified: 2012-06-04 12:36 UTC
See Also:
GNOME target: ---
GNOME version: 3.1/3.2



Description Lionel Dricot 2005-04-17 13:01:34 UTC
I've reinstalled a new OS (Ubuntu Hoary) instead of my old one.
It was a choice, but it could be because of a disk crash or something else.

I backup regulary my files and the .evolution folders. Nothing else.

When restoring, all was perfect for Evolution except that I had only one
adressbook ! (personnal)

After looking some time, I've find that I simply need to restore
~/.gconf/apps/evolution/addressbook/%gconf.xml
Hopefully, I had it !

I think this is a really bad idea and that Evolution must show all adressbook
available in his config directory.
If I hadn't reinstalled by choice, I would have maybe lost the .gconf folder !!!

Other information:
Comment 1 Dennis Krul (dweazle) 2005-08-18 15:52:24 UTC
The list of adressbooks is kept in gconf, so I don't think it's possible to move
this list in ~/.evolution, unless you store the list in some non-gconf way.

I'll let the devels handle this. 

Comment 2 Sushma Rai 2005-08-31 13:01:32 UTC
Not an addressbook specific issue.

from http://go-evolution.org/Evo2.6
" Unified Account Management

Information pertaining to groupware accounts (that provide mail, calendaring and
addressbook) is split into EAccounts and multiple ESources, making them
difficult to manage. User data is also spread over .evolution and .gconf. This
needs to be consolidated into a more manageable format. "

Moving it to misc.
Comment 3 Lionel Dricot 2005-10-06 22:55:40 UTC
The value of the key in gconf.xml is itself XML which is not very pretty... Hem..

Perhaps puttings the xml data in a file in .evolution would be enough and not
too difficult ?
Comment 4 Dave Allan 2006-05-10 17:49:47 UTC
*** Bug 340640 has been marked as a duplicate of this bug. ***
Comment 5 Sushma Rai 2006-05-11 06:08:03 UTC
Another related bug to look at while fixing this is bug #238667
Comment 6 Harish Krishnaswamy 2006-05-11 06:19:13 UTC
Hmm..bug #238667 asks just the opposite - store in gconf not in ~/.evolution. In the absense of a single policy for configuration storage across all components (sooner we have one, the better) - each component will have to do it the way it feels the best. 
Comment 7 Lionel Dricot 2008-02-24 18:34:42 UTC
Harish > The common point is that users want one clear solution : .evolution or .gconf (I personnaly don't really care).

But mixing both is the real bug.

I wrote an article about this : 
http://ploum.frimouvy.org/?184-cleaning-user-preferences-keeping-user-data
Comment 8 Lionel Dricot 2008-02-24 19:53:49 UTC
This is the expected behaviour :
http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
Comment 9 Dave Allan 2008-02-25 17:23:59 UTC
I agree with Harish that people just want one clear solution; I also agree that the standard should be followed, although it contemplates two directories, one for configuration and one for data.  As much as I hate to go through an re-config my desktop after a reinstall, I think Lionel's definition of what is config and what is data is a good place to draw the line:

if you can't afford to loose it, it's an user data. If a usable default exist, it's a preference.

That might be a little easier said than implemented, or perhaps by that definition most of what Evolution stores is data, not configuration, so perhaps I would write the distinction this way:

If a piece of information is a choice in which all users must choose from the same finite set of options, it's configuration.  If I have to type it in, and it's unique to me, it's data.
Comment 10 Jean-François Fortin Tam 2008-11-07 03:20:50 UTC
Sounds to me like not storing actual *data* in gconf and simply dumping it somewhere in .evolution would do the job. I remember reading somewhere that gconf is *clearly not* intended to hold any data, it is only for basic settings.

What's missing for this bug to be fixed, or at least confirmed?
Comment 11 Lionel Dricot 2008-12-11 21:50:48 UTC
I must add that this bug is definitely *not* an enhancement. It's a real bug. The day you restore from a backup after a disk corruption to discover that all your address book is lost (because you didn't backuped .gconf), you don't feel it's an "enhancement". You scream, you cry and hate Evolution, that's it.
Comment 12 Dave Allan 2008-12-11 22:31:25 UTC
Removing myself from the cc list as I have switched to Thunderbird.
Comment 13 André Klapper 2012-02-27 11:26:47 UTC
Also see bug 548596
Comment 14 Matthew Barnes 2012-02-27 13:09:30 UTC
The account-mgmt branch will address this.  I'm hoping to finish it for Evolution 3.6.
Comment 15 Matthew Barnes 2012-06-04 12:36:56 UTC
This is fixed now by the account-mgmt branch merge for Evolution 3.5.3.

Account data is now stored as plain-text files in
$HOME/.config/evolution/sources.

More details: http://mbarnes.livejournal.com/4631.html