)]}'
{"ironic/api/controllers/v1/node.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"29292a3b2be2b11b3d935c4767613ecdd449d2a9","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        obj.target_raid_config \u003d wsme.Unset"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"def assert_previous_provision_state_name(obj):"},{"line_number":122,"context_line":"    # if requested version is \u003c 1.2, convert AVAILABLE to the old NOSTATE"},{"line_number":123,"context_line":"    if (pecan.request.version.minor \u003c versions.MINOR_2_AVAILABLE_STATE and"},{"line_number":124,"context_line":"            obj.provision_state \u003d\u003d ir_states.AVAILABLE):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a061dce_04733716","line":121,"range":{"start_line":121,"start_character":4,"end_line":121,"end_character":40},"updated":"2016-04-06 12:59:41.000000000","message":"What about assert_provision_state_compatible_with_old_api_versions?","commit_id":"22a0a1c009142fcb90e343264b73148624a801d2"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"0d58a69053523e0de20e1dde5a2ae827c606dc77","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        obj.target_raid_config \u003d wsme.Unset"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"def assert_previous_provision_state_name(obj):"},{"line_number":122,"context_line":"    # if requested version is \u003c 1.2, convert AVAILABLE to the old NOSTATE"},{"line_number":123,"context_line":"    if (pecan.request.version.minor \u003c versions.MINOR_2_AVAILABLE_STATE and"},{"line_number":124,"context_line":"            obj.provision_state \u003d\u003d ir_states.AVAILABLE):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a061dce_fa15f8e4","line":121,"range":{"start_line":121,"start_character":4,"end_line":121,"end_character":40},"in_reply_to":"9a061dce_04733716","updated":"2016-04-06 13:24:59.000000000","message":"I was trying to keep it short so we don\u0027t exceed 80 chars, and that would only be 66 for that line. 73 on one of the other lines.  I could go for it though if there is consensus.","commit_id":"22a0a1c009142fcb90e343264b73148624a801d2"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"1dc9bc8bb03179910248bd750fc1322b421dfeb8","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        obj.target_raid_config \u003d wsme.Unset"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"def assert_previous_provision_state_name(obj):"},{"line_number":122,"context_line":"    # if requested version is \u003c 1.2, convert AVAILABLE to the old NOSTATE"},{"line_number":123,"context_line":"    if (pecan.request.version.minor \u003c versions.MINOR_2_AVAILABLE_STATE and"},{"line_number":124,"context_line":"            obj.provision_state \u003d\u003d ir_states.AVAILABLE):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a061dce_c319228a","line":121,"range":{"start_line":121,"start_character":4,"end_line":121,"end_character":40},"in_reply_to":"9a061dce_08734116","updated":"2016-04-06 17:30:24.000000000","message":"I\u0027m adding masking for two more names in https://review.openstack.org/#/c/275766/, so a specific name is not exactly ideal :)","commit_id":"22a0a1c009142fcb90e343264b73148624a801d2"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"1b43dfe3ec4d6670f7c899d7c36bf0b1eac1911f","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        obj.target_raid_config \u003d wsme.Unset"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"def assert_previous_provision_state_name(obj):"},{"line_number":122,"context_line":"    # if requested version is \u003c 1.2, convert AVAILABLE to the old NOSTATE"},{"line_number":123,"context_line":"    if (pecan.request.version.minor \u003c versions.MINOR_2_AVAILABLE_STATE and"},{"line_number":124,"context_line":"            obj.provision_state \u003d\u003d ir_states.AVAILABLE):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a061dce_e964f3b9","line":121,"range":{"start_line":121,"start_character":4,"end_line":121,"end_character":40},"in_reply_to":"9a061dce_c319228a","updated":"2016-04-07 03:34:13.000000000","message":"what about keep consistent with hide_fields_in_newer_version() above and name this like assert_provision_state_in_newer_versions()","commit_id":"22a0a1c009142fcb90e343264b73148624a801d2"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"9081ae3f1733a4bf0ff77bd23dd47133d8f68f44","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        obj.target_raid_config \u003d wsme.Unset"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"def assert_previous_provision_state_name(obj):"},{"line_number":122,"context_line":"    # if requested version is \u003c 1.2, convert AVAILABLE to the old NOSTATE"},{"line_number":123,"context_line":"    if (pecan.request.version.minor \u003c versions.MINOR_2_AVAILABLE_STATE and"},{"line_number":124,"context_line":"            obj.provision_state \u003d\u003d ir_states.AVAILABLE):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a061dce_f5da8f16","line":121,"range":{"start_line":121,"start_character":4,"end_line":121,"end_character":40},"in_reply_to":"9a061dce_e964f3b9","updated":"2016-04-08 19:57:51.000000000","message":"I would like a docstring to explain what this function does. \n\nAs far as the name, my main issue is why is \"assert\" in the name. That makes me think it will raise some kind of exception. And I realize it was that way before...\n\nIt doesn\u0027t seem like this function does any asserts. It changes the provision state for older API versions.","commit_id":"22a0a1c009142fcb90e343264b73148624a801d2"},{"author":{"_account_id":5805,"name":"Chris Krelle","email":"nobodycam@gmail.com","username":"nobodycam"},"change_message_id":"8b7d4a0796a721a17c345775cb2c6231aab5e909","unresolved":false,"context_lines":[{"line_number":118,"context_line":"        obj.target_raid_config \u003d wsme.Unset"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"def assert_previous_provision_state_name(obj):"},{"line_number":122,"context_line":"    # if requested version is \u003c 1.2, convert AVAILABLE to the old NOSTATE"},{"line_number":123,"context_line":"    if (pecan.request.version.minor \u003c versions.MINOR_2_AVAILABLE_STATE and"},{"line_number":124,"context_line":"            obj.provision_state \u003d\u003d ir_states.AVAILABLE):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a061dce_08734116","line":121,"range":{"start_line":121,"start_character":4,"end_line":121,"end_character":40},"in_reply_to":"9a061dce_fa15f8e4","updated":"2016-04-06 14:52:48.000000000","message":"I can see where previous might be miss leading here. Maybe \"assert_nostate_provision_state\"?","commit_id":"22a0a1c009142fcb90e343264b73148624a801d2"},{"author":{"_account_id":10342,"name":"Jay Faulkner","display_name":"JayF","email":"jay@jvf.cc","username":"JayF","status":"youtube.com/@oss-gr / podcast.gr-oss.io"},"change_message_id":"96452650999af37124665f3de3faae6e84443fd8","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"def update_state_in_older_versions(obj):"},{"line_number":122,"context_line":"    # if requested version is \u003c 1.2, convert AVAILABLE to the old NOSTATE"},{"line_number":123,"context_line":"    if (pecan.request.version.minor \u003c versions.MINOR_2_AVAILABLE_STATE and"},{"line_number":124,"context_line":"            obj.provision_state \u003d\u003d ir_states.AVAILABLE):"},{"line_number":125,"context_line":"        obj.provision_state \u003d ir_states.NOSTATE"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a061dce_0bf1e4cd","line":122,"updated":"2016-04-08 20:51:45.000000000","message":"Given we bikeshedded so much over the name, it seems like John\u0027s suggestion for a docstring is pretty valid. Can you add one?","commit_id":"b5364356161dd2a4994b39dce6253e9e8a54834d"}]}
