Configuration File

Registered by Siegfried Gevatter

Freevial should load some basic configuration from a INI-like file (~/.freevial/config, or /etc/freevial.conf as a fallback).

Blueprint information

Status:
Not started
Approver:
Freevial
Priority:
Medium
Drafter:
Siegfried Gevatter
Direction:
Approved
Assignee:
Siegfried Gevatter
Definition:
Approved
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

If it should be an INI-like file, use the ConfigParser module from the python standard library: http://effbot.org/librarybook/configparser.htm
Additionally, YAML syntax is also good and easily understandable: http://en.wikipedia.org/wiki/YAML here a good python module: http://pyyaml.org/wiki/PyYAML --Markus Mayer

Yeh, we are already using SafeConfigParser for the skins, so we will likely do the same for the config file (once we have some ideas on what to put there). But thanks for the suggestions :). Notes to myself: Also, the xdg module should be used to determine the config file's location. --RainCT

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.