use oslo.config instead of raw argparse.ArgumentParser

Bug #1528542 reported by Jeffrey Zhang
6
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.ArgumentParser class.

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
Sam Yaple (s8m)
Changed in kolla:
importance: Medium → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/260389
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=3b3d6df0c2ab33bffdb85006468519f62f1417ef
Submitter: Jenkins
Branch: master

commit 3b3d6df0c2ab33bffdb85006468519f62f1417ef
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
    Change-Id: I62c5ca3c8e057917d2798256e9d9efc8f6578f60

Changed in kolla:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.