)]}'
{"horizon/workflows/base.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"445202960ad4cc20610a43d809944731d679518a","unresolved":false,"context_lines":[{"line_number":765,"context_line":"            return True"},{"line_number":766,"context_line":""},{"line_number":767,"context_line":"    @classmethod"},{"line_number":768,"context_line":"    def unregister(cls, step_class, if_exist\u003dFalse):"},{"line_number":769,"context_line":"        \"\"\"Unregisters a :class:`~horizon.workflows.Step` from the workflow."},{"line_number":770,"context_line":""},{"line_number":771,"context_line":"        ``True`` is returned if the specified ``step_class`` is successfully"}],"source_content_type":"text/x-python","patch_set":2,"id":"ffe62b97_822f7aa6","line":768,"updated":"2017-03-30 08:40:58.000000000","message":"This change is required by the security group feature, so we need to move this to the other patch.","commit_id":"2085e36dec87fb5c821fb68835593a6230e7edf6"}],"openstack_dashboard/dashboards/admin/networks/ports/workflows.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"88cdbfa6c5a96049676dbae947927fb18d00a485","unresolved":false,"context_lines":[{"line_number":61,"context_line":"                   \"mac_address\"]"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"class UpdatePort(workflows.Workflow):"},{"line_number":65,"context_line":"    slug \u003d \"update_port\""},{"line_number":66,"context_line":"    name \u003d _(\"Update Port\")"},{"line_number":67,"context_line":"    finalize_button_name \u003d _(\"Update\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"dfeb2761_e83023eb","line":64,"range":{"start_line":64,"start_character":17,"end_line":64,"end_character":36},"updated":"2017-04-02 15:51:24.000000000","message":"It is better to inherit project_workflow.UpdatePort. This reduces the duplicated codes a lot. Fixed in patch set 5.","commit_id":"696d6ba02589498d81de37ed2ba116f234c8a094"}],"openstack_dashboard/dashboards/project/networks/ports/workflows.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"5e4c1dcc14657b43d9bdf6db43231d2219f1c062","unresolved":false,"context_lines":[{"line_number":100,"context_line":"                   \"binding__vnic_type\", \"mac_state\", \"port_security_enabled\"]"},{"line_number":101,"context_line":"    help_text \u003d _(\"You can update the editable properties of your port here.\")"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def contribute(self, data, context):"},{"line_number":104,"context_line":"        request \u003d self.workflow.request"},{"line_number":105,"context_line":"        if (not api.neutron.is_extension_supported(request, \u0027binding\u0027) and"},{"line_number":106,"context_line":"                \u0027binding__vnic_type\u0027 in self.contributes):"}],"source_content_type":"text/x-python","patch_set":4,"id":"dfeb2761_62a8b4da","line":103,"range":{"start_line":103,"start_character":4,"end_line":103,"end_character":40},"updated":"2017-04-02 11:20:40.000000000","message":"Do we need to override contribute() method?\nhandle() below checks the availability of extensions and sets only required attributes, so I think the default contribute() is enough.","commit_id":"696d6ba02589498d81de37ed2ba116f234c8a094"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"88cdbfa6c5a96049676dbae947927fb18d00a485","unresolved":false,"context_lines":[{"line_number":100,"context_line":"                   \"binding__vnic_type\", \"mac_state\", \"port_security_enabled\"]"},{"line_number":101,"context_line":"    help_text \u003d _(\"You can update the editable properties of your port here.\")"},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"    def contribute(self, data, context):"},{"line_number":104,"context_line":"        request \u003d self.workflow.request"},{"line_number":105,"context_line":"        if (not api.neutron.is_extension_supported(request, \u0027binding\u0027) and"},{"line_number":106,"context_line":"                \u0027binding__vnic_type\u0027 in self.contributes):"}],"source_content_type":"text/x-python","patch_set":4,"id":"dfeb2761_a82b3b80","line":103,"range":{"start_line":103,"start_character":4,"end_line":103,"end_character":40},"in_reply_to":"dfeb2761_62a8b4da","updated":"2017-04-02 15:51:24.000000000","message":"Done in patch set 6","commit_id":"696d6ba02589498d81de37ed2ba116f234c8a094"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"5e4c1dcc14657b43d9bdf6db43231d2219f1c062","unresolved":false,"context_lines":[{"line_number":114,"context_line":"            self.contributes.remove(\u0027port_security_enabled\u0027)"},{"line_number":115,"context_line":"        if data:"},{"line_number":116,"context_line":"            for key in self.contributes:"},{"line_number":117,"context_line":"                context[key] \u003d data.get(key, None)"},{"line_number":118,"context_line":"        return context"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"dfeb2761_026448e3","line":117,"range":{"start_line":117,"start_character":31,"end_line":117,"end_character":50},"updated":"2017-04-02 11:20:40.000000000","message":"Is there a case where \u0027key\u0027 is not included in data?\nI think required check is already done above (L.105-114)","commit_id":"696d6ba02589498d81de37ed2ba116f234c8a094"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"88cdbfa6c5a96049676dbae947927fb18d00a485","unresolved":false,"context_lines":[{"line_number":114,"context_line":"            self.contributes.remove(\u0027port_security_enabled\u0027)"},{"line_number":115,"context_line":"        if data:"},{"line_number":116,"context_line":"            for key in self.contributes:"},{"line_number":117,"context_line":"                context[key] \u003d data.get(key, None)"},{"line_number":118,"context_line":"        return context"},{"line_number":119,"context_line":""},{"line_number":120,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"dfeb2761_8822b7a3","line":117,"range":{"start_line":117,"start_character":31,"end_line":117,"end_character":50},"in_reply_to":"dfeb2761_026448e3","updated":"2017-04-02 15:51:24.000000000","message":"contribute() method itself was dropped in patch set 6.","commit_id":"696d6ba02589498d81de37ed2ba116f234c8a094"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"5e4c1dcc14657b43d9bdf6db43231d2219f1c062","unresolved":false,"context_lines":[{"line_number":150,"context_line":"                                           name\u003ddata[\u0027name\u0027],"},{"line_number":151,"context_line":"                                           admin_state_up\u003ddata[\u0027admin_state\u0027],"},{"line_number":152,"context_line":"                                           **extension_kwargs)"},{"line_number":153,"context_line":"            return port"},{"line_number":154,"context_line":"        except Exception:"},{"line_number":155,"context_line":"            msg \u003d _(\u0027Failed to update port %s\u0027) % port_id"},{"line_number":156,"context_line":"            LOG.info(msg)"}],"source_content_type":"text/x-python","patch_set":4,"id":"dfeb2761_22aaacd1","line":153,"range":{"start_line":153,"start_character":12,"end_line":153,"end_character":23},"updated":"2017-04-02 11:20:40.000000000","message":"workflow.handle() should return either of True/False.","commit_id":"696d6ba02589498d81de37ed2ba116f234c8a094"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"88cdbfa6c5a96049676dbae947927fb18d00a485","unresolved":false,"context_lines":[{"line_number":150,"context_line":"                                           name\u003ddata[\u0027name\u0027],"},{"line_number":151,"context_line":"                                           admin_state_up\u003ddata[\u0027admin_state\u0027],"},{"line_number":152,"context_line":"                                           **extension_kwargs)"},{"line_number":153,"context_line":"            return port"},{"line_number":154,"context_line":"        except Exception:"},{"line_number":155,"context_line":"            msg \u003d _(\u0027Failed to update port %s\u0027) % port_id"},{"line_number":156,"context_line":"            LOG.info(msg)"}],"source_content_type":"text/x-python","patch_set":4,"id":"dfeb2761_483cafc7","line":153,"range":{"start_line":153,"start_character":12,"end_line":153,"end_character":23},"in_reply_to":"dfeb2761_22aaacd1","updated":"2017-04-02 15:51:24.000000000","message":"Done in patch set 5.","commit_id":"696d6ba02589498d81de37ed2ba116f234c8a094"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"5e4c1dcc14657b43d9bdf6db43231d2219f1c062","unresolved":false,"context_lines":[{"line_number":154,"context_line":"        except Exception:"},{"line_number":155,"context_line":"            msg \u003d _(\u0027Failed to update port %s\u0027) % port_id"},{"line_number":156,"context_line":"            LOG.info(msg)"},{"line_number":157,"context_line":"            exceptions.handle(request, msg, redirect\u003dself.get_failure_url())"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    def get_extensions(self, data):"},{"line_number":160,"context_line":"        extension_kwargs \u003d {}"}],"source_content_type":"text/x-python","patch_set":4,"id":"dfeb2761_22cbcc72","line":157,"updated":"2017-04-02 11:20:40.000000000","message":"When workflow is used, we usually delegate an exception handling to workflow.view. Isn\u0027t better to do so?","commit_id":"696d6ba02589498d81de37ed2ba116f234c8a094"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"88cdbfa6c5a96049676dbae947927fb18d00a485","unresolved":false,"context_lines":[{"line_number":154,"context_line":"        except Exception:"},{"line_number":155,"context_line":"            msg \u003d _(\u0027Failed to update port %s\u0027) % port_id"},{"line_number":156,"context_line":"            LOG.info(msg)"},{"line_number":157,"context_line":"            exceptions.handle(request, msg, redirect\u003dself.get_failure_url())"},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"    def get_extensions(self, data):"},{"line_number":160,"context_line":"        extension_kwargs \u003d {}"}],"source_content_type":"text/x-python","patch_set":4,"id":"dfeb2761_0836a7e7","line":157,"in_reply_to":"dfeb2761_22cbcc72","updated":"2017-04-02 15:51:24.000000000","message":"Done in patch set 5.","commit_id":"696d6ba02589498d81de37ed2ba116f234c8a094"}]}
