)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1726,"name":"Ghe Rivero","email":"ghe.rivero@gmail.com","username":"ghe.rivero"},"change_message_id":"491425d0468eade17c7738b4fc92f53be754d5c5","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Lucas Alvares Gomes \u003clucasagomes@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-10-22 17:02:54 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Use olso.config generator"},{"line_number":8,"context_line":"    "},{"line_number":9,"context_line":"Stop using the custom script to generate the sample configuration file"},{"line_number":10,"context_line":"and use the oslo-config-generator function of oslo.config."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"da86d52c_f77b7e26","line":7,"updated":"2015-02-18 19:06:59.000000000","message":"s/olso/oslo/","commit_id":"078e86ba0cac846b7e3f52c3985781431398d64b"}],"etc/oslo-config-generator/ironic.conf":[{"author":{"_account_id":1726,"name":"Ghe Rivero","email":"ghe.rivero@gmail.com","username":"ghe.rivero"},"change_message_id":"9447419ffa44fdce7d90e129662358b5b0e5314a","unresolved":false,"context_lines":[{"line_number":3,"context_line":"namespace \u003d ironic"},{"line_number":4,"context_line":"namespace \u003d oslo.messaging"},{"line_number":5,"context_line":"namespace \u003d oslo.db"},{"line_number":6,"context_line":"namespace \u003d keystoneclient.middleware.auth_token"}],"source_content_type":"text/plain","patch_set":4,"id":"5a890539_336055cf","line":6,"updated":"2014-11-27 11:52:05.000000000","message":"This should be keystonemiddelware.auth_token\n\nAlso missing oslo.concurrency\n\noslo.log is not released yet. (ironic.openstack.common.logs)","commit_id":"078e86ba0cac846b7e3f52c3985781431398d64b"}],"ironic/opts.py":[{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"89c90a2f312f28281136f0a364522c98bf11929b","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    (None, _build_list(["},{"line_number":76,"context_line":"        ironic.common.driver_factory.driver_opts,"},{"line_number":77,"context_line":"        ironic.common.images.image_opts,"},{"line_number":78,"context_line":"        ironic.common.hash_ring.hash_opts,"},{"line_number":79,"context_line":"        ironic.common.utils.utils_opts,"},{"line_number":80,"context_line":"        ironic.drivers.modules.image_cache.img_cache_opts])),"},{"line_number":81,"context_line":"    (\u0027conductor\u0027, ironic.conductor.manager.conductor_opts),"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_2379b2fc","line":78,"updated":"2014-10-13 16:19:12.000000000","message":"hash_ring config opts need to be available to API services","commit_id":"cfee6499ffe1283caab00c87bba0a751d15f8d69"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"543bbf141fc9d2cf3d7e4c205c2997b9fb7da9a3","unresolved":false,"context_lines":[{"line_number":75,"context_line":"    (None, _build_list(["},{"line_number":76,"context_line":"        ironic.common.driver_factory.driver_opts,"},{"line_number":77,"context_line":"        ironic.common.images.image_opts,"},{"line_number":78,"context_line":"        ironic.common.hash_ring.hash_opts,"},{"line_number":79,"context_line":"        ironic.common.utils.utils_opts,"},{"line_number":80,"context_line":"        ironic.drivers.modules.image_cache.img_cache_opts])),"},{"line_number":81,"context_line":"    (\u0027conductor\u0027, ironic.conductor.manager.conductor_opts),"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_4398761b","line":78,"in_reply_to":"baa201ad_2379b2fc","updated":"2014-10-13 16:25:53.000000000","message":"oh +1 thanks!","commit_id":"cfee6499ffe1283caab00c87bba0a751d15f8d69"},{"author":{"_account_id":2889,"name":"Aeva Black","email":"aeva.online@gmail.com","username":"tenbrae"},"change_message_id":"89c90a2f312f28281136f0a364522c98bf11929b","unresolved":false,"context_lines":[{"line_number":87,"context_line":"                  ironic.common.glance_service.v2.image_service.glance_opts])),"},{"line_number":88,"context_line":"    (\u0027swift\u0027, ironic.common.swift.swift_opts),"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    # Drivers"},{"line_number":91,"context_line":"    (\u0027pxe\u0027, _build_list([ironic.drivers.modules.pxe.pxe_opts,"},{"line_number":92,"context_line":"                         ironic.drivers.modules.iscsi_deploy.pxe_opts])),"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_437cf6eb","line":90,"updated":"2014-10-13 16:19:12.000000000","message":"I would prefer this to use a glob, so we dont need toupdate it every time a new driver is added, removed, or the module refactored in some way","commit_id":"cfee6499ffe1283caab00c87bba0a751d15f8d69"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"543bbf141fc9d2cf3d7e4c205c2997b9fb7da9a3","unresolved":false,"context_lines":[{"line_number":87,"context_line":"                  ironic.common.glance_service.v2.image_service.glance_opts])),"},{"line_number":88,"context_line":"    (\u0027swift\u0027, ironic.common.swift.swift_opts),"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    # Drivers"},{"line_number":91,"context_line":"    (\u0027pxe\u0027, _build_list([ironic.drivers.modules.pxe.pxe_opts,"},{"line_number":92,"context_line":"                         ironic.drivers.modules.iscsi_deploy.pxe_opts])),"},{"line_number":93,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_2363721b","line":90,"in_reply_to":"baa201ad_437cf6eb","updated":"2014-10-13 16:25:53.000000000","message":"Right, yeah I was thinking about it as well... I will try to come up with some solution for that.","commit_id":"cfee6499ffe1283caab00c87bba0a751d15f8d69"},{"author":{"_account_id":9349,"name":"Jon Grimm","email":"jon.grimm@gmail.com","username":"jgrimm"},"change_message_id":"2efacfe89ae3019e9963529f1adefc070a2232c5","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        ironic.common.images.image_opts,"},{"line_number":68,"context_line":"        ironic.common.utils.utils_opts,"},{"line_number":69,"context_line":"        ironic.drivers.modules.image_cache.img_cache_opts])),"},{"line_number":70,"context_line":"    (\u0027database\u0027, ironic.db.sqlalchemy.models.sql_opts),"},{"line_number":71,"context_line":"    (\u0027api\u0027, ironic.api.API_SERVICE_OPTS),"},{"line_number":72,"context_line":"    (\u0027conductor\u0027, ironic.conductor.manager.conductor_opts),"},{"line_number":73,"context_line":"    (\u0027neutron\u0027, ironic.dhcp.neutron.neutron_opts),"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aa7fdbe_db78ad91","line":70,"updated":"2014-10-22 19:27:32.000000000","message":"So do you really want to put all the opts in a single file?  Its a bit more work right now but adding list_opts to the individual modules seems a bit less fiddly to maintain over time.  Especially drivers feel like they should provide their own..","commit_id":"078e86ba0cac846b7e3f52c3985781431398d64b"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"6295dc10a51f11e23a24817aa7bac78d5a1b98f1","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        ironic.common.images.image_opts,"},{"line_number":68,"context_line":"        ironic.common.utils.utils_opts,"},{"line_number":69,"context_line":"        ironic.drivers.modules.image_cache.img_cache_opts])),"},{"line_number":70,"context_line":"    (\u0027database\u0027, ironic.db.sqlalchemy.models.sql_opts),"},{"line_number":71,"context_line":"    (\u0027api\u0027, ironic.api.API_SERVICE_OPTS),"},{"line_number":72,"context_line":"    (\u0027conductor\u0027, ironic.conductor.manager.conductor_opts),"},{"line_number":73,"context_line":"    (\u0027neutron\u0027, ironic.dhcp.neutron.neutron_opts),"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aa7fdbe_bf8e4877","line":70,"in_reply_to":"9aa7fdbe_a52d7a00","updated":"2014-10-24 08:59:55.000000000","message":"So Jon, I could find an example of how it would work... If I add a list_opts() entry point to each module how will that looks like in the setup.cfg? I still have to list all modules that contains a list_opts() function?","commit_id":"078e86ba0cac846b7e3f52c3985781431398d64b"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"210aee60ed54d34284785f6cdbe87b4deac3b11a","unresolved":false,"context_lines":[{"line_number":67,"context_line":"        ironic.common.images.image_opts,"},{"line_number":68,"context_line":"        ironic.common.utils.utils_opts,"},{"line_number":69,"context_line":"        ironic.drivers.modules.image_cache.img_cache_opts])),"},{"line_number":70,"context_line":"    (\u0027database\u0027, ironic.db.sqlalchemy.models.sql_opts),"},{"line_number":71,"context_line":"    (\u0027api\u0027, ironic.api.API_SERVICE_OPTS),"},{"line_number":72,"context_line":"    (\u0027conductor\u0027, ironic.conductor.manager.conductor_opts),"},{"line_number":73,"context_line":"    (\u0027neutron\u0027, ironic.dhcp.neutron.neutron_opts),"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aa7fdbe_a52d7a00","line":70,"in_reply_to":"9aa7fdbe_db78ad91","updated":"2014-10-23 09:50:16.000000000","message":"Oh I would love to do that, I\u0027ve been thinking about a way to make it easier to maintain. I was using Glance[1] as an example to make the Ironic one, and they put everything in a single file too\n\n[1] https://github.com/openstack/glance/blob/master/glance/opts.py","commit_id":"078e86ba0cac846b7e3f52c3985781431398d64b"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"dd4767837b24d4ba1ad8f414a237665a3d8ca7f1","unresolved":false,"context_lines":[{"line_number":109,"context_line":"    generator to discover the options exposed to users by Ironic."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    :returns: a list of (group_name, opts) tuples"},{"line_number":112,"context_line":"    \"\"\""},{"line_number":113,"context_line":"    return [(g, copy.deepcopy(o)) for g, o in _opt_lists]"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a890539_87fbb079","line":112,"updated":"2014-12-04 17:51:49.000000000","message":"if we import the files with the options, won\u0027t oslo.config.cfg.CONF have all the options registered with it? Is there some way we could get the list of options from CONF instead of having to maintain _opt_lists?","commit_id":"078e86ba0cac846b7e3f52c3985781431398d64b"},{"author":{"_account_id":9349,"name":"Jon Grimm","email":"jon.grimm@gmail.com","username":"jgrimm"},"change_message_id":"2efacfe89ae3019e9963529f1adefc070a2232c5","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    :returns: a list of (group_name, opts) tuples"},{"line_number":112,"context_line":"    \"\"\""},{"line_number":113,"context_line":"    return [(g, copy.deepcopy(o)) for g, o in _opt_lists]"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aa7fdbe_1b7315b2","line":113,"updated":"2014-10-22 19:27:32.000000000","message":"FWIW, I had feedback from Doug Hellmann on one of my patches recommended against the deepcopy even though the examples use it.  I can\u0027t see it hurting anything, but removed from my patches on his recommendation.","commit_id":"078e86ba0cac846b7e3f52c3985781431398d64b"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"210aee60ed54d34284785f6cdbe87b4deac3b11a","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    :returns: a list of (group_name, opts) tuples"},{"line_number":112,"context_line":"    \"\"\""},{"line_number":113,"context_line":"    return [(g, copy.deepcopy(o)) for g, o in _opt_lists]"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aa7fdbe_0502c66e","line":113,"in_reply_to":"9aa7fdbe_1b7315b2","updated":"2014-10-23 09:50:16.000000000","message":"Oh thanks for that, will take a look at ur patches","commit_id":"078e86ba0cac846b7e3f52c3985781431398d64b"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7104460d836ed0bf82f551122b9de4fbda5e6f98","unresolved":false,"context_lines":[{"line_number":108,"context_line":"        ironic.drivers.modules.agent.agent_opts,"},{"line_number":109,"context_line":"        ironic.drivers.modules.agent_base_vendor.agent_opts])),"},{"line_number":110,"context_line":"    (\u0027ilo\u0027, _build_list([ironic.drivers.modules.ilo.common.opts,"},{"line_number":111,"context_line":"                         ironic.drivers.modules.ilo.power.opts])),"},{"line_number":112,"context_line":"]"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_d47612d8","line":111,"updated":"2015-02-20 12:42:26.000000000","message":"this looks error-prone. how do we make sure people won\u0027t forget it when introducing drivers/modules?","commit_id":"82138aa1ff578ccfc41d612054157590b1ffd8ad"},{"author":{"_account_id":1726,"name":"Ghe Rivero","email":"ghe.rivero@gmail.com","username":"ghe.rivero"},"change_message_id":"e1b10501a2d938f14dcb6c73a978cedab4607ae5","unresolved":false,"context_lines":[{"line_number":108,"context_line":"        ironic.drivers.modules.agent.agent_opts,"},{"line_number":109,"context_line":"        ironic.drivers.modules.agent_base_vendor.agent_opts])),"},{"line_number":110,"context_line":"    (\u0027ilo\u0027, _build_list([ironic.drivers.modules.ilo.common.opts,"},{"line_number":111,"context_line":"                         ironic.drivers.modules.ilo.power.opts])),"},{"line_number":112,"context_line":"]"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"ba7be1f8_8a462bbe","line":111,"in_reply_to":"ba7be1f8_d47612d8","updated":"2015-02-20 16:55:19.000000000","message":"Yeah. We know it\u0027s error prone and will need manual intervention, but it\u0027s the cleanest way and what everyone else is doing. We tried another approach https://review.openstack.org/#/c/137447/ but wasn\u0027t worth it.","commit_id":"82138aa1ff578ccfc41d612054157590b1ffd8ad"}]}
