)]}'
{"manila/share/drivers/huawei/huawei_helper.py":[{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"098a842dbb304f27c1e6972f55d5715d275fee3c","unresolved":false,"context_lines":[{"line_number":717,"context_line":"            share_path \u003d self._get_share_path(share_name)"},{"line_number":718,"context_line":"            location \u003d \u0027:\u0027.join([target_ip, share_path])"},{"line_number":719,"context_line":"        elif share_proto \u003d\u003d \u0027CIFS\u0027:"},{"line_number":720,"context_line":"            location \u003d \u0027\\\\\\\\%s\\%s\u0027 % (target_ip,"},{"line_number":721,"context_line":"                                      share_name.replace(\"-\", \"_\"))"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        return location"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_e8aed0e6","line":720,"updated":"2015-03-23 13:11:20.000000000","message":"You\u0027re missing a second backslash:\n\n\u0027\\\\\\\\%s\\\\%s\u0027\n\nor use rawstring:\n\nr\u0027\\\\%s\\%s\u0027","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"4db0dfa80c69ccbc6d1b102564ef06636cb021a2","unresolved":false,"context_lines":[{"line_number":717,"context_line":"            share_path \u003d self._get_share_path(share_name)"},{"line_number":718,"context_line":"            location \u003d \u0027:\u0027.join([target_ip, share_path])"},{"line_number":719,"context_line":"        elif share_proto \u003d\u003d \u0027CIFS\u0027:"},{"line_number":720,"context_line":"            location \u003d \u0027\\\\\\\\%s\\%s\u0027 % (target_ip,"},{"line_number":721,"context_line":"                                      share_name.replace(\"-\", \"_\"))"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        return location"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_e7ca7ea0","line":720,"in_reply_to":"1a6ced46_438d077b","updated":"2015-03-23 13:43:12.000000000","message":"no.","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"de4a9e7c97af8615ac30368aaae344fc4ac072a2","unresolved":false,"context_lines":[{"line_number":717,"context_line":"            share_path \u003d self._get_share_path(share_name)"},{"line_number":718,"context_line":"            location \u003d \u0027:\u0027.join([target_ip, share_path])"},{"line_number":719,"context_line":"        elif share_proto \u003d\u003d \u0027CIFS\u0027:"},{"line_number":720,"context_line":"            location \u003d \u0027\\\\\\\\%s\\%s\u0027 % (target_ip,"},{"line_number":721,"context_line":"                                      share_name.replace(\"-\", \"_\"))"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        return location"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_438d077b","line":720,"in_reply_to":"1a6ced46_e8aed0e6","updated":"2015-03-23 13:26:36.000000000","message":"\"\\\\\\\\%s\\\\%s\" and \"\\\\%s\\%s\" is same right.","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"ea4fe6e796e45947b3ff2b291c05c0b547c0e26c","unresolved":false,"context_lines":[{"line_number":719,"context_line":"        elif share_proto \u003d\u003d \u0027CIFS\u0027:"},{"line_number":720,"context_line":"            location \u003d \u0027\\\\\\\\%s\\%s\u0027 % (target_ip,"},{"line_number":721,"context_line":"                                      share_name.replace(\"-\", \"_\"))"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        return location"},{"line_number":724,"context_line":""},{"line_number":725,"context_line":"    def _get_share_name_by_id(self, share_id):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_0a0329b9","line":722,"updated":"2015-03-23 10:22:29.000000000","message":"Since only two protocols are supported, then for all other should be thrown error. If it is done intentionally, then, please, add comment/note why do you do so.","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"be2d4e45b40849dc1a9817e783f97374787e384a","unresolved":false,"context_lines":[{"line_number":719,"context_line":"        elif share_proto \u003d\u003d \u0027CIFS\u0027:"},{"line_number":720,"context_line":"            location \u003d \u0027\\\\\\\\%s\\%s\u0027 % (target_ip,"},{"line_number":721,"context_line":"                                      share_name.replace(\"-\", \"_\"))"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        return location"},{"line_number":724,"context_line":""},{"line_number":725,"context_line":"    def _get_share_name_by_id(self, share_id):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_2c045c7a","line":722,"in_reply_to":"1a6ced46_0a0329b9","updated":"2015-03-24 01:41:10.000000000","message":"Done","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"1d5d25c34f802b6f4d51e28e46cee63c1605ce0b","unresolved":false,"context_lines":[{"line_number":717,"context_line":"            location \u003d \u0027%s:/%s\u0027 % (target_ip,"},{"line_number":718,"context_line":"                                   share_name.replace(\"-\", \"_\"))"},{"line_number":719,"context_line":"        elif share_proto \u003d\u003d \u0027CIFS\u0027:"},{"line_number":720,"context_line":"            location \u003d \u0027\\\\\\\\%s\\%s\u0027 % (target_ip,"},{"line_number":721,"context_line":"                                      share_name.replace(\"-\", \"_\"))"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        return location"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_4860ad32","line":720,"updated":"2015-03-23 20:55:25.000000000","message":"comment from patchset 1.  second backslash needs escaping.","commit_id":"d8cdf451b5013bac200aec20f76edd7b8ac10a53"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"acc9fc81ae7300bff2ea3b915ec130589fd9410a","unresolved":false,"context_lines":[{"line_number":717,"context_line":"            location \u003d \u0027%s:/%s\u0027 % (target_ip,"},{"line_number":718,"context_line":"                                   share_name.replace(\"-\", \"_\"))"},{"line_number":719,"context_line":"        elif share_proto \u003d\u003d \u0027CIFS\u0027:"},{"line_number":720,"context_line":"            location \u003d \u0027\\\\\\\\%s\\%s\u0027 % (target_ip,"},{"line_number":721,"context_line":"                                      share_name.replace(\"-\", \"_\"))"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        return location"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_2ced3cc4","line":720,"in_reply_to":"1a6ced46_4860ad32","updated":"2015-03-24 01:39:55.000000000","message":"Done","commit_id":"d8cdf451b5013bac200aec20f76edd7b8ac10a53"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"bbe571ca37199b51d0848b4c9a3be1b3822f0879","unresolved":false,"context_lines":[{"line_number":719,"context_line":"        elif share_proto \u003d\u003d \u0027CIFS\u0027:"},{"line_number":720,"context_line":"            location \u003d \u0027\\\\\\\\%s\\%s\u0027 % (target_ip,"},{"line_number":721,"context_line":"                                      share_name.replace(\"-\", \"_\"))"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        return location"},{"line_number":724,"context_line":""},{"line_number":725,"context_line":"    def _get_share_name_by_id(self, share_id):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_47e4320d","line":722,"updated":"2015-03-23 13:45:01.000000000","message":"Please, pay attention to comment from patch-set 1 here.","commit_id":"d8cdf451b5013bac200aec20f76edd7b8ac10a53"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"acc9fc81ae7300bff2ea3b915ec130589fd9410a","unresolved":false,"context_lines":[{"line_number":719,"context_line":"        elif share_proto \u003d\u003d \u0027CIFS\u0027:"},{"line_number":720,"context_line":"            location \u003d \u0027\\\\\\\\%s\\%s\u0027 % (target_ip,"},{"line_number":721,"context_line":"                                      share_name.replace(\"-\", \"_\"))"},{"line_number":722,"context_line":""},{"line_number":723,"context_line":"        return location"},{"line_number":724,"context_line":""},{"line_number":725,"context_line":"    def _get_share_name_by_id(self, share_id):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_4cd198fa","line":722,"in_reply_to":"1a6ced46_47e4320d","updated":"2015-03-24 01:39:55.000000000","message":"Done","commit_id":"d8cdf451b5013bac200aec20f76edd7b8ac10a53"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"5616caa2467605bbe70c24bea69a3b4784f8d0bc","unresolved":false,"context_lines":[{"line_number":721,"context_line":"                                       share_name.replace(\"-\", \"_\"))"},{"line_number":722,"context_line":"        else:"},{"line_number":723,"context_line":"            raise exception.InvalidShare("},{"line_number":724,"context_line":"                reason\u003d(_(\u0027Invalid NAS protocol supplied: %s.\u0027)"},{"line_number":725,"context_line":"                        % share_proto))"},{"line_number":726,"context_line":""},{"line_number":727,"context_line":"        return location"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a6ced46_abd591ba","line":724,"updated":"2015-03-24 03:35:58.000000000","message":"If you do another patch, I think you should say that it is invalid for Huawei so that you do not imply invalid for all drivers.  Not too big a concern though.","commit_id":"2c68d605a59a52ad1714d1261eb68432df0c9d26"}],"manila/tests/share/drivers/huawei/test_huawei_nas.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"ea4fe6e796e45947b3ff2b291c05c0b547c0e26c","unresolved":false,"context_lines":[{"line_number":357,"context_line":"        self.driver.helper.login()"},{"line_number":358,"context_line":"        location \u003d self.driver.create_share(self._context, self.share_nfs,"},{"line_number":359,"context_line":"                                            self.share_server)"},{"line_number":360,"context_line":"        self.assertEqual(\"100.115.10.68:/share_fake_uuid/\", location)"},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"    def test_create_share_cifs_success(self):"},{"line_number":363,"context_line":"        self.driver.helper.login()"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_6ad57d42","line":360,"updated":"2015-03-23 10:22:29.000000000","message":"Slash at the end of NFS share export is not correct.","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"de4a9e7c97af8615ac30368aaae344fc4ac072a2","unresolved":false,"context_lines":[{"line_number":357,"context_line":"        self.driver.helper.login()"},{"line_number":358,"context_line":"        location \u003d self.driver.create_share(self._context, self.share_nfs,"},{"line_number":359,"context_line":"                                            self.share_server)"},{"line_number":360,"context_line":"        self.assertEqual(\"100.115.10.68:/share_fake_uuid/\", location)"},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"    def test_create_share_cifs_success(self):"},{"line_number":363,"context_line":"        self.driver.helper.login()"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_6374c39c","line":360,"in_reply_to":"1a6ced46_6ad57d42","updated":"2015-03-23 13:26:36.000000000","message":"Done","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"ea4fe6e796e45947b3ff2b291c05c0b547c0e26c","unresolved":false,"context_lines":[{"line_number":359,"context_line":"                                            self.share_server)"},{"line_number":360,"context_line":"        self.assertEqual(\"100.115.10.68:/share_fake_uuid/\", location)"},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"    def test_create_share_cifs_success(self):"},{"line_number":363,"context_line":"        self.driver.helper.login()"},{"line_number":364,"context_line":"        location \u003d self.driver.create_share(self._context, self.share_cifs,"},{"line_number":365,"context_line":"                                            self.share_server)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_8a41d90d","line":362,"updated":"2015-03-23 10:22:29.000000000","message":"This and above test do not cover case of replacement of \"-\" to \"_\".","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"de4a9e7c97af8615ac30368aaae344fc4ac072a2","unresolved":false,"context_lines":[{"line_number":359,"context_line":"                                            self.share_server)"},{"line_number":360,"context_line":"        self.assertEqual(\"100.115.10.68:/share_fake_uuid/\", location)"},{"line_number":361,"context_line":""},{"line_number":362,"context_line":"    def test_create_share_cifs_success(self):"},{"line_number":363,"context_line":"        self.driver.helper.login()"},{"line_number":364,"context_line":"        location \u003d self.driver.create_share(self._context, self.share_cifs,"},{"line_number":365,"context_line":"                                            self.share_server)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_8379bf95","line":362,"in_reply_to":"1a6ced46_8a41d90d","updated":"2015-03-23 13:26:36.000000000","message":"Done","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"098a842dbb304f27c1e6972f55d5715d275fee3c","unresolved":false,"context_lines":[{"line_number":363,"context_line":"        self.driver.helper.login()"},{"line_number":364,"context_line":"        location \u003d self.driver.create_share(self._context, self.share_cifs,"},{"line_number":365,"context_line":"                                            self.share_server)"},{"line_number":366,"context_line":"        self.assertEqual(\"\\\\\\\\100.115.10.68\\share_fake_uuid\", location)"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":"    def test_login_fail(self):"},{"line_number":369,"context_line":"        self.driver.helper.test_normal \u003d False"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_08924c57","line":366,"updated":"2015-03-23 13:11:20.000000000","message":"Need an extra backslash:\n\n\"\\\\\\\\100.115.10.68\\\\share_fake_uuid\"\n\nor use rawstring:\n\nr\"\\\\100.115.10.68\\share_fake_uuid\"","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"de4a9e7c97af8615ac30368aaae344fc4ac072a2","unresolved":false,"context_lines":[{"line_number":363,"context_line":"        self.driver.helper.login()"},{"line_number":364,"context_line":"        location \u003d self.driver.create_share(self._context, self.share_cifs,"},{"line_number":365,"context_line":"                                            self.share_server)"},{"line_number":366,"context_line":"        self.assertEqual(\"\\\\\\\\100.115.10.68\\share_fake_uuid\", location)"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":"    def test_login_fail(self):"},{"line_number":369,"context_line":"        self.driver.helper.test_normal \u003d False"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_e367d3e8","line":366,"in_reply_to":"1a6ced46_08924c57","updated":"2015-03-23 13:26:36.000000000","message":"\"\\\\\\\\100.115.10.68\\\\share_fake_uuid\" and \"\\\\100.115.10.68\\share_fake_uuid\" is same right.","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"4db0dfa80c69ccbc6d1b102564ef06636cb021a2","unresolved":false,"context_lines":[{"line_number":363,"context_line":"        self.driver.helper.login()"},{"line_number":364,"context_line":"        location \u003d self.driver.create_share(self._context, self.share_cifs,"},{"line_number":365,"context_line":"                                            self.share_server)"},{"line_number":366,"context_line":"        self.assertEqual(\"\\\\\\\\100.115.10.68\\share_fake_uuid\", location)"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":"    def test_login_fail(self):"},{"line_number":369,"context_line":"        self.driver.helper.test_normal \u003d False"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6ced46_67620eda","line":366,"in_reply_to":"1a6ced46_e367d3e8","updated":"2015-03-23 13:43:12.000000000","message":"Problem was in that you escaped letter \"s\" instead of another backslash. And tried to verify it in tests too. So, export location indeed will as following:\n\n\\\\100.115.10.68share_fake_uuid","commit_id":"718101dadcc1ec71dabe65ae23088b506757f274"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"575c41cfd952ade567462d2b401ad9f87d019ee9","unresolved":false,"context_lines":[{"line_number":363,"context_line":"        self.driver.helper.login()"},{"line_number":364,"context_line":"        location \u003d self.driver.create_share(self._context, self.share_cifs,"},{"line_number":365,"context_line":"                                            self.share_server)"},{"line_number":366,"context_line":"        self.assertEqual(\"\\\\\\\\100.115.10.68\\share_fake_uuid\", location)"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":"    def test_login_fail(self):"},{"line_number":369,"context_line":"        self.driver.helper.test_normal \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_c7874260","line":366,"updated":"2015-03-23 13:43:42.000000000","message":"You escape here symbol \"s\" instead of another backslash. And it works because driver does the same. So, you have bug here. Just try it on lab, and you\u0027ll see.","commit_id":"d8cdf451b5013bac200aec20f76edd7b8ac10a53"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"acc9fc81ae7300bff2ea3b915ec130589fd9410a","unresolved":false,"context_lines":[{"line_number":363,"context_line":"        self.driver.helper.login()"},{"line_number":364,"context_line":"        location \u003d self.driver.create_share(self._context, self.share_cifs,"},{"line_number":365,"context_line":"                                            self.share_server)"},{"line_number":366,"context_line":"        self.assertEqual(\"\\\\\\\\100.115.10.68\\share_fake_uuid\", location)"},{"line_number":367,"context_line":""},{"line_number":368,"context_line":"    def test_login_fail(self):"},{"line_number":369,"context_line":"        self.driver.helper.test_normal \u003d False"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a6ced46_8cdb901a","line":366,"in_reply_to":"1a6ced46_c7874260","updated":"2015-03-24 01:39:55.000000000","message":"Done","commit_id":"d8cdf451b5013bac200aec20f76edd7b8ac10a53"}]}
