)]}'
{"cinder/group/api.py":[{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"2f059d7c656c7419378722b00d72d29188961e58","unresolved":false,"context_lines":[{"line_number":521,"context_line":"        with group.obj_as_admin():"},{"line_number":522,"context_line":"            if group.group_snapshots:"},{"line_number":523,"context_line":"                raise exception.InvalidGroup(reason\u003d"},{"line_number":524,"context_line":"                                             _(\"Group has snapshots exist.\"))"},{"line_number":525,"context_line":""},{"line_number":526,"context_line":"        volumes \u003d self.db.volume_get_all_by_generic_group(context.elevated(),"},{"line_number":527,"context_line":"                                                          group.id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_e5fd18b2","line":524,"range":{"start_line":524,"start_character":58,"end_line":524,"end_character":73},"updated":"2017-07-20 13:11:29.000000000","message":"existing snapshots","commit_id":"f7c0cd5fe4ef5aa699c217d553460f1fadc5363e"},{"author":{"_account_id":23083,"name":"TommyLike","email":"tommylikehu@gmail.com","username":"TommyLike"},"change_message_id":"1485fa15a3f756b53b8d0f3dd386ccd06af3b2ed","unresolved":false,"context_lines":[{"line_number":521,"context_line":"        with group.obj_as_admin():"},{"line_number":522,"context_line":"            if group.group_snapshots:"},{"line_number":523,"context_line":"                raise exception.InvalidGroup(reason\u003d"},{"line_number":524,"context_line":"                                             _(\"Group has snapshots exist.\"))"},{"line_number":525,"context_line":""},{"line_number":526,"context_line":"        volumes \u003d self.db.volume_get_all_by_generic_group(context.elevated(),"},{"line_number":527,"context_line":"                                                          group.id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_eee1752c","line":524,"range":{"start_line":524,"start_character":58,"end_line":524,"end_character":73},"in_reply_to":"1f1a1f67_e5fd18b2","updated":"2017-07-20 14:13:14.000000000","message":"Done","commit_id":"f7c0cd5fe4ef5aa699c217d553460f1fadc5363e"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"897365cf04f7f9d298890633bded9bc0380c6939","unresolved":false,"context_lines":[{"line_number":521,"context_line":"        with group.obj_as_admin():"},{"line_number":522,"context_line":"            if group.group_snapshots:"},{"line_number":523,"context_line":"                raise exception.InvalidGroup(reason\u003d"},{"line_number":524,"context_line":"                                             _(\"Group has existing snapshots.\"))"},{"line_number":525,"context_line":""},{"line_number":526,"context_line":"        volumes \u003d self.db.volume_get_all_by_generic_group(context.elevated(),"},{"line_number":527,"context_line":"                                                          group.id)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f1a1f67_d8931200","line":524,"updated":"2017-07-20 19:08:29.000000000","message":"./cinder/group/api.py:524:80: E501 line too long (80 \u003e 79 characters)","commit_id":"fd11c18276e64d0bb63b70e2900f4eafa22857f5"}],"cinder/tests/unit/api/v3/test_groups.py":[{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"2f059d7c656c7419378722b00d72d29188961e58","unresolved":false,"context_lines":[{"line_number":654,"context_line":"                          self.controller.delete_group,"},{"line_number":655,"context_line":"                          req, self.group1.id, body)"},{"line_number":656,"context_line":""},{"line_number":657,"context_line":"    def test_delete_group_with_group_snapshots_exists(self):"},{"line_number":658,"context_line":"        self.group1.status \u003d fields.GroupStatus.AVAILABLE"},{"line_number":659,"context_line":"        self.group1.save()"},{"line_number":660,"context_line":"        g_snapshot \u003d utils.create_group_snapshot(self.ctxt, self.group1.id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_05ab7475","line":657,"range":{"start_line":657,"start_character":46,"end_line":657,"end_character":53},"updated":"2017-07-20 13:11:29.000000000","message":"Remove this.","commit_id":"f7c0cd5fe4ef5aa699c217d553460f1fadc5363e"},{"author":{"_account_id":23083,"name":"TommyLike","email":"tommylikehu@gmail.com","username":"TommyLike"},"change_message_id":"1485fa15a3f756b53b8d0f3dd386ccd06af3b2ed","unresolved":false,"context_lines":[{"line_number":654,"context_line":"                          self.controller.delete_group,"},{"line_number":655,"context_line":"                          req, self.group1.id, body)"},{"line_number":656,"context_line":""},{"line_number":657,"context_line":"    def test_delete_group_with_group_snapshots_exists(self):"},{"line_number":658,"context_line":"        self.group1.status \u003d fields.GroupStatus.AVAILABLE"},{"line_number":659,"context_line":"        self.group1.save()"},{"line_number":660,"context_line":"        g_snapshot \u003d utils.create_group_snapshot(self.ctxt, self.group1.id)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f1a1f67_4ec4e992","line":657,"range":{"start_line":657,"start_character":46,"end_line":657,"end_character":53},"in_reply_to":"1f1a1f67_05ab7475","updated":"2017-07-20 14:13:14.000000000","message":"Done","commit_id":"f7c0cd5fe4ef5aa699c217d553460f1fadc5363e"}],"releasenotes/notes/bug-1705375-prohibit-group-deletion-if-groupsnapshot-exists.yaml":[{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"2f059d7c656c7419378722b00d72d29188961e58","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Prohibit the deltetion of group if group snapshot exists."}],"source_content_type":"text/x-yaml","patch_set":1,"id":"1f1a1f67_25c79048","line":3,"range":{"start_line":3,"start_character":17,"end_line":3,"end_character":26},"updated":"2017-07-20 13:11:29.000000000","message":"deletion","commit_id":"f7c0cd5fe4ef5aa699c217d553460f1fadc5363e"},{"author":{"_account_id":23083,"name":"TommyLike","email":"tommylikehu@gmail.com","username":"TommyLike"},"change_message_id":"1485fa15a3f756b53b8d0f3dd386ccd06af3b2ed","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Prohibit the deltetion of group if group snapshot exists."}],"source_content_type":"text/x-yaml","patch_set":1,"id":"1f1a1f67_2ec1ad81","line":3,"range":{"start_line":3,"start_character":17,"end_line":3,"end_character":26},"in_reply_to":"1f1a1f67_25c79048","updated":"2017-07-20 14:13:14.000000000","message":"Done","commit_id":"f7c0cd5fe4ef5aa699c217d553460f1fadc5363e"}]}
