)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"7509324e2e04f4b56d7f56b26c8c51f6fd630150","unresolved":false,"context_lines":[{"line_number":12,"context_line":"when moving to the use of oslo-config-generator."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"* Have current config generator code use a 79 character line width."},{"line_number":15,"context_line":"  79 characters \u003d 77 + len(\"# \")"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* Put spaces between variable and value. For example \"foo \u003d spam\","},{"line_number":18,"context_line":"  instead of \"foo\u003dspam\""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"9a061dce_4645a515","line":15,"updated":"2016-04-08 15:00:48.000000000","message":"this is not required, you can configure line width for oslo-config-generator, e.g. https://review.openstack.org/#/c/288500/1/inspector-config-generator.conf\n\nI suggest we make it a separate change, if we ever do it","commit_id":"5d1241caf3874ab1143651ecb046188855b895a0"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"ccc787be2c776e9169b04ff085b85b100fd6beea","unresolved":false,"context_lines":[{"line_number":12,"context_line":"when moving to the use of oslo-config-generator."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"* Have current config generator code use a 79 character line width."},{"line_number":15,"context_line":"  79 characters \u003d 77 + len(\"# \")"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* Put spaces between variable and value. For example \"foo \u003d spam\","},{"line_number":18,"context_line":"  instead of \"foo\u003dspam\""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"9a061dce_b71669ef","line":15,"in_reply_to":"9a061dce_3ca35e51","updated":"2016-04-08 15:45:23.000000000","message":"Sounds good. Thanks.\n\nI won\u0027t change the wrap width. Will fix the spaces around \"variable \u003d value\"","commit_id":"5d1241caf3874ab1143651ecb046188855b895a0"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"b69ef5039622c06a0cd3c2a7b998a223902fd7f3","unresolved":false,"context_lines":[{"line_number":12,"context_line":"when moving to the use of oslo-config-generator."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"* Have current config generator code use a 79 character line width."},{"line_number":15,"context_line":"  79 characters \u003d 77 + len(\"# \")"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* Put spaces between variable and value. For example \"foo \u003d spam\","},{"line_number":18,"context_line":"  instead of \"foo\u003dspam\""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"9a061dce_e180238e","line":15,"in_reply_to":"9a061dce_4645a515","updated":"2016-04-08 15:27:35.000000000","message":"I was trying to be in sync with the proposed patch which convert to oslo-config-generator\n\nhttps://review.openstack.org/#/c/247331/11/tools/config/ironic-config-generator.conf","commit_id":"5d1241caf3874ab1143651ecb046188855b895a0"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"5a2bd6e3700e2c64c9b737cc6f55768f8f8dc800","unresolved":false,"context_lines":[{"line_number":12,"context_line":"when moving to the use of oslo-config-generator."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"* Have current config generator code use a 79 character line width."},{"line_number":15,"context_line":"  79 characters \u003d 77 + len(\"# \")"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* Put spaces between variable and value. For example \"foo \u003d spam\","},{"line_number":18,"context_line":"  instead of \"foo\u003dspam\""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"9a061dce_fca446ba","line":15,"in_reply_to":"9a061dce_9c126a57","updated":"2016-04-08 15:33:19.000000000","message":"That was the goal of this patch. To make it separate so that we can see what the oslo-config-generator patch is really changing.\n\nOr are you suggesting we change the oslo-config-generator patch to use 62 instead of 79 for the wrap_width option.\n\nThere is an out-of-date proof of concept located here of the oslo-config-generator patch rebased to use this current patch:\nhttps://review.openstack.org/#/c/303057/\n\nThough I was thinking about splitting this current patch into two parts.  1) whitespace only changes,  2) text changes","commit_id":"5d1241caf3874ab1143651ecb046188855b895a0"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"ad921568049a481fbc1543a21e06cd4e51feac37","unresolved":false,"context_lines":[{"line_number":12,"context_line":"when moving to the use of oslo-config-generator."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"* Have current config generator code use a 79 character line width."},{"line_number":15,"context_line":"  79 characters \u003d 77 + len(\"# \")"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* Put spaces between variable and value. For example \"foo \u003d spam\","},{"line_number":18,"context_line":"  instead of \"foo\u003dspam\""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"9a061dce_9c126a57","line":15,"in_reply_to":"9a061dce_e180238e","updated":"2016-04-08 15:29:02.000000000","message":"Yeah, but lets try to avoid such a huge patch (or at least make it separate)","commit_id":"5d1241caf3874ab1143651ecb046188855b895a0"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"e94a0402a1d11371d59858e392b98d4df1999d68","unresolved":false,"context_lines":[{"line_number":12,"context_line":"when moving to the use of oslo-config-generator."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"* Have current config generator code use a 79 character line width."},{"line_number":15,"context_line":"  79 characters \u003d 77 + len(\"# \")"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"* Put spaces between variable and value. For example \"foo \u003d spam\","},{"line_number":18,"context_line":"  instead of \"foo\u003dspam\""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"9a061dce_3ca35e51","line":15,"in_reply_to":"9a061dce_fca446ba","updated":"2016-04-08 15:36:59.000000000","message":"I was thinking about 1. land this patch without whitespace change, 2. land oslo-config-generator patch with the wrap_width set to 62, 3. think if we need to change it","commit_id":"5d1241caf3874ab1143651ecb046188855b895a0"}],"ironic/common/config_generator/generator.py":[{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"ed4f49b95ddcf98e98b2c38c9a83e7a7c9e1867d","unresolved":false,"context_lines":[{"line_number":52,"context_line":"PORTOPT \u003d \"PortOpt\""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"OPT_TYPES \u003d {"},{"line_number":55,"context_line":"    OPT: \u0027type of value is unknown\u0027,"},{"line_number":56,"context_line":"    STROPT: \u0027string value\u0027,"},{"line_number":57,"context_line":"    BOOLOPT: \u0027boolean value\u0027,"},{"line_number":58,"context_line":"    INTOPT: \u0027integer value\u0027,"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a061dce_1cccbe87","line":55,"range":{"start_line":55,"start_character":10,"end_line":55,"end_character":34},"updated":"2016-04-08 03:14:28.000000000","message":"s/type of value is unknown/unknown value/","commit_id":"26005f1ca526f98548eeeef16ce140ea19e1daba"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"ed4f49b95ddcf98e98b2c38c9a83e7a7c9e1867d","unresolved":false,"context_lines":[{"line_number":291,"context_line":""},{"line_number":292,"context_line":"    # NOTE(lintan): choices are mutually exclusive with \u0027min/max\u0027,"},{"line_number":293,"context_line":"    # see oslo.config for more details."},{"line_number":294,"context_line":"    if min_value is not None and max_value is not None:"},{"line_number":295,"context_line":"        print(\u0027# Possible values: %(min_value)d-%(max_value)d\u0027 %"},{"line_number":296,"context_line":"              {\u0027min_value\u0027: min_value, \u0027max_value\u0027: max_value})"},{"line_number":297,"context_line":"    elif min_value is not None:"},{"line_number":298,"context_line":"        print(\u0027# Minimum value: %d\u0027 % min_value)"},{"line_number":299,"context_line":"    elif max_value is not None:"},{"line_number":300,"context_line":"        print(\u0027# Maximum value: %d\u0027 % max_value)"},{"line_number":301,"context_line":"    elif choices is not None:"},{"line_number":302,"context_line":"        if choices \u003d\u003d []:"},{"line_number":303,"context_line":"            print(\u0027# No possible values.\u0027)"},{"line_number":304,"context_line":"        else:"},{"line_number":305,"context_line":"            choices_text \u003d \u0027, \u0027.join([_get_choice_text(choice)"},{"line_number":306,"context_line":"                                     for choice in choices])"},{"line_number":307,"context_line":"            print(\u0027# Allowed values: %s\u0027 % choices_text)"},{"line_number":308,"context_line":""},{"line_number":309,"context_line":"    if opt.deprecated_opts:"},{"line_number":310,"context_line":"        for deprecated_opt in opt.deprecated_opts:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a061dce_7c021ab5","line":307,"range":{"start_line":294,"start_character":0,"end_line":307,"end_character":56},"updated":"2016-04-08 03:14:28.000000000","message":"This should rewrite to follow oslo-config-generator style:\n\nif min_value is not None:\n    print(\u0027# Minimum value: %d\u0027 % min_value)\nif max_value is not None:\n    print(\u0027# Maximum value: %d\u0027 % max_value)\nif choices is not None:\n    if choices \u003d\u003d []:\n        print(\u0027# No possible values.\u0027)\n    else:\n        choices_text \u003d \u0027, \u0027.join([_get_choice_text(choice)\n        print(\u0027# Allowed values: %s\u0027 % choices_text)","commit_id":"26005f1ca526f98548eeeef16ce140ea19e1daba"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"ed4f49b95ddcf98e98b2c38c9a83e7a7c9e1867d","unresolved":false,"context_lines":[{"line_number":316,"context_line":"                  (deprecated_group,"},{"line_number":317,"context_line":"                   deprecated_name))"},{"line_number":318,"context_line":"    if opt.deprecated_for_removal:"},{"line_number":319,"context_line":"        print(\u0027# This option is deprecated and planned for removal in a \u0027"},{"line_number":320,"context_line":"              \u0027future release.\u0027)"},{"line_number":321,"context_line":"    try:"},{"line_number":322,"context_line":"        if opt_default is None:"},{"line_number":323,"context_line":"            print(\u0027#%s \u003d \u003cNone\u003e\u0027 % opt_name)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a061dce_dcf406f2","line":320,"range":{"start_line":319,"start_character":8,"end_line":320,"end_character":32},"updated":"2016-04-08 03:14:28.000000000","message":"You should change this to \nprint(\u0027# This option is deprecated and planned for removal.\u0027)\nprint(\u0027# Its value may be silently ignored in the future.\u0027)","commit_id":"26005f1ca526f98548eeeef16ce140ea19e1daba"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"5c5d4f85e03f2e1f4e5ea04a3b1211cba34c5e18","unresolved":false,"context_lines":[{"line_number":331,"context_line":"        print(\u0027#%s \u003d %s\u0027 % (opt_name, opt_default))"},{"line_number":332,"context_line":"    elif opt_type \u003d\u003d STROPT:"},{"line_number":333,"context_line":"        assert(isinstance(opt_default, six.string_types))"},{"line_number":334,"context_line":"        print(\u0027#%s \u003d %s\u0027 % (opt_name, _sanitize_default(opt_name,"},{"line_number":335,"context_line":"                                                        opt_default)))"},{"line_number":336,"context_line":"    elif opt_type \u003d\u003d BOOLOPT:"},{"line_number":337,"context_line":"        assert(isinstance(opt_default, bool))"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a061dce_f3e1149c","line":334,"range":{"start_line":334,"start_character":18,"end_line":334,"end_character":21},"updated":"2016-04-08 16:02:35.000000000","message":"this results in a space printed in the end of line for empty string value. I\u0027m looking at inspector example.conf, and it does not seem to be the case. could you check it please?","commit_id":"15558eba4fb1ea343b64dc89b43a88f65ed87790"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"1da4006700edaefb93e8616f66e672b88dd278a8","unresolved":false,"context_lines":[{"line_number":331,"context_line":"        print(\u0027#%s \u003d %s\u0027 % (opt_name, opt_default))"},{"line_number":332,"context_line":"    elif opt_type \u003d\u003d STROPT:"},{"line_number":333,"context_line":"        assert(isinstance(opt_default, six.string_types))"},{"line_number":334,"context_line":"        print(\u0027#%s \u003d %s\u0027 % (opt_name, _sanitize_default(opt_name,"},{"line_number":335,"context_line":"                                                        opt_default)))"},{"line_number":336,"context_line":"    elif opt_type \u003d\u003d BOOLOPT:"},{"line_number":337,"context_line":"        assert(isinstance(opt_default, bool))"}],"source_content_type":"text/x-python","patch_set":6,"id":"9a061dce_3c9fd9b5","line":334,"range":{"start_line":334,"start_character":18,"end_line":334,"end_character":21},"in_reply_to":"9a061dce_f3e1149c","updated":"2016-04-08 16:39:37.000000000","message":"Yeah, I noticed that. I was thinking it would be temporary as oslo-config-generator fixes it.\n\nBut I went ahead and added some logic to handle the case. I will upload patch.","commit_id":"15558eba4fb1ea343b64dc89b43a88f65ed87790"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"85f354cd08ba4f55cd3b424307aa3ab66885b9c9","unresolved":false,"context_lines":[{"line_number":281,"context_line":"            \"Config option: {!r} Unknown option type: {}\\n\".format("},{"line_number":282,"context_line":"                opt_name, type(opt)))"},{"line_number":283,"context_line":"    opt_type \u003d result.group(0)"},{"line_number":284,"context_line":"    opt_help \u003d u\u0027%s (%s)\u0027 % (opt_help,"},{"line_number":285,"context_line":"                             OPT_TYPES[opt_type])"},{"line_number":286,"context_line":"    print(\u0027#\u0027, \"\\n# \".join(textwrap.wrap(opt_help, WORDWRAP_WIDTH)))"},{"line_number":287,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"9a061dce_3c5fd476","line":284,"range":{"start_line":284,"start_character":20,"end_line":284,"end_character":24},"updated":"2016-04-08 18:52:44.000000000","message":"Just my thinking out loud: I would like to see this on it\u0027s own line.","commit_id":"52fe4a96876ce816acbb49cd89094ba7f006e815"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"ba11bf19f878086267edb8d2aec6922e31de0928","unresolved":false,"context_lines":[{"line_number":281,"context_line":"            \"Config option: {!r} Unknown option type: {}\\n\".format("},{"line_number":282,"context_line":"                opt_name, type(opt)))"},{"line_number":283,"context_line":"    opt_type \u003d result.group(0)"},{"line_number":284,"context_line":"    opt_help \u003d u\u0027%s (%s)\u0027 % (opt_help,"},{"line_number":285,"context_line":"                             OPT_TYPES[opt_type])"},{"line_number":286,"context_line":"    print(\u0027#\u0027, \"\\n# \".join(textwrap.wrap(opt_help, WORDWRAP_WIDTH)))"},{"line_number":287,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"9a061dce_150903de","line":284,"range":{"start_line":284,"start_character":20,"end_line":284,"end_character":24},"in_reply_to":"9a061dce_3c5fd476","updated":"2016-04-08 19:49:59.000000000","message":"Okay, but I didn\u0027t touch this code :)\n\nAnd we are hoping to delete this entire file in the next patch, when moving to oslo-config-generator.","commit_id":"52fe4a96876ce816acbb49cd89094ba7f006e815"}]}
