[Bug 860088] Re: Use XDG user configuration settings location
David Planella
david.planella at ubuntu.com
Thu May 10 14:54:06 UTC 2012
Al 07/05/12 08:51, En/na Michael Terry ha escrit:
> Hello! I will update this bug's description because nowadays the
> website says ~/.config/<package-name>. But the job here isn't done,
> because we should also be recommending ~/.cache and ~/.local.
>
> This is a pet peeve of mine. I have seen apps that put a lot of data
> cache files (mp3 files, images, etc) in ~/.config because of this
> recommendation. This has a direct effect on users. For example, the
> default backup program deja-dup will automatically ignore ~/.cache but
> does back up ~/.config by default -- so when apps store large cache data
> in ~/.config, it wastes users' time and space.
>
> I would request the following text be added to the Technical
> Requirements section of http://developer.ubuntu.com/publish/my-apps-
> packages/ :
>
> * Write all cache files to ~/.cache/<package-name> (This can be one file or a directory containing multiple cache files)
> * Write all user data files to ~/.local/share/<package-name> (This can be one file or a directory containing multiple data files)
>
> And optionally, maybe even link to the XDG spec for full gory details
> (http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)
>
Hi all,
I had a quick chat with Mike the other day regarding the above (bug 860088).
It all looks sensible to me and I'd be happy to modify the d.u.c page
with the additional information, I simply wanted to ask the ARB for a
final sanity check.
What do you think?
Cheers,
David.
> ** Description changed:
>
> from http://developer.ubuntu.com/publish/my-apps-packages/
> - "Write all configuration settings to ~/.<pkgName> (This can be one file or a directory containing multiple configuration files)"
> + "Write all configuration settings to ~/.config/<package-name> (This can be one file or a directory containing multiple configuration files)"
>
> - This is of course a legitimate suggestion, but in recent days the proper
> - and suggested place for user settings is ~/.config/<pkgName>, following
> - freedesktop.org specs, in order to have a 'clean' home directory.
> -
> - Also, reading that phrase, it seems applications using
> - ~/.config/<pkgName> are not proper packages and will be rejected.
> + This is of course a legitimate suggestion, but it makes no mention of
> + the other XDG directories ~/.cache and ~/.local, leading application
> + developers to think they must only use ~/.config and are not allowed to
> + use the others. But we should be encouraging developers to put cache
> + files in the proper place, instead of in the config folder.
>
--
David Planella
Ubuntu Translations Coordinator
www.ubuntu.com / www.davidplanella.wordpress.com
www.identi.ca/dplanella / www.twitter.com/dplanella
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/app-review-board/attachments/20120510/28bb79a2/attachment.pgp>
More information about the App-review-board
mailing list