gbp.config.GbpOptionParserRpm(GbpOptionParser)
class documentationgbp.config
(View In Hierarchy)
Handles commandline options and parsing of config files for rpm tools
Class Variable | defaults | Undocumented |
Class Variable | help | Undocumented |
Method | _warn_old_gbp_conf | Undocumented |
Inherited from GbpOptionParser:
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 | config files we parse |
Class Variable | short_opts | Undocumented |
Class Variable | list_opts | Undocumented |
Class Method | get_config_files | Get list of config files from the GBP_CONF_FILES environment variable. |
Method | config_file_sections | List of all found config file sections |
Method | parse_lists | Parse options that can be given as lists |
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 |
Instance Variable | config_parser | Undocumented |
Method | get_default | get the default value |
Method | get_opt_names | Undocumented |
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 | print_help | Print an extended help message, listing all options and any help text provided with them, to 'file' (default stdout). |
Method | _read_config_file | Read config file |
Method | _warn_old_config_section | Undocumented |
Instance Variable | _warned_old_gbp_conf | Undocumented |
Static Method | _listify | No summary |
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 |
Class Method | _name_to_filename | Translate a name like 'system' to a config file name |
Class Method | _set_config_file_value | Write a config value to a file creating it if needed |