Initial version of gbp-pq-rpm: a tool for managing patch queues for rpm
packages.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Olev Kartau <olev.kartau@intel.com>
Conflicts:
gbp/config.py
gbp/scripts/pq_rpm.py
tests/01_test_help.py
Handles commandline options and parsing of config files for rpm tools
"""
defaults = dict(GbpOptionParser.defaults)
-<<<<<<< HEAD
defaults.update( {
'vendor' : 'vendor',
'native' : 'auto',
try:
parser = GbpOptionParserRpm(command=os.path.basename(argv[0]),
prefix='', usage=USAGE_STRING)
- except ConfigParser.ParsingError as err:
- gbp.log.err('Invalid config file: %s' % err)
- return 1
-
parser.add_boolean_config_file_option(option_name="patch-numbers",
dest="patch_numbers")
parser.add_option("-v", "--verbose", action="store_true", dest="verbose",