)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"cb41d44751641b2f5d9368aaa4236302d8fce433","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit allows admin to perform the following"},{"line_number":10,"context_line":"table action :"},{"line_number":11,"context_line":"1. manage volumes (Add/remove volumes from group),"},{"line_number":12,"context_line":"2. remove volumes from group"},{"line_number":13,"context_line":"3. delete group"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Partially-Implements blueprint cinder-generic-volume-groups"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"9fdfeff1_2e171554","line":12,"range":{"start_line":11,"start_character":0,"end_line":12,"end_character":28},"updated":"2019-01-28 07:57:48.000000000","message":"Aren\u0027t the first and second items duplicated?\nOr is the second item \"Remove all volumes from group\"?","commit_id":"1e5fd56cf1f3dbe317764b9059ecc71d19a61940"},{"author":{"_account_id":29313,"name":"Vishal Manchanda","email":"manchandavishal143@gmail.com","username":"vishalmanchanda"},"change_message_id":"5cfedae307c3763adc37466795d1d0bb394b84bc","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit allows admin to perform the following"},{"line_number":10,"context_line":"table action :"},{"line_number":11,"context_line":"1. manage volumes (Add/remove volumes from group),"},{"line_number":12,"context_line":"2. remove volumes from group"},{"line_number":13,"context_line":"3. delete group"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Partially-Implements blueprint cinder-generic-volume-groups"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"9fdfeff1_574677c2","line":12,"range":{"start_line":11,"start_character":0,"end_line":12,"end_character":28},"in_reply_to":"9fdfeff1_172d4ffd","updated":"2019-01-28 11:23:48.000000000","message":"yeah,sure.","commit_id":"1e5fd56cf1f3dbe317764b9059ecc71d19a61940"},{"author":{"_account_id":29313,"name":"Vishal Manchanda","email":"manchandavishal143@gmail.com","username":"vishalmanchanda"},"change_message_id":"ee72a175f26818594a701ec1b5d532b26baa34a6","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit allows admin to perform the following"},{"line_number":10,"context_line":"table action :"},{"line_number":11,"context_line":"1. manage volumes (Add/remove volumes from group),"},{"line_number":12,"context_line":"2. remove volumes from group"},{"line_number":13,"context_line":"3. delete group"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Partially-Implements blueprint cinder-generic-volume-groups"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"9fdfeff1_9714df45","line":12,"range":{"start_line":11,"start_character":0,"end_line":12,"end_character":28},"in_reply_to":"9fdfeff1_2e171554","updated":"2019-01-28 10:41:49.000000000","message":"yes,\u0027remove volumes from group\u0027 will remove all the volumes while \u0027manage volumes\u0027 remove selected volumes.","commit_id":"1e5fd56cf1f3dbe317764b9059ecc71d19a61940"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"894e1114aa5a2b7c21de0ea65b5f9ae8eaf64998","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commit allows admin to perform the following"},{"line_number":10,"context_line":"table action :"},{"line_number":11,"context_line":"1. manage volumes (Add/remove volumes from group),"},{"line_number":12,"context_line":"2. remove volumes from group"},{"line_number":13,"context_line":"3. delete group"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Partially-Implements blueprint cinder-generic-volume-groups"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"9fdfeff1_172d4ffd","line":12,"range":{"start_line":11,"start_character":0,"end_line":12,"end_character":28},"in_reply_to":"9fdfeff1_9714df45","updated":"2019-01-28 10:59:36.000000000","message":"do you rephrase it in the next patch set?","commit_id":"1e5fd56cf1f3dbe317764b9059ecc71d19a61940"}],"openstack_dashboard/dashboards/admin/volume_groups/forms.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"956608e0dcc7ebbc50331d79403b8acea8189fe6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2017 NEC Corporation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_a3a5ed48","line":1,"range":{"start_line":1,"start_character":12,"end_line":1,"end_character":16},"updated":"2019-01-31 05:45:52.000000000","message":"2017???","commit_id":"0d496c7b1b866907ad68d49667e06e214a431c28"},{"author":{"_account_id":29313,"name":"Vishal Manchanda","email":"manchandavishal143@gmail.com","username":"vishalmanchanda"},"change_message_id":"d89517356bb12027e9dcab9a2bc99a824c463d88","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2017 NEC Corporation"},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"# not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":6,"id":"9fdfeff1_761b4172","line":1,"range":{"start_line":1,"start_character":12,"end_line":1,"end_character":16},"in_reply_to":"9fdfeff1_a3a5ed48","updated":"2019-01-31 06:08:20.000000000","message":"yeah my bad :( updating.","commit_id":"0d496c7b1b866907ad68d49667e06e214a431c28"}],"openstack_dashboard/dashboards/admin/volume_groups/views.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"cb41d44751641b2f5d9368aaa4236302d8fce433","unresolved":false,"context_lines":[{"line_number":28,"context_line":"from openstack_dashboard.dashboards.admin.volume_groups \\"},{"line_number":29,"context_line":"    import workflows as volume_groups_workflows"},{"line_number":30,"context_line":"from openstack_dashboard.dashboards.project.volume_groups \\"},{"line_number":31,"context_line":"    import views as volume_groups_views"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"class IndexView(tables.DataTableView):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_411a396f","line":31,"range":{"start_line":31,"start_character":20,"end_line":31,"end_character":39},"updated":"2019-01-28 07:57:48.000000000","message":"It is not easy to identify which imports are from the project panel and which are from the admin panel because both use \"volume_*\" prefix. Could you revisit the naming?","commit_id":"1e5fd56cf1f3dbe317764b9059ecc71d19a61940"},{"author":{"_account_id":29313,"name":"Vishal Manchanda","email":"manchandavishal143@gmail.com","username":"vishalmanchanda"},"change_message_id":"5cfedae307c3763adc37466795d1d0bb394b84bc","unresolved":false,"context_lines":[{"line_number":28,"context_line":"from openstack_dashboard.dashboards.admin.volume_groups \\"},{"line_number":29,"context_line":"    import workflows as volume_groups_workflows"},{"line_number":30,"context_line":"from openstack_dashboard.dashboards.project.volume_groups \\"},{"line_number":31,"context_line":"    import views as volume_groups_views"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"class IndexView(tables.DataTableView):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_77293b99","line":31,"range":{"start_line":31,"start_character":20,"end_line":31,"end_character":39},"in_reply_to":"9fdfeff1_17ba2fc0","updated":"2019-01-28 11:23:48.000000000","message":"ok, I\u0027ll update accordingly.\n\nThanks","commit_id":"1e5fd56cf1f3dbe317764b9059ecc71d19a61940"},{"author":{"_account_id":29313,"name":"Vishal Manchanda","email":"manchandavishal143@gmail.com","username":"vishalmanchanda"},"change_message_id":"ee72a175f26818594a701ec1b5d532b26baa34a6","unresolved":false,"context_lines":[{"line_number":28,"context_line":"from openstack_dashboard.dashboards.admin.volume_groups \\"},{"line_number":29,"context_line":"    import workflows as volume_groups_workflows"},{"line_number":30,"context_line":"from openstack_dashboard.dashboards.project.volume_groups \\"},{"line_number":31,"context_line":"    import views as volume_groups_views"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"class IndexView(tables.DataTableView):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_5719971f","line":31,"range":{"start_line":31,"start_character":20,"end_line":31,"end_character":39},"in_reply_to":"9fdfeff1_411a396f","updated":"2019-01-28 10:41:49.000000000","message":"Dear Amotoki,\n\nWhat i understand from the comment is, i should revisit the naming and keep naming like below\n``admin_volume_group_tables``|``admin_vol_group_tables``\n``admin_volume_group_tabs``|``admin_vol_group_tabs``\n``project_volume_groups_views``| ``project_vol_groups_views``\n\nor i should use same convention as being used in other modules\nlike \nhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/admin/snapshots/views.py#L29-L32\n\nplease suggest.\n\nThanks","commit_id":"1e5fd56cf1f3dbe317764b9059ecc71d19a61940"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"106205a1ff39cdd4e6a3a2dfbe6269700504406b","unresolved":false,"context_lines":[{"line_number":28,"context_line":"from openstack_dashboard.dashboards.admin.volume_groups \\"},{"line_number":29,"context_line":"    import workflows as volume_groups_workflows"},{"line_number":30,"context_line":"from openstack_dashboard.dashboards.project.volume_groups \\"},{"line_number":31,"context_line":"    import views as volume_groups_views"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"class IndexView(tables.DataTableView):"}],"source_content_type":"text/x-python","patch_set":2,"id":"9fdfeff1_17ba2fc0","line":31,"range":{"start_line":31,"start_character":20,"end_line":31,"end_character":39},"in_reply_to":"9fdfeff1_5719971f","updated":"2019-01-28 10:58:54.000000000","message":"There is no specific convention in horizon. It is important to consider the code readability. From my knowledge the convention used most is:\n\n- from horizon import views (\u003c-- Use imported name directly)\n- from \u003cproject panel\u003e import views as project_views\n- from \u003cadmin panel\u003e import views as admin_views\n\nA prefix with a feature name like \"volume_groups_\" in your examples is also used.\n\nMy main point is that we should use \"prefix\" consistently. In case of your example from admin volume snapshots panel, forms and tables are from horizon  but views is from the admin snapshot panel. It would lose the code readability.\n\nThought?","commit_id":"1e5fd56cf1f3dbe317764b9059ecc71d19a61940"}]}
