)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"c02c103530c8d33c60237ceb8fcff319f7a49cd1","unresolved":false,"context_lines":[{"line_number":10,"context_line":"cinder V2 Volume API in manila V1 Share API as they are not needed"},{"line_number":11,"context_line":"and very confusing. Some code logic may also need changing according"},{"line_number":12,"context_line":"to the comment here:"},{"line_number":13,"context_line":"https://github.com/openstack/manila/blob/master/manila/api/v1/shares.py#L145"},{"line_number":14,"context_line":"But that will be addressed in a separate change."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: Ieb4b0e2314294778c069e28808dd40c5f329ec7d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a26ad4f_51a5f801","line":13,"updated":"2015-10-28 08:51:21.000000000","message":"This link refers to not static code. If provide such link then need to use specific commit instead of master\u0027.","commit_id":"2fc79bac8992199154f9113dde56d26bc51b612d"},{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"8874222d5200ee82897964604737f7a5f12ea514","unresolved":false,"context_lines":[{"line_number":10,"context_line":"cinder V2 Volume API in manila V1 Share API as they are not needed"},{"line_number":11,"context_line":"and very confusing. Some code logic may also need changing according"},{"line_number":12,"context_line":"to the comment here:"},{"line_number":13,"context_line":"https://github.com/openstack/manila/blob/master/manila/api/v1/shares.py#L145"},{"line_number":14,"context_line":"But that will be addressed in a separate change."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: Ieb4b0e2314294778c069e28808dd40c5f329ec7d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a26ad4f_fbae4797","line":13,"in_reply_to":"1a26ad4f_51a5f801","updated":"2015-10-29 02:36:16.000000000","message":"Done","commit_id":"2fc79bac8992199154f9113dde56d26bc51b612d"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"d256130a4ee5da637ba2898ca2b837980a93ffb0","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Remove unnecessary comment copied from Cinder"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is a trivial fix to remove two comments that were copied from"},{"line_number":10,"context_line":"cinder V2 Volume API in manila V1 Share API as they are not needed"},{"line_number":11,"context_line":"and very confusing. Some code logic may also need changing according"},{"line_number":12,"context_line":"to the comment here:"},{"line_number":13,"context_line":"https://github.com/openstack/manila/commit/8f0d0dc6c968e15c81106b359cc46edf20c424b0#diff-d74795124f64303c15451e0a46119c09R128"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a26ad4f_1d9d2e59","line":10,"updated":"2015-10-29 09:53:34.000000000","message":"\"they are not needed and very confusing\" - just removal of comments is wrong action. We should update it to \"Manila APIs do support both keys\".","commit_id":"4ede6440102c79d1b8ecaa7937567bf5dea11f57"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"1493641203611f6c0e8c797e49e3461d7688b1a8","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is a trivial fix to remove two comments that were copied from"},{"line_number":10,"context_line":"cinder V2 Volume API in manila V1 Share API as they are not needed"},{"line_number":11,"context_line":"and very confusing. Some code logic may also need changing according"},{"line_number":12,"context_line":"to the comment here:"},{"line_number":13,"context_line":"https://github.com/openstack/manila/commit/8f0d0dc6c968e15c81106b359cc46edf20c424b0#diff-d74795124f64303c15451e0a46119c09R128"},{"line_number":14,"context_line":"But that will be addressed in a separate change."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a26ad4f_9dfffea9","line":11,"updated":"2015-10-29 09:46:03.000000000","message":"Please, see inline comments for patch-set1 [1].\n\n[1] https://review.openstack.org/#/c/239841/1/manila/api/v1/shares.py","commit_id":"4ede6440102c79d1b8ecaa7937567bf5dea11f57"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"d256130a4ee5da637ba2898ca2b837980a93ffb0","unresolved":false,"context_lines":[{"line_number":10,"context_line":"cinder V2 Volume API in manila V1 Share API as they are not needed"},{"line_number":11,"context_line":"and very confusing. Some code logic may also need changing according"},{"line_number":12,"context_line":"to the comment here:"},{"line_number":13,"context_line":"https://github.com/openstack/manila/commit/8f0d0dc6c968e15c81106b359cc46edf20c424b0#diff-d74795124f64303c15451e0a46119c09R128"},{"line_number":14,"context_line":"But that will be addressed in a separate change."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"Change-Id: Ieb4b0e2314294778c069e28808dd40c5f329ec7d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a26ad4f_3d890a27","line":13,"updated":"2015-10-29 09:53:34.000000000","message":"Also, link can and should be shortened:\n\nhttps://github.com/openstack/manila/commit/8f0d0dc6#diff-d74795124f6","commit_id":"4ede6440102c79d1b8ecaa7937567bf5dea11f57"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"684bcda2aa384f3fdac6111697e6161bc2918c35","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Zhiteng Huang \u003czhithuang@ebaysf.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-10-30 10:49:14 +0900"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Rephase comments for Share create API"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is a trivial fix to rephase two comments that were copied from"},{"line_number":10,"context_line":"cinder v2 Volume API in manila v1 Share API as they are quite"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1a26ad4f_e8e17bd1","line":7,"updated":"2015-10-30 02:06:43.000000000","message":"s/Rephase/Rephrase/","commit_id":"6106141301e9f66b08ffdca4ab0606b5c931fa46"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"684bcda2aa384f3fdac6111697e6161bc2918c35","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Rephase comments for Share create API"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This is a trivial fix to rephase two comments that were copied from"},{"line_number":10,"context_line":"cinder v2 Volume API in manila v1 Share API as they are quite"},{"line_number":11,"context_line":"confusing."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1a26ad4f_68cecb5b","line":9,"updated":"2015-10-30 02:06:43.000000000","message":"s/rephase/rephrase/","commit_id":"6106141301e9f66b08ffdca4ab0606b5c931fa46"}],"manila/api/v1/shares.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"c02c103530c8d33c60237ceb8fcff319f7a49cd1","unresolved":false,"context_lines":[{"line_number":225,"context_line":""},{"line_number":226,"context_line":"        share \u003d body[\u0027share\u0027]"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"        # NOTE(rushiagr): v2 API allows name instead of display_name"},{"line_number":229,"context_line":"        if share.get(\u0027name\u0027):"},{"line_number":230,"context_line":"            share[\u0027display_name\u0027] \u003d share.get(\u0027name\u0027)"},{"line_number":231,"context_line":"            del share[\u0027name\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_f18d247c","side":"PARENT","line":228,"updated":"2015-10-28 08:51:21.000000000","message":"It is true for Manila too. Just with one diff, our v1 allows it too. I think it is incorrect to just remove these comments.","commit_id":"7523165b56ccbe565e3e97933aec7c0e6c0a3d2c"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"53ced64fb5981ca54e99d5434644ef225e0dfe13","unresolved":false,"context_lines":[{"line_number":225,"context_line":""},{"line_number":226,"context_line":"        share \u003d body[\u0027share\u0027]"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"        # NOTE(rushiagr): v2 API allows name instead of display_name"},{"line_number":229,"context_line":"        if share.get(\u0027name\u0027):"},{"line_number":230,"context_line":"            share[\u0027display_name\u0027] \u003d share.get(\u0027name\u0027)"},{"line_number":231,"context_line":"            del share[\u0027name\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_fd7cf273","side":"PARENT","line":228,"in_reply_to":"1a26ad4f_bb852fae","updated":"2015-10-29 09:46:08.000000000","message":"Manila has v1 and v2 APIs. Both stored in dir called \"v1\" and Manila differs them using microversions. Currently available APIs are 1.0, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6.\n\nAnd main point for not removing it is \"both Manila APIs do understand both keys and stores it using old key in DB.\" So, that\u0027s is why I say this comment is correct even for Manila just with one diff mentioned above.\n\nWe can remove support of old key, update DB model and bump microversion. Doing it we will deprecate old one. And then update this comment saying that it is deprecated and sjould be removed with update of minimum supported API version to one that stopped consider this key.","commit_id":"7523165b56ccbe565e3e97933aec7c0e6c0a3d2c"},{"author":{"_account_id":2759,"name":"Huang Zhiteng","email":"winston.d@gmail.com","username":"zhiteng-huang"},"change_message_id":"8874222d5200ee82897964604737f7a5f12ea514","unresolved":false,"context_lines":[{"line_number":225,"context_line":""},{"line_number":226,"context_line":"        share \u003d body[\u0027share\u0027]"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"        # NOTE(rushiagr): v2 API allows name instead of display_name"},{"line_number":229,"context_line":"        if share.get(\u0027name\u0027):"},{"line_number":230,"context_line":"            share[\u0027display_name\u0027] \u003d share.get(\u0027name\u0027)"},{"line_number":231,"context_line":"            del share[\u0027name\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a26ad4f_bb852fae","side":"PARENT","line":228,"in_reply_to":"1a26ad4f_f18d247c","updated":"2015-10-29 02:36:16.000000000","message":"This is v1 API, and Manila doesn\u0027t have a v2 API so far, and the fact that this comment was added to Cinder because we made a change in Cinder v2 volume API.  Manila didn\u0027t go through such change so it doesn\u0027t make sense to have a comment here because the code itself is already self-explanatory (i.e. Manila v1 allows \u0027name\u0027).  That\u0027s why I think we should remove it.","commit_id":"7523165b56ccbe565e3e97933aec7c0e6c0a3d2c"}]}
