gbp.config.GbpOptionParserBB(GbpOptionParserRpm) class documentationgbp.config
(View In Hierarchy)
Commandline and config file option parser for the -bb commands
| Class Variable | defaults | Undocumented |
| Class Variable | help | Undocumented |
Inherited from GbpOptionParser (via GbpOptionParserRpm):
| Instance Variable | command | the gbp command we store the options for |
| Instance Variable | prefix | prefix to prepend to all commandline options |
| Instance Variable | config | current configuration parameters |
| Class Variable | def_config_files | list of default config files we parse |
| Class Method | get_config_files | Get list of config files from the GBP_CONF_FILES environment variable. |
| Method | parse_config_files | Parse the possible config files and set appropriate values default values |
| Method | __init__ | No summary |
| Instance Variable | sections | Undocumented |
| Instance Variable | valid_options | Undocumented |
| Method | get_default | get the default value |
| Method | add_config_file_option | No summary |
| Method | add_boolean_config_file_option | Undocumented |
| Method | get_config_file_value | Query a single interpolated config file value. |
| Method | _read_config_file | Read config file |
| Method | _is_boolean | is option_name a boolean option |
| Method | _get_bool_default | get default for boolean options this way we can handle no-foo=True and foo=False |