OpenStack Image Management (Glance)
Go to file
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
bin Port to argparse based cfg 2012-12-12 06:33:23 +00:00
doc/source Add note about urlencoding the sql_connection config opt 2012-11-16 10:39:03 -08:00
etc Merge in update openstack-common policy code 2012-10-23 13:57:24 -05:00
glance Port to argparse based cfg 2012-12-12 06:33:23 +00:00
tools pin sqlalchemy to the 0.7 series 2012-10-31 10:07:05 -04:00
.coveragerc Fix coverage jobs. Also, clean up the tox.ini. 2012-06-04 15:29:26 -04:00
.gitignore Move to tag-based versioning. 2012-08-12 16:10:03 +00:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 11:02:16 -04:00
.mailmap Clean up pep8 E502, E711 violations 2012-09-18 10:10:01 +08:00
babel.cfg Added first step of babel-based translations. 2012-02-28 02:00:37 -08:00
HACKING.rst Standardize logger instantiation 2012-06-25 08:27:08 -07:00
LICENSE Add a LICENSE file. 2012-01-03 10:14:01 -05:00
MANIFEST.in Add glance/versioninfo to MANIFEST.in. 2012-08-23 08:56:05 -07:00
openstack-common.conf Port uuidutils to Glance 2012-11-07 23:20:23 +08:00
pylintrc Packaging fixups 2010-10-21 15:51:44 -04:00
README.rst Replace README with links to better docs 2012-09-20 09:33:40 -07:00
run_tests.sh Allow for not running pep8. 2012-11-19 16:08:59 -08:00
setup.cfg Fix coverage jobs. Also, clean up the tox.ini. 2012-06-04 15:29:26 -04:00
setup.py Add OpenStack trove classifier for PyPI 2012-10-22 18:28:17 -04:00
tox.ini Make tox.ini run pep8 checks on bin. 2012-11-09 12:58:50 -05:00

Glance

Glance is a project that defines services for discovering, registering, retrieving and storing virtual machine images. Use the following resources to learn more: