use oslo.config instead of raw argparse.ArgumentParser
Bug #1528542 reported by
Jeffrey Zhang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Wishlist
|
Jeffrey Zhang |
Bug Description
oslo.config is perfect library with many feature. We should reuse it rather than use the raw argparse.
Changed in kolla: | |
assignee: | nobody → Jeffrey Zhang (jeffrey4l) |
Changed in kolla: | |
status: | New → In Progress |
Changed in kolla: | |
milestone: | none → mitaka-1 |
importance: | Undecided → Medium |
Changed in kolla: | |
importance: | Medium → Wishlist |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/260389 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=3b3d6df0c2a b33bffdb8500646 8519f62f1417ef
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3b3d6df0c2ab33b ffdb85006468519 f62f1417ef
Author: Jeffrey Zhang <email address hidden>
Date: Thu Dec 24 01:07:29 2015 +0800
use oslo.config instead of raw argparse. ArgumentParser
* Use oslo.config library
* kolla-build section is deprecated in favor of DEFAULT section
* Remove the deprecated `--template` option
* `--no-cache` is deprecated in favor of `--cache` and `--nocache`
options, which are using oslo BoolOpt inverse feature[0]
[0] https:/ /github. com/openstack/ oslo.config/ blob/master/ oslo_config/ cfg.py# L1074
Closes-Bug: #1528542 17d2798256e9d9e fc8f6578f60
Change-Id: I62c5ca3c8e0579