)]}'
{"trove/common/cfg.py":[{"author":{"_account_id":9664,"name":"amrith","email":"amrith.kumar@gmail.com","username":"amrith"},"change_message_id":"b7e7ef7122edaab24557085e1647616ea46d8641","unresolved":false,"context_lines":[{"line_number":1203,"context_line":"]"},{"line_number":1204,"context_line":""},{"line_number":1205,"context_line":""},{"line_number":1206,"context_line":"def list_opts():"},{"line_number":1207,"context_line":"    \"\"\"Return a list of oslo.config options available."},{"line_number":1208,"context_line":"    The purpose of this is to allow tools like the Oslo sample config file"},{"line_number":1209,"context_line":"    generator to discover the options exposed to users."}],"source_content_type":"text/x-python","patch_set":5,"id":"3a29b11f_ef972c8e","line":1206,"updated":"2015-10-20 19:10:27.000000000","message":"This code is really purely for use by the new tox test. Why should it be in a shipping file?\n\nShouldn\u0027t it be in some file that lives in trove/tests/?","commit_id":"7778920ac0d009680313650d529d00b017be1f76"},{"author":{"_account_id":12609,"name":"Imran Hayder Malik","email":"hayderimran7@gmail.com","username":"hayderimran7"},"change_message_id":"7b11aac58a988d2600cde992dc9779a47440806f","unresolved":false,"context_lines":[{"line_number":1203,"context_line":"]"},{"line_number":1204,"context_line":""},{"line_number":1205,"context_line":""},{"line_number":1206,"context_line":"def list_opts():"},{"line_number":1207,"context_line":"    \"\"\"Return a list of oslo.config options available."},{"line_number":1208,"context_line":"    The purpose of this is to allow tools like the Oslo sample config file"},{"line_number":1209,"context_line":"    generator to discover the options exposed to users."}],"source_content_type":"text/x-python","patch_set":5,"id":"3a29b11f_e46c2a37","line":1206,"in_reply_to":"3a29b11f_ef972c8e","updated":"2015-10-20 22:17:44.000000000","message":"its declared where the options are defined, in this case , cfg.py is where all options are defined. for better insight, please see how other projects implement it https://github.com/openstack/manila/blob/master/manila/opts.py#L158\nhttps://github.com/openstack/heat/blob/master/heat/common/config.py#L342\nhttps://github.com/openstack/glance/blob/master/glance/opts.py#L144\nthe function list_opts() is always declared where the options are defined for oslo. its a standard practice to generate the config file from the options defined in that project using tox. \nyou can use that or have the team manually take care of .conf file options. ) This adds nothing disruptive to your code, just a feature that most projects follow :)","commit_id":"7778920ac0d009680313650d529d00b017be1f76"}]}
