Loris  Ticket Change Details

Overview

Artifact ID: 3a03dafa59bfe97c63e03d06008b5103b5246d5e
Ticket: c259d40c622479ee552e18db2b27b634097297f6
Support for XDG base directory structure
User & Date: jesper 2016-04-18 10:20:44
Changes

  1. Change foundin to "2.0.0"
  2. Change icomment to:

    The XDG Base Directory structure should optionally be used.

    Loris does not create configuration files, and thus, does not stipulate where they must be. Under *nix systems, the first file existing file out of the following file paths is sought out and used to construct the config object.

    1. A path specified by the `PROGRAM_NAME_RC` environment variable, where PROGRAM_NAME is constructed from the program name set with config:init.
    2. `$HOME/.program-filename/config`
    3. `$HOME/.program-filenamerc`

    The most simple way to implement XDG base directory support would be to add an additional step between 1 and 2, checking for `$HOME/$XDG_CONFIG_HOME/program-filename/config`, where $XDG_CONFIG_HOME defaults to `.config`.

  3. Change login to "jesper"
  4. Change mimetype to "text/x-fossil-wiki"
  5. Change severity to "Critical"
  6. Change status to "Open"
  7. Change title to "Support for XDG base directory structure"
  8. Change type to "Feature_Request"