Package gbp :: Module config :: Class GbpOptionParserRpm
[hide private]
[frames] | no frames]

Class GbpOptionParserRpm

optparse.OptionContainer --+        
                           |        
       optparse.OptionParser --+    
                               |    
                 GbpOptionParser --+
                                   |
                                  GbpOptionParserRpm
Known Subclasses:

Handles commandline options and parsing of config files for rpm tools

Instance Methods [hide private]

Inherited from GbpOptionParser: __init__, add_boolean_config_file_option, add_config_file_option, get_config_file_value, get_default, parse_config_files

Inherited from optparse.OptionParser: add_option_group, check_values, destroy, disable_interspersed_args, enable_interspersed_args, error, exit, expand_prog_name, format_epilog, format_help, format_option_help, get_default_values, get_description, get_option_group, get_prog_name, get_usage, get_version, parse_args, print_help, print_usage, print_version, set_default, set_defaults, set_process_default_values, set_usage

Inherited from optparse.OptionParser (private): _add_help_option, _add_version_option, _create_option_list, _get_all_options, _get_args, _get_encoding, _init_parsing_state, _match_long_opt, _populate_option_list, _process_args, _process_long_opt, _process_short_opts

Inherited from optparse.OptionContainer: add_option, add_options, format_description, get_option, has_option, remove_option, set_conflict_handler, set_description

Inherited from optparse.OptionContainer (private): _check_conflict, _create_option_mappings, _share_option_mappings

Class Methods [hide private]

Inherited from GbpOptionParser: get_config_files

Class Variables [hide private]
dict defaults = {'allow-unauthenticated': 'False', 'arch': '', 'aut...
defaults value of an option if not in the config file or given on the command line
dict help = {'allow-unauthenticated': 'Don\'t verify integrity of d...
help messages

Inherited from GbpOptionParser: def_config_files

Inherited from optparse.OptionParser: standard_option_list

Instance Variables [hide private]

Inherited from GbpOptionParser: command, config, prefix

Class Variable Details [hide private]

defaults

defaults value of an option if not in the config file or given on the command line
Type:
dict
Value:
{'allow-unauthenticated': 'False',
 'arch': '',
 'author-date-is-committer-date': 'False',
 'author-is-committer': 'False',
 'build': 'True',
 'builder': 'rpmbuild',
 'changelog-file': 'auto',
 'changelog-revision': '',
...

help

help messages
Type:
dict
Value:
{'allow-unauthenticated': 'Don\'t verify integrity of downloaded sourc\
e, default is \'%(allow-unauthenticated)s\'',
 'arch': 'Build for this architecture when using git-pbuilder, default\
 is \'%(arch)s\'',
 'author-date-is-committer-date': 'Use the authors\'s date as the comm\
itter\'s date, default is \'%(author-date-is-committer-date)s\'',
 'author-is-committer': 'Use the authors\'s name also as the committer\
\'s name, default is \'%(author-is-committer)s\'',
...