Data that is not covered by the basedir-spec

piegames piegames at darmstadt.ccc.de
Sat Jun 8 19:54:53 UTC 2019


Hi

>From a software developer perspective, a question I have to ask myself
a lot is "where should I store this data?". Luckily, the XDG basedir
specification has pretty good answers for most of my data, but not
always. Where should I store:

- logs and history? [1]
- user-installed libraries (Gradle, Maven, Cargo etc. currently all
dump them into custom dotfolders)?
- user binaries, plugins and scripts?
- self-contained virtual systems (Flatpak, Wine [2], VirtualBox)?

I do not think any of these fit well into the config/cache/data trio. I
also noticed that many programs that don't adhere to the basedir
specification have data that fits one of the descriptions above. A
clarification (or extension) of the spec might thus lead to higher
adoption rates.

piegames
	
[1]: https://wiki.debian.org/XDGBaseDirectorySpecification#state
[2]: https://bugs.winehq.org/show_bug.cgi?id=20888



More information about the xdg mailing list