)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"701f36724bc791399921a4bf059de7d6357ade85","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"rehome a few neutron.common.utils functions"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Please see the release note included herein for a"},{"line_number":10,"context_line":"description of what\u0027s rehomed as part of this patch."},{"line_number":11,"context_line":"UTs and a release note are also included."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I62958e30695663797d79ed6bd1260edbb46a1bf4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"bff0334d_c78a8268","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":52},"updated":"2017-04-11 05:32:53.000000000","message":"In commit massage I\u0027d like to see what\u0027s this patch for.","commit_id":"497f7e59de10fe78827af52e6e780adbd6b09938"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"0f542748c4d4bf70f1567df23a5c6dd098ac9fad","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"rehome a few neutron.common.utils functions"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Please see the release note included herein for a"},{"line_number":10,"context_line":"description of what\u0027s rehomed as part of this patch."},{"line_number":11,"context_line":"UTs and a release note are also included."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I62958e30695663797d79ed6bd1260edbb46a1bf4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"bff0334d_af062ccd","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":52},"in_reply_to":"bff0334d_59ec0e8e","updated":"2017-04-11 12:39:42.000000000","message":"I meant that users want to read clear descriptions about the change by \"git log\" and so on. This just says \"changes something in util function\" and \"Open commit and see relese note if you know this change is for something\".Your other all commits have a message which is friendly to users so I felt strange. For example, it\u0027s something like the following...\n\n\n Rehome load_class_by_alias_or_classname from util functions\n\n\n This patch rehomes neutron.common.utils.load_class_by_alias_or_classname as\n neutron_lib.utils.runtime.load_class_by_alias_or_classname.","commit_id":"497f7e59de10fe78827af52e6e780adbd6b09938"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"90dc321a2e86008435b728d4ab5f7e0b005b84e9","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"rehome a few neutron.common.utils functions"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Please see the release note included herein for a"},{"line_number":10,"context_line":"description of what\u0027s rehomed as part of this patch."},{"line_number":11,"context_line":"UTs and a release note are also included."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I62958e30695663797d79ed6bd1260edbb46a1bf4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"bff0334d_0b6629c2","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":52},"in_reply_to":"bff0334d_af062ccd","updated":"2017-04-11 12:53:26.000000000","message":"Done.","commit_id":"497f7e59de10fe78827af52e6e780adbd6b09938"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"69dc65d1f8b54f0e245cb8e36b549914c669d297","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"rehome a few neutron.common.utils functions"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Please see the release note included herein for a"},{"line_number":10,"context_line":"description of what\u0027s rehomed as part of this patch."},{"line_number":11,"context_line":"UTs and a release note are also included."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I62958e30695663797d79ed6bd1260edbb46a1bf4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"bff0334d_59ec0e8e","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":52},"in_reply_to":"bff0334d_c78a8268","updated":"2017-04-11 10:51:16.000000000","message":"Not really sure what you\u0027re asking for here, but I\u0027ll add some info to see if I can guess.","commit_id":"497f7e59de10fe78827af52e6e780adbd6b09938"}],"neutron_lib/tests/unit/utils/test_runtime.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"952211460a94f80787914b716995efa1c1f3ca2c","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"class _DummyDriver(object):"},{"line_number":21,"context_line":"    driver \u003d mock.ANY"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class TestRunTime(base.BaseTestCase):"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_8e44001d","line":21,"range":{"start_line":21,"start_character":13,"end_line":21,"end_character":21},"updated":"2017-05-19 11:50:26.000000000","message":"It is better to use mock.sentinel [1]. It returns an unique object.\n\n  driver \u003d mock.sentinel.dummy_driver\n\n[1] https://docs.python.org/3/library/unittest.mock.html#unittest.mock.sentinel","commit_id":"85026f08a4e4825d12616b0634b204150681a2d1"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"533ceabf098d4554383b3c946a6c7352b5296428","unresolved":false,"context_lines":[{"line_number":18,"context_line":""},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"class _DummyDriver(object):"},{"line_number":21,"context_line":"    driver \u003d mock.ANY"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"class TestRunTime(base.BaseTestCase):"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_58542f21","line":21,"range":{"start_line":21,"start_character":13,"end_line":21,"end_character":21},"in_reply_to":"ff0f0b1f_8e44001d","updated":"2017-05-22 18:50:08.000000000","message":"Done","commit_id":"85026f08a4e4825d12616b0634b204150681a2d1"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"952211460a94f80787914b716995efa1c1f3ca2c","unresolved":false,"context_lines":[{"line_number":44,"context_line":"            runtime.load_class_by_alias_or_classname, \u0027ns\u0027, \u0027_NoClass\u0027)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    @mock.patch.object(runtime.importutils, \u0027import_class\u0027,"},{"line_number":47,"context_line":"                       return_value\u003dmock.ANY)"},{"line_number":48,"context_line":"    @mock.patch.object(runtime, \u0027LOG\u0027)"},{"line_number":49,"context_line":"    def test_load_class_by_alias_or_classname_with_classname("},{"line_number":50,"context_line":"            self, mock_log, mock_import):"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_6e22cc54","line":47,"range":{"start_line":47,"start_character":36,"end_line":47,"end_character":44},"updated":"2017-05-19 11:50:26.000000000","message":"Same comment as for L.21.\n\n  mock.sentinel.dummy_class\n\nBy doing so, we can distinguish DummyDriver.driver and a class case.\nIn the current code, we cannot distinguish a value returned by stevedore and a class directly specified.","commit_id":"85026f08a4e4825d12616b0634b204150681a2d1"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"533ceabf098d4554383b3c946a6c7352b5296428","unresolved":false,"context_lines":[{"line_number":44,"context_line":"            runtime.load_class_by_alias_or_classname, \u0027ns\u0027, \u0027_NoClass\u0027)"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"    @mock.patch.object(runtime.importutils, \u0027import_class\u0027,"},{"line_number":47,"context_line":"                       return_value\u003dmock.ANY)"},{"line_number":48,"context_line":"    @mock.patch.object(runtime, \u0027LOG\u0027)"},{"line_number":49,"context_line":"    def test_load_class_by_alias_or_classname_with_classname("},{"line_number":50,"context_line":"            self, mock_log, mock_import):"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_b826abcd","line":47,"range":{"start_line":47,"start_character":36,"end_line":47,"end_character":44},"in_reply_to":"ff0f0b1f_6e22cc54","updated":"2017-05-22 18:50:08.000000000","message":"Done","commit_id":"85026f08a4e4825d12616b0634b204150681a2d1"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"952211460a94f80787914b716995efa1c1f3ca2c","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    def test_load_class_by_alias_or_classname_with_classname("},{"line_number":50,"context_line":"            self, mock_log, mock_import):"},{"line_number":51,"context_line":"        self.assertEqual("},{"line_number":52,"context_line":"            mock.ANY,"},{"line_number":53,"context_line":"            runtime.load_class_by_alias_or_classname(\u0027ns\u0027, \u0027n\u0027))"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_2e1cd410","line":52,"range":{"start_line":52,"start_character":12,"end_line":52,"end_character":20},"updated":"2017-05-19 11:50:26.000000000","message":"mock.sentinel.dummy_class","commit_id":"85026f08a4e4825d12616b0634b204150681a2d1"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"533ceabf098d4554383b3c946a6c7352b5296428","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    def test_load_class_by_alias_or_classname_with_classname("},{"line_number":50,"context_line":"            self, mock_log, mock_import):"},{"line_number":51,"context_line":"        self.assertEqual("},{"line_number":52,"context_line":"            mock.ANY,"},{"line_number":53,"context_line":"            runtime.load_class_by_alias_or_classname(\u0027ns\u0027, \u0027n\u0027))"}],"source_content_type":"text/x-python","patch_set":5,"id":"ff0f0b1f_5829cf98","line":52,"range":{"start_line":52,"start_character":12,"end_line":52,"end_character":20},"in_reply_to":"ff0f0b1f_2e1cd410","updated":"2017-05-22 18:50:08.000000000","message":"Done","commit_id":"85026f08a4e4825d12616b0634b204150681a2d1"}],"neutron_lib/utils/runtime.py":[{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"701f36724bc791399921a4bf059de7d6357ade85","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from oslo_utils import importutils"},{"line_number":19,"context_line":"from stevedore import driver"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron_lib._i18n import _"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":24,"context_line":"SYNCHRONIZED_PREFIX \u003d \u0027neutron-\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_a76d3ecd","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":31},"updated":"2017-04-11 05:32:53.000000000","message":"I think that you consider translation remove[1] because you removes _LE from load_class_by_alias_or_classname(). Why not remove _ too?\n\n[1]: https://bugs.launchpad.net/neutron/+bug/1674569","commit_id":"497f7e59de10fe78827af52e6e780adbd6b09938"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"1d96adf35f7b88e8fee1554856bd62da34988b0f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from oslo_utils import importutils"},{"line_number":19,"context_line":"from stevedore import driver"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron_lib._i18n import _"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":24,"context_line":"SYNCHRONIZED_PREFIX \u003d \u0027neutron-\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_7943526d","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":31},"in_reply_to":"bff0334d_39570a5b","updated":"2017-04-11 10:52:53.000000000","message":"Actually, exception messages are still translated; hence the use here... That said I don\u0027t think your comment is applicable unless I\u0027m missing something","commit_id":"497f7e59de10fe78827af52e6e780adbd6b09938"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"0f542748c4d4bf70f1567df23a5c6dd098ac9fad","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from oslo_utils import importutils"},{"line_number":19,"context_line":"from stevedore import driver"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron_lib._i18n import _"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":24,"context_line":"SYNCHRONIZED_PREFIX \u003d \u0027neutron-\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_c8d287d1","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":31},"in_reply_to":"bff0334d_7943526d","updated":"2017-04-11 12:39:42.000000000","message":"I saw a patch[1] trying to remove the translation as well. I think that we\u0027ll remove the translation for exception and error message together. If so, it\u0027s better to remove _ too here, right?\n\n[1]: https://review.openstack.org/#/c/448529/","commit_id":"497f7e59de10fe78827af52e6e780adbd6b09938"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"69dc65d1f8b54f0e245cb8e36b549914c669d297","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from oslo_utils import importutils"},{"line_number":19,"context_line":"from stevedore import driver"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron_lib._i18n import _"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":24,"context_line":"SYNCHRONIZED_PREFIX \u003d \u0027neutron-\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_39570a5b","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":31},"in_reply_to":"bff0334d_a76d3ecd","updated":"2017-04-11 10:51:16.000000000","message":"Good point","commit_id":"497f7e59de10fe78827af52e6e780adbd6b09938"},{"author":{"_account_id":7715,"name":"Hirofumi Ichihara","email":"ichihara.hirofumi@gmail.com","username":"Hirofumi-Ichihara"},"change_message_id":"6f7eb317a0394ddbdd8ed54c35b589ef2025fc43","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from oslo_utils import importutils"},{"line_number":19,"context_line":"from stevedore import driver"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron_lib._i18n import _"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":24,"context_line":"SYNCHRONIZED_PREFIX \u003d \u0027neutron-\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_4e679fb8","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":31},"in_reply_to":"bff0334d_abc85da5","updated":"2017-04-11 13:27:59.000000000","message":"I see. Sorry for bothering you.","commit_id":"497f7e59de10fe78827af52e6e780adbd6b09938"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"90dc321a2e86008435b728d4ab5f7e0b005b84e9","unresolved":false,"context_lines":[{"line_number":18,"context_line":"from oslo_utils import importutils"},{"line_number":19,"context_line":"from stevedore import driver"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from neutron_lib._i18n import _"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":24,"context_line":"SYNCHRONIZED_PREFIX \u003d \u0027neutron-\u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"bff0334d_abc85da5","line":21,"range":{"start_line":21,"start_character":0,"end_line":21,"end_character":31},"in_reply_to":"bff0334d_c8d287d1","updated":"2017-04-11 12:53:26.000000000","message":"My understanding is that exception messages (user facing) are still translated, but logging messages are not. That said this needs to stay as-is. To that end, we have hacking checks to ensure exception msgs are translated and pep8 will fail otherwise.","commit_id":"497f7e59de10fe78827af52e6e780adbd6b09938"}]}
