Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #28718
Closed (moved) (moved)
Open
Created Dec 04, 2018 by juga@juga

Simplify configuration options

Programs should allow in this order: cli options, user configuration files passed by cli, environment variables, system configuration files and program defaults. There seems there's not a common easy way to achieve this in Python. sbws accepts cli and user configuration files in a complicated way. The program defaults are provided as a configuration file which might not be that convenient seems confuses where to find the defaults. Maybe an external library like https://github.com/bw2/ConfigArgParse (supported in Debian) or some other design can help to simplify this.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking