[Bug 195397] Re: Bazaar does not follow the Freedesktop XDG Base Directory Specification

Jelmer Vernooij 195397 at bugs.launchpad.net
Sun Mar 11 14:57:29 UTC 2012


Bazaar will only use ~/.config/bazaar if it already exists. Does it
exist?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/195397

Title:
  Bazaar does not follow the Freedesktop XDG Base Directory
  Specification

Status in Bazaar Version Control System:
  Fix Released
Status in “bzr” package in Ubuntu:
  Fix Released

Bug description:
  The specification can be found at: http://standards.freedesktop.org
  /basedir-spec/latest/index.html

  From the specification:

  ##########################################
  There is a single base directory relative to which user-specific data files should be written. This directory is defined by the environment variable $XDG_DATA_HOME.

  There is a single base directory relative to which user-specific
  configuration files should be written. This directory is defined by
  the environment variable $XDG_CONFIG_HOME.

  $XDG_DATA_HOME defines the base directory relative to which user
  specific data files should be stored. If $XDG_DATA_HOME is either not
  set or empty, a default equal to $HOME/.local/share should be used.

  $XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used. 
  ##########################################

  
  The reasoning behind this is so that it's easy to remove config files while not affecting any user data. This is especially important when a user upgrades their OS, i.e. Ubuntu 7.10 -> Ubuntu 8.04, and wants to start with the default settings for their applications. It will also help organise the ever so horrid mess in the home folder.

  A simple rule might be:
  Data for which there exists sane defaults, is config data. Data which should not be lost is user data.

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/195397/+subscriptions




More information about the foundations-bugs mailing list