glance/glance
Mark McLoughlin d3490339df Port to argparse based cfg
Sync the following changes from oslo-incubator:

  479f19c Add deprecated --logdir common opt
  27b2ff4 Add deprecated --logfile common opt.
  9b81289 Allow nova and others to override some logging defaults
  3557d84 Fix ListOpt to trim whitespace
  01ab910 Fix set_default() with boolean CLI options
  af18eaa Improve cfg's argparse sub-parsers support
  f21e1d9 Fix regression with cfg CLI arguments
  ceb4aa7 Fix broken --help with CommonConfigOpts
  5e9503b Hide the GroupAttr conf and group attributes
  b6d24bb updating sphinx documentation
  403509e Don't reference argparse._StoreAction
  e17deb8 Fix minor coding style issue
  0c29e1d Remove ConfigCliParser class
  5b9cb41 Add support for positional arguments
  dbc72a6 Use stock argparse behaviour for optional args
  768a147 Use stock argparse --usage behaviour
  ac180b9 Use stock argparse --version behaviour
  0787e38 Remove add_option() method
  5afead0 Completely remove cfg's disable_interspersed_args()
  5f564b2 argparse support for cfg
  d7b6397 Add a missing comma in a docstring.
  aca1805 cfg: fix required if option has a dash

Changing glance-manage to use argparse sub-parsers does result in an
incompatible change. This no longer works:

  $> glance-manage db_sync --config-file=...

because --config-file is interpreted as an argument to the db_sync
command rather than a global argument. Instead you now have to do:

  $> glance-manage --config-file=... db_sync

The incompatibility is unfortunate, but the new behaviour is pretty
standard.

Change-Id: Ifd43fe6bea4abd7f85ea75e5ae65678b679acd8d
2012-12-12 06:33:23 +00:00
..
api Merge "Refactor where store drivers are initialized" 2012-11-20 00:55:59 +00:00
common Port to argparse based cfg 2012-12-12 06:33:23 +00:00
db Port to argparse based cfg 2012-12-12 06:33:23 +00:00
image_cache Refactor where store drivers are initialized 2012-11-19 16:08:15 -08:00
locale Add localization catalog and initial po files to Glance. 2012-05-04 11:24:30 +08:00
notifier Change type of rabbit_durable_queues to boolean. 2012-09-26 07:02:45 +01:00
openstack Port to argparse based cfg 2012-12-12 06:33:23 +00:00
registry Stop logging all registry client exceptions 2012-11-16 16:01:17 -08:00
store Add an image proxy to handle stored image data 2012-11-20 10:39:10 -08:00
tests Port to argparse based cfg 2012-12-12 06:33:23 +00:00
__init__.py load gettext in __init__ to fix '_ is not defined' 2011-11-08 10:58:25 -08:00
context.py Use generate_uuid from openstack common. 2012-11-12 15:39:58 -05:00
domain.py Add an image domain model and related helpers. 2012-11-14 12:52:11 -08:00
schema.py Filter out None values from v2 API image entity 2012-08-11 15:11:54 -07:00
version.py Set new version to open Grizzly development 2012-09-12 00:07:00 +02:00