)]}'
{"doc/source/devref/api_microversion_dev.rst":[{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"The Nova project was the first to implement microversions. For full"},{"line_number":26,"context_line":"details please read Nova\u0027s `Kilo spec for microversions"},{"line_number":27,"context_line":"\u003chttp://git.openstack.org/cgit/openstack/nova-specs/tree/specs/kilo/implemented/api-microversions.rst\u003e`_"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"When do I need a new Microversion?"},{"line_number":30,"context_line":"----------------------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a4dcd0f_2f7dbf6c","line":27,"updated":"2015-08-13 02:04:45.000000000","message":"Is the ending \"_\" required?","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"The Nova project was the first to implement microversions. For full"},{"line_number":26,"context_line":"details please read Nova\u0027s `Kilo spec for microversions"},{"line_number":27,"context_line":"\u003chttp://git.openstack.org/cgit/openstack/nova-specs/tree/specs/kilo/implemented/api-microversions.rst\u003e`_"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"When do I need a new Microversion?"},{"line_number":30,"context_line":"----------------------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a4dcd0f_8865e445","line":27,"in_reply_to":"1a4dcd0f_2f7dbf6c","updated":"2015-08-13 19:56:46.000000000","message":"Yes.\n\nhttp://sphinx-doc.org/rest.html#hyperlinks","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":175,"context_line":"        ...."},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"This method would only be available if the caller had specified an"},{"line_number":178,"context_line":"``X-OpenStack-Manila-API-Version`` of \u003c\u003d ``2.4``. If ``2.5`` or later"},{"line_number":179,"context_line":"is specified the server will respond with ``HTTP/404``."},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"Changing a method\u0027s behaviour"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a4dcd0f_a1300357","line":178,"updated":"2015-08-13 02:04:45.000000000","message":"What about 2.1 or lower?  Does this mean it only accepts 2.1 to 2.4?","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":175,"context_line":"        ...."},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"This method would only be available if the caller had specified an"},{"line_number":178,"context_line":"``X-OpenStack-Manila-API-Version`` of \u003c\u003d ``2.4``. If ``2.5`` or later"},{"line_number":179,"context_line":"is specified the server will respond with ``HTTP/404``."},{"line_number":180,"context_line":""},{"line_number":181,"context_line":"Changing a method\u0027s behaviour"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a4dcd0f_c8444c48","line":178,"in_reply_to":"1a4dcd0f_a1300357","updated":"2015-08-13 19:56:46.000000000","message":"Correct.  Specifying both min \u0026 max versions as in this example limits that method to responding to the defined range (inclusive).  For the API to respond to a version earlier than 2.1, there would be another API method (with the same name) decorated with an earlier minimum version.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":305,"context_line":"will cause a merge conflict. We don\u0027t reserve a microversion for each"},{"line_number":306,"context_line":"patch in advance as we don\u0027t know the final merge order. Developers"},{"line_number":307,"context_line":"may need over time to rebase their patch calculating a new version"},{"line_number":308,"context_line":"number as above based on the updated value of ``_MAX_API_VERSION``."},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"Testing Microversioned API Methods"},{"line_number":311,"context_line":"----------------------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a4dcd0f_1411f351","line":308,"updated":"2015-08-13 02:04:45.000000000","message":"I guess this is similar to bumping RPC API version number?  You\u0027ll have to rebase and resolve merge conflict as needed.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":305,"context_line":"will cause a merge conflict. We don\u0027t reserve a microversion for each"},{"line_number":306,"context_line":"patch in advance as we don\u0027t know the final merge order. Developers"},{"line_number":307,"context_line":"may need over time to rebase their patch calculating a new version"},{"line_number":308,"context_line":"number as above based on the updated value of ``_MAX_API_VERSION``."},{"line_number":309,"context_line":""},{"line_number":310,"context_line":"Testing Microversioned API Methods"},{"line_number":311,"context_line":"----------------------------------"}],"source_content_type":"text/x-rst","patch_set":7,"id":"1a4dcd0f_cdff7e00","line":308,"in_reply_to":"1a4dcd0f_1411f351","updated":"2015-08-13 19:56:46.000000000","message":"Yes.  As a point of reference, Nova has advanced is API from 2.1 to 2.11 during Liberty.  So the rate of API change, even in a busy project like Nova, is manageable.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"}],"manila/api/__init__.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"33564577fb3bfcff01f26343860921467d4bf7b4","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"def root_app_factory(loader, global_conf, **local_conf):"},{"line_number":25,"context_line":"    if not CONF.enable_v1_api:"},{"line_number":26,"context_line":"        del local_conf[\u0027/v1\u0027]"},{"line_number":27,"context_line":"    if not CONF.enable_v2_api:"},{"line_number":28,"context_line":"        del local_conf[\u0027/v2\u0027]"},{"line_number":29,"context_line":"    return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_18058612","side":"PARENT","line":26,"updated":"2015-08-07 15:36:32.000000000","message":"This should replaced with \"log.warning\".","commit_id":"f53613f5ff7ba1bf198e1a8ff5d00cdf9bd5a28b"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"7efbb014eeda210391c15e664efedc629afb6304","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"def root_app_factory(loader, global_conf, **local_conf):"},{"line_number":25,"context_line":"    if not CONF.enable_v1_api:"},{"line_number":26,"context_line":"        del local_conf[\u0027/v1\u0027]"},{"line_number":27,"context_line":"    if not CONF.enable_v2_api:"},{"line_number":28,"context_line":"        del local_conf[\u0027/v2\u0027]"},{"line_number":29,"context_line":"    return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_70dcd674","side":"PARENT","line":26,"in_reply_to":"1a4dcd0f_18058612","updated":"2015-08-10 23:33:40.000000000","message":"Done.  I changed the defaults for both options to False, and I log the warning if they are set to True.","commit_id":"f53613f5ff7ba1bf198e1a8ff5d00cdf9bd5a28b"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"7e95a7ac356b2e8baaa783f33ced5c77001f4f77","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"def root_app_factory(loader, global_conf, **local_conf):"},{"line_number":29,"context_line":"    if CONF.enable_v1_api:"},{"line_number":30,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v1_api is deprecated, is\u0027"},{"line_number":31,"context_line":"                        \u0027not used, and will be removed in a future release.\u0027))"},{"line_number":32,"context_line":"    if CONF.enable_v2_api:"},{"line_number":33,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v2_api is deprecated, is\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_8dff3101","line":30,"updated":"2015-08-13 06:40:50.000000000","message":"Please add a space in the end.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"def root_app_factory(loader, global_conf, **local_conf):"},{"line_number":29,"context_line":"    if CONF.enable_v1_api:"},{"line_number":30,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v1_api is deprecated, is\u0027"},{"line_number":31,"context_line":"                        \u0027not used, and will be removed in a future release.\u0027))"},{"line_number":32,"context_line":"    if CONF.enable_v2_api:"},{"line_number":33,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v2_api is deprecated, is\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_c512db60","line":30,"in_reply_to":"1a4dcd0f_5bd55f40","updated":"2015-08-13 19:56:46.000000000","message":"D\u0027oh!  Good catch.  Fixed.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"204deedb51482ad6ddb0e6ec6c1db8db42b0c3a1","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"def root_app_factory(loader, global_conf, **local_conf):"},{"line_number":29,"context_line":"    if CONF.enable_v1_api:"},{"line_number":30,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v1_api is deprecated, is\u0027"},{"line_number":31,"context_line":"                        \u0027not used, and will be removed in a future release.\u0027))"},{"line_number":32,"context_line":"    if CONF.enable_v2_api:"},{"line_number":33,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v2_api is deprecated, is\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_5bd55f40","line":30,"in_reply_to":"1a4dcd0f_8dff3101","updated":"2015-08-13 06:49:19.000000000","message":"+1 \"is\" and \"not\" not separated with a space.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"7e95a7ac356b2e8baaa783f33ced5c77001f4f77","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v1_api is deprecated, is\u0027"},{"line_number":31,"context_line":"                        \u0027not used, and will be removed in a future release.\u0027))"},{"line_number":32,"context_line":"    if CONF.enable_v2_api:"},{"line_number":33,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v2_api is deprecated, is\u0027"},{"line_number":34,"context_line":"                        \u0027not used, and will be removed in a future release.\u0027))"},{"line_number":35,"context_line":"    return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_30019205","line":33,"updated":"2015-08-13 06:40:50.000000000","message":"Please add a space in the end.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"204deedb51482ad6ddb0e6ec6c1db8db42b0c3a1","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v1_api is deprecated, is\u0027"},{"line_number":31,"context_line":"                        \u0027not used, and will be removed in a future release.\u0027))"},{"line_number":32,"context_line":"    if CONF.enable_v2_api:"},{"line_number":33,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v2_api is deprecated, is\u0027"},{"line_number":34,"context_line":"                        \u0027not used, and will be removed in a future release.\u0027))"},{"line_number":35,"context_line":"    return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_fbc78b95","line":33,"in_reply_to":"1a4dcd0f_30019205","updated":"2015-08-13 06:49:19.000000000","message":"+1","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":30,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v1_api is deprecated, is\u0027"},{"line_number":31,"context_line":"                        \u0027not used, and will be removed in a future release.\u0027))"},{"line_number":32,"context_line":"    if CONF.enable_v2_api:"},{"line_number":33,"context_line":"        LOG.warning(_LW(\u0027The config option enable_v2_api is deprecated, is\u0027"},{"line_number":34,"context_line":"                        \u0027not used, and will be removed in a future release.\u0027))"},{"line_number":35,"context_line":"    return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_85093333","line":33,"in_reply_to":"1a4dcd0f_fbc78b95","updated":"2015-08-13 19:56:46.000000000","message":"Done","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"}],"manila/api/openstack/api_version_request.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"33564577fb3bfcff01f26343860921467d4bf7b4","unresolved":false,"context_lines":[{"line_number":102,"context_line":"        greater than or equal to the minimum version and less than"},{"line_number":103,"context_line":"        or equal to the maximum version."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        @param min_version: Minimum acceptable version."},{"line_number":106,"context_line":"        @param max_version: Maximum acceptable version."},{"line_number":107,"context_line":"        @returns: boolean"},{"line_number":108,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_983996f4","line":105,"updated":"2015-08-07 15:36:32.000000000","message":"http://docs.openstack.org/developer/hacking/#docstrings","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"7efbb014eeda210391c15e664efedc629afb6304","unresolved":false,"context_lines":[{"line_number":102,"context_line":"        greater than or equal to the minimum version and less than"},{"line_number":103,"context_line":"        or equal to the maximum version."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"        @param min_version: Minimum acceptable version."},{"line_number":106,"context_line":"        @param max_version: Maximum acceptable version."},{"line_number":107,"context_line":"        @returns: boolean"},{"line_number":108,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_af6be1f0","line":105,"in_reply_to":"1a4dcd0f_983996f4","updated":"2015-08-10 23:33:40.000000000","message":"Done","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"7d9036d60eb16a9531d8f62931c6e5615c244915","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    def is_null(self):"},{"line_number":92,"context_line":"        return self.ver_major is None and self.ver_minor is None"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    def __cmp__(self, other):"},{"line_number":95,"context_line":"        if not isinstance(other, APIVersionRequest):"},{"line_number":96,"context_line":"            raise TypeError"},{"line_number":97,"context_line":"        return cmp((self.ver_major, self.ver_minor),"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a4dcd0f_558ebe2e","line":94,"updated":"2015-08-12 11:18:00.000000000","message":"this method is deprecated and fully removed in  python3. I suggest you to write all __le__, __lt__, __gt__, __ge__ and etc methods. Something like https://review.openstack.org/#/c/169292/","commit_id":"7cd55a8ce6febd096ff02ccab1f9387642da040b"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"9f1cd9edf14a1b7c9fcd8b6569a20705cac44e9f","unresolved":false,"context_lines":[{"line_number":102,"context_line":"            raise TypeError"},{"line_number":103,"context_line":"        return ((self.ver_major, self.ver_minor) \u003c"},{"line_number":104,"context_line":"                (other.ver_major, other.ver_minor))"},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    def matches(self, min_version, max_version):"},{"line_number":107,"context_line":"        \"\"\"Returns whether the version object represents a version"},{"line_number":108,"context_line":"        greater than or equal to the minimum version and less than"}],"source_content_type":"text/x-python","patch_set":6,"id":"1a4dcd0f_24850ace","line":105,"updated":"2015-08-12 10:20:33.000000000","message":"Need also add \"__le__\" method:\n\n\"\"\"\n\ndef __le__(self, other):\n\n    if not isinstance(other, APIVersionRequest):\n\n        raise TypeError\n\n    return ((self.ver_major, self.ver_minor) \u003c\u003d (other.ver_major, other.ver_minor))\n\n\"\"\"","commit_id":"7cd55a8ce6febd096ff02ccab1f9387642da040b"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 IBM Corp."},{"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":7,"id":"1a4dcd0f_d444eb47","line":1,"updated":"2015-08-13 02:04:45.000000000","message":"You want to add your name to copyright?","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 IBM Corp."},{"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":7,"id":"1a4dcd0f_a860e0cf","line":1,"in_reply_to":"1a4dcd0f_d444eb47","updated":"2015-08-13 19:56:46.000000000","message":"Sure, thanks.  In earlier patchsets I hadn\u0027t changed much.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"25fdb68eba02161ed222782bee023574f596d386","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"class APIVersionRequest(utils.ComparableMixin):"},{"line_number":68,"context_line":"    \"\"\"This class represents an API Version Request with convenience"},{"line_number":69,"context_line":"    methods for manipulation and comparison of version"},{"line_number":70,"context_line":"    numbers that we need to do to implement microversions."},{"line_number":71,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_b8703b09","line":68,"updated":"2015-08-12 20:56:21.000000000","message":"Strange that pep does not complian, but this docstring violates guidelines:\n\nhttp://docs.openstack.org/developer/hacking/#docstrings","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"class APIVersionRequest(utils.ComparableMixin):"},{"line_number":68,"context_line":"    \"\"\"This class represents an API Version Request with convenience"},{"line_number":69,"context_line":"    methods for manipulation and comparison of version"},{"line_number":70,"context_line":"    numbers that we need to do to implement microversions."},{"line_number":71,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_f4dfa766","line":68,"in_reply_to":"1a4dcd0f_b8703b09","updated":"2015-08-13 02:04:45.000000000","message":"+1","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":65,"context_line":""},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"class APIVersionRequest(utils.ComparableMixin):"},{"line_number":68,"context_line":"    \"\"\"This class represents an API Version Request with convenience"},{"line_number":69,"context_line":"    methods for manipulation and comparison of version"},{"line_number":70,"context_line":"    numbers that we need to do to implement microversions."},{"line_number":71,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_dea64aaa","line":68,"in_reply_to":"1a4dcd0f_b8703b09","updated":"2015-08-13 19:56:46.000000000","message":"Fixed all in this file.  I only see one additional file in Manila that uses the @ notation for docstring parameters (api/v1/limits.py).  I\u0027ll fix that if I\u0027m ever in there.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def __str__(self):"},{"line_number":88,"context_line":"        \"\"\"Debug/Logging representation of object.\"\"\""},{"line_number":89,"context_line":"        return (\"API Version Request Major: %s, Minor: %s\""},{"line_number":90,"context_line":"                % (self.ver_major, self.ver_minor))"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    def is_null(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_14949388","line":89,"updated":"2015-08-13 02:04:45.000000000","message":"Should use named string interpolation.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def __str__(self):"},{"line_number":88,"context_line":"        \"\"\"Debug/Logging representation of object.\"\"\""},{"line_number":89,"context_line":"        return (\"API Version Request Major: %s, Minor: %s\""},{"line_number":90,"context_line":"                % (self.ver_major, self.ver_minor))"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"    def is_null(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_88ee4420","line":89,"in_reply_to":"1a4dcd0f_14949388","updated":"2015-08-13 19:56:46.000000000","message":"Done","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"25fdb68eba02161ed222782bee023574f596d386","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        return self.ver_major, self.ver_minor"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    def matches(self, min_version, max_version):"},{"line_number":100,"context_line":"        \"\"\"Returns whether the version object represents a version"},{"line_number":101,"context_line":"        greater than or equal to the minimum version and less than"},{"line_number":102,"context_line":"        or equal to the maximum version."},{"line_number":103,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_5862573f","line":100,"updated":"2015-08-12 20:56:21.000000000","message":"And here.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":97,"context_line":"        return self.ver_major, self.ver_minor"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    def matches(self, min_version, max_version):"},{"line_number":100,"context_line":"        \"\"\"Returns whether the version object represents a version"},{"line_number":101,"context_line":"        greater than or equal to the minimum version and less than"},{"line_number":102,"context_line":"        or equal to the maximum version."},{"line_number":103,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_9ebbe2c3","line":100,"in_reply_to":"1a4dcd0f_5862573f","updated":"2015-08-13 19:56:46.000000000","message":"Done","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"25fdb68eba02161ed222782bee023574f596d386","unresolved":false,"context_lines":[{"line_number":122,"context_line":"            return min_version \u003c\u003d self \u003c\u003d max_version"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    def get_string(self):"},{"line_number":125,"context_line":"        \"\"\"Converts object to string representation which if used to create"},{"line_number":126,"context_line":"        an APIVersionRequest object results in the same version request."},{"line_number":127,"context_line":"        \"\"\""},{"line_number":128,"context_line":"        if self.is_null():"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_18584f89","line":125,"updated":"2015-08-12 20:56:21.000000000","message":"And here.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":122,"context_line":"            return min_version \u003c\u003d self \u003c\u003d max_version"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    def get_string(self):"},{"line_number":125,"context_line":"        \"\"\"Converts object to string representation which if used to create"},{"line_number":126,"context_line":"        an APIVersionRequest object results in the same version request."},{"line_number":127,"context_line":"        \"\"\""},{"line_number":128,"context_line":"        if self.is_null():"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_3eae4e81","line":125,"in_reply_to":"1a4dcd0f_18584f89","updated":"2015-08-13 19:56:46.000000000","message":"Done","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        if self.is_null():"},{"line_number":129,"context_line":"            raise ValueError"},{"line_number":130,"context_line":"        return \"%s.%s\" % (self.ver_major, self.ver_minor)"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_54cbfba3","line":131,"updated":"2015-08-13 02:04:45.000000000","message":"String interpolation is preferred than positional.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":128,"context_line":"        if self.is_null():"},{"line_number":129,"context_line":"            raise ValueError"},{"line_number":130,"context_line":"        return \"%s.%s\" % (self.ver_major, self.ver_minor)"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_48f4bcef","line":131,"in_reply_to":"1a4dcd0f_54cbfba3","updated":"2015-08-13 19:56:46.000000000","message":"Done","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"}],"manila/api/openstack/versioned_method.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"137ec36e59072c79e13032545fb70e7eace0a18f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    def __init__(self, name, start_version, end_version, func):"},{"line_number":19,"context_line":"        \"\"\"Versioning information for a single method"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"        @name: Name of the method"},{"line_number":22,"context_line":"        @start_version: Minimum acceptable version"},{"line_number":23,"context_line":"        @end_version: Maximum acceptable_version"},{"line_number":24,"context_line":"        @func: Method to call"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_0b0af479","line":21,"updated":"2015-07-30 12:04:08.000000000","message":"Guidelines says to describe params differently: http://docs.openstack.org/developer/hacking/#docstrings","commit_id":"82802e624810e412f6993c8dbd877fdbc6b27d4d"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"ec4ada434449470f9b8104a447f4ee1175823163","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    def __init__(self, name, start_version, end_version, func):"},{"line_number":19,"context_line":"        \"\"\"Versioning information for a single method"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"        @name: Name of the method"},{"line_number":22,"context_line":"        @start_version: Minimum acceptable version"},{"line_number":23,"context_line":"        @end_version: Maximum acceptable_version"},{"line_number":24,"context_line":"        @func: Method to call"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_7e885b71","line":21,"in_reply_to":"3a50d1a3_0b0af479","updated":"2015-08-07 03:52:02.000000000","message":"I will address this in Patch Set 3.","commit_id":"82802e624810e412f6993c8dbd877fdbc6b27d4d"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"45ba0d7765fbda65d5246316cb075b8faec5f018","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    def __init__(self, name, start_version, end_version, func):"},{"line_number":19,"context_line":"        \"\"\"Versioning information for a single method"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"        @name: Name of the method"},{"line_number":22,"context_line":"        @start_version: Minimum acceptable version"},{"line_number":23,"context_line":"        @end_version: Maximum acceptable_version"},{"line_number":24,"context_line":"        @func: Method to call"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_b8b7b283","line":21,"updated":"2015-08-07 15:33:40.000000000","message":"Please, follow parameters description as guidelined here: http://docs.openstack.org/developer/hacking/#docstrings\n\nSame for other docstrings.","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"7efbb014eeda210391c15e664efedc629afb6304","unresolved":false,"context_lines":[{"line_number":18,"context_line":"    def __init__(self, name, start_version, end_version, func):"},{"line_number":19,"context_line":"        \"\"\"Versioning information for a single method"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"        @name: Name of the method"},{"line_number":22,"context_line":"        @start_version: Minimum acceptable version"},{"line_number":23,"context_line":"        @end_version: Maximum acceptable_version"},{"line_number":24,"context_line":"        @func: Method to call"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_ef48098d","line":21,"in_reply_to":"1a4dcd0f_b8b7b283","updated":"2015-08-10 23:33:40.000000000","message":"Done","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 IBM Corp."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_54421b10","line":1,"updated":"2015-08-13 02:04:45.000000000","message":"Want to add your name to copyright?","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 IBM Corp."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_e88b48c1","line":1,"in_reply_to":"1a4dcd0f_54421b10","updated":"2015-08-13 19:56:46.000000000","message":"Yes!  Done, thanks.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        self.func \u003d func"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def __str__(self):"},{"line_number":37,"context_line":"        return (\"Version Method %s: min: %s, max: %s\""},{"line_number":38,"context_line":"                % (self.name, self.start_version, self.end_version))"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    def _cmpkey(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_9463c3b0","line":37,"updated":"2015-08-13 02:04:45.000000000","message":"String interpolation is preferred.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        self.func \u003d func"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"    def __str__(self):"},{"line_number":37,"context_line":"        return (\"Version Method %s: min: %s, max: %s\""},{"line_number":38,"context_line":"                % (self.name, self.start_version, self.end_version))"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    def _cmpkey(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_684c189e","line":37,"in_reply_to":"1a4dcd0f_9463c3b0","updated":"2015-08-13 19:56:46.000000000","message":"Done","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"}],"manila/api/openstack/wsgi.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"137ec36e59072c79e13032545fb70e7eace0a18f","unresolved":false,"context_lines":[{"line_number":470,"context_line":"        response \u003d webob.Response()"},{"line_number":471,"context_line":"        response.status_int \u003d self.code"},{"line_number":472,"context_line":"        for hdr, value in self._headers.items():"},{"line_number":473,"context_line":"            response.headers[hdr] \u003d utils.utf8(six.text_type(value))"},{"line_number":474,"context_line":"        response.headers[\u0027Content-Type\u0027] \u003d utils.utf8(content_type)"},{"line_number":475,"context_line":"        if self.obj is not None:"},{"line_number":476,"context_line":"            response.body \u003d serializer.serialize(self.obj)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_6e294689","line":473,"updated":"2015-07-30 12:04:08.000000000","message":"\"utils.utf8()\" is completely redundant.\n\nSame in all other such places.","commit_id":"82802e624810e412f6993c8dbd877fdbc6b27d4d"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"ec4ada434449470f9b8104a447f4ee1175823163","unresolved":false,"context_lines":[{"line_number":470,"context_line":"        response \u003d webob.Response()"},{"line_number":471,"context_line":"        response.status_int \u003d self.code"},{"line_number":472,"context_line":"        for hdr, value in self._headers.items():"},{"line_number":473,"context_line":"            response.headers[hdr] \u003d utils.utf8(six.text_type(value))"},{"line_number":474,"context_line":"        response.headers[\u0027Content-Type\u0027] \u003d utils.utf8(content_type)"},{"line_number":475,"context_line":"        if self.obj is not None:"},{"line_number":476,"context_line":"            response.body \u003d serializer.serialize(self.obj)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_1e1fd75b","line":473,"in_reply_to":"3a50d1a3_6e294689","updated":"2015-08-07 03:52:02.000000000","message":"Indeed.  Fixed in Patch Set 2.","commit_id":"82802e624810e412f6993c8dbd877fdbc6b27d4d"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"3556dcbdbfcbb9fcb3f0f2cc7ad0a4151bbe4758","unresolved":false,"context_lines":[{"line_number":1085,"context_line":"            # the version requested."},{"line_number":1086,"context_line":"            # TODO(cyeoh): Add check to ensure that there are no overlapping"},{"line_number":1087,"context_line":"            # ranges of valid versions as that is ambiguous"},{"line_number":1088,"context_line":"            func_list.sort(key\u003dlambda f: f.start_version, reverse\u003dTrue)"},{"line_number":1089,"context_line":""},{"line_number":1090,"context_line":"            return f"},{"line_number":1091,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_0cbabf23","line":1088,"updated":"2015-08-11 06:53:14.000000000","message":"Unorderable types again. This is py3 incompatible, see [1]\n\n[1] http://logs.openstack.org/28/207228/5/check/gate-manila-python34/01c2962/console.html#_2015-08-10_22_51_46_927","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"82bf2b671d3ae0be31e96df945fd5219df6922c5","unresolved":false,"context_lines":[{"line_number":1085,"context_line":"            # the version requested."},{"line_number":1086,"context_line":"            # TODO(cyeoh): Add check to ensure that there are no overlapping"},{"line_number":1087,"context_line":"            # ranges of valid versions as that is ambiguous"},{"line_number":1088,"context_line":"            func_list.sort(key\u003dlambda f: f.start_version, reverse\u003dTrue)"},{"line_number":1089,"context_line":""},{"line_number":1090,"context_line":"            return f"},{"line_number":1091,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_20975649","line":1088,"in_reply_to":"1a4dcd0f_0cbabf23","updated":"2015-08-11 21:39:39.000000000","message":"Fixed by removing key function and adding __lt__ methods to VersionedMethod and APIVersionRequest classes.","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"},{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":763,"context_line":"            return Fault(webob.exc.HTTPBadRequest(explanation\u003dmsg))"},{"line_number":764,"context_line":""},{"line_number":765,"context_line":"        if body:"},{"line_number":766,"context_line":"            msg \u003d _(\"Action: \u0027%(action)s\u0027, calling method: %(meth)s, body: \""},{"line_number":767,"context_line":"                    \"%(body)s\") % {\u0027action\u0027: action,"},{"line_number":768,"context_line":"                                   \u0027body\u0027: six.text_type(body),"},{"line_number":769,"context_line":"                                   \u0027meth\u0027: six.text_type(meth)}"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_54277b62","line":766,"updated":"2015-08-13 02:04:45.000000000","message":"This is a debug message. So it shouldn\u0027t use _","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"204deedb51482ad6ddb0e6ec6c1db8db42b0c3a1","unresolved":false,"context_lines":[{"line_number":763,"context_line":"            return Fault(webob.exc.HTTPBadRequest(explanation\u003dmsg))"},{"line_number":764,"context_line":""},{"line_number":765,"context_line":"        if body:"},{"line_number":766,"context_line":"            msg \u003d _(\"Action: \u0027%(action)s\u0027, calling method: %(meth)s, body: \""},{"line_number":767,"context_line":"                    \"%(body)s\") % {\u0027action\u0027: action,"},{"line_number":768,"context_line":"                                   \u0027body\u0027: six.text_type(body),"},{"line_number":769,"context_line":"                                   \u0027meth\u0027: six.text_type(meth)}"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_db488f2f","line":766,"in_reply_to":"1a4dcd0f_54277b62","updated":"2015-08-13 06:49:19.000000000","message":"+1, good catch.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":763,"context_line":"            return Fault(webob.exc.HTTPBadRequest(explanation\u003dmsg))"},{"line_number":764,"context_line":""},{"line_number":765,"context_line":"        if body:"},{"line_number":766,"context_line":"            msg \u003d _(\"Action: \u0027%(action)s\u0027, calling method: %(meth)s, body: \""},{"line_number":767,"context_line":"                    \"%(body)s\") % {\u0027action\u0027: action,"},{"line_number":768,"context_line":"                                   \u0027body\u0027: six.text_type(body),"},{"line_number":769,"context_line":"                                   \u0027meth\u0027: six.text_type(meth)}"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_639d1bbb","line":766,"in_reply_to":"1a4dcd0f_54277b62","updated":"2015-08-13 19:56:46.000000000","message":"Very true.  Fixed.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"0d4cd0d3b61673ef417e8dee3789faf5ec9c7736","unresolved":false,"context_lines":[{"line_number":1005,"context_line":"    def __getattribute__(self, key):"},{"line_number":1006,"context_line":""},{"line_number":1007,"context_line":"        def version_select(*args, **kwargs):"},{"line_number":1008,"context_line":"            \"\"\"Look for the method which matches the name supplied and version"},{"line_number":1009,"context_line":"            constraints and calls it with the supplied arguments."},{"line_number":1010,"context_line":""},{"line_number":1011,"context_line":"            @return: Returns the result of the method called"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_38b74b86","line":1008,"updated":"2015-08-12 20:57:12.000000000","message":"And here - http://docs.openstack.org/developer/hacking/#docstrings","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":1005,"context_line":"    def __getattribute__(self, key):"},{"line_number":1006,"context_line":""},{"line_number":1007,"context_line":"        def version_select(*args, **kwargs):"},{"line_number":1008,"context_line":"            \"\"\"Look for the method which matches the name supplied and version"},{"line_number":1009,"context_line":"            constraints and calls it with the supplied arguments."},{"line_number":1010,"context_line":""},{"line_number":1011,"context_line":"            @return: Returns the result of the method called"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_9e944237","line":1008,"in_reply_to":"1a4dcd0f_38b74b86","updated":"2015-08-13 19:56:46.000000000","message":"Fixed here and a few others in this file.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"}],"manila/api/versions.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"45ba0d7765fbda65d5246316cb075b8faec5f018","unresolved":false,"context_lines":[{"line_number":78,"context_line":"        known_versions[\u0027v1.0\u0027].pop(\u0027version\u0027)"},{"line_number":79,"context_line":"        return builder.build_versions(known_versions)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    @wsgi.Controller.api_version(\u00271.1\u0027)  # noqa"},{"line_number":82,"context_line":"    def index(self, req):  # pylint: disable\u003dE0102"},{"line_number":83,"context_line":"        \"\"\"Return all versions.\"\"\""},{"line_number":84,"context_line":"        builder \u003d views_versions.get_view_builder(req)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_786b6a1e","line":81,"updated":"2015-08-07 15:33:40.000000000","message":"Maybe better to skip related rule in tox config?","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"7efbb014eeda210391c15e664efedc629afb6304","unresolved":false,"context_lines":[{"line_number":78,"context_line":"        known_versions[\u0027v1.0\u0027].pop(\u0027version\u0027)"},{"line_number":79,"context_line":"        return builder.build_versions(known_versions)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    @wsgi.Controller.api_version(\u00271.1\u0027)  # noqa"},{"line_number":82,"context_line":"    def index(self, req):  # pylint: disable\u003dE0102"},{"line_number":83,"context_line":"        \"\"\"Return all versions.\"\"\""},{"line_number":84,"context_line":"        builder \u003d views_versions.get_view_builder(req)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_70713677","line":81,"in_reply_to":"1a4dcd0f_786b6a1e","updated":"2015-08-10 23:33:40.000000000","message":"For most of the Manila code, I think we want to keep the warnings about duplicated methods.  We only need the #noqa for those few APIs that have multiple versions.","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"3556dcbdbfcbb9fcb3f0f2cc7ad0a4151bbe4758","unresolved":false,"context_lines":[{"line_number":67,"context_line":"class VersionsController(wsgi.Controller):"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    def __init__(self):"},{"line_number":70,"context_line":"        super(VersionsController, self).__init__(None)"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    @wsgi.Controller.api_version(\u00271.0\u0027, \u00271.0\u0027)"},{"line_number":73,"context_line":"    def index(self, req):"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_f163ac3f","line":70,"updated":"2015-08-11 06:53:14.000000000","message":"self.__class__ ?","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"82bf2b671d3ae0be31e96df945fd5219df6922c5","unresolved":false,"context_lines":[{"line_number":67,"context_line":"class VersionsController(wsgi.Controller):"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    def __init__(self):"},{"line_number":70,"context_line":"        super(VersionsController, self).__init__(None)"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"    @wsgi.Controller.api_version(\u00271.0\u0027, \u00271.0\u0027)"},{"line_number":73,"context_line":"    def index(self, req):"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_e37418ff","line":70,"in_reply_to":"1a4dcd0f_f163ac3f","updated":"2015-08-11 21:39:39.000000000","message":"I only see 3 instances of super(self.__class__, self) in all of Manila.\n\nEither works in this case since VersionsController has no subclass, but I\u0027d rather use the more explicit form.","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"}],"manila/api/views/versions.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"4d3496a55b7bdb96441fdb5130df9a01bc9759e0","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"import copy"},{"line_number":18,"context_line":"import re"},{"line_number":19,"context_line":"import urlparse"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"def get_view_builder(req):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_58422eaf","line":19,"updated":"2015-08-07 15:28:50.000000000","message":"This is not py 2/3 compatible.\n\nneed to use following:\n\n\"\"\"\n\nfrom six.moves import urllib\nurllib.parse(...)\n\n\"\"\"\n\nSee: https://pythonhosted.org/six/#module-six.moves.urllib.parse","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"7efbb014eeda210391c15e664efedc629afb6304","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"import copy"},{"line_number":18,"context_line":"import re"},{"line_number":19,"context_line":"import urlparse"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"def get_view_builder(req):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_50167af2","line":19,"in_reply_to":"1a4dcd0f_58422eaf","updated":"2015-08-10 23:33:40.000000000","message":"Done, thanks.","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"3556dcbdbfcbb9fcb3f0f2cc7ad0a4151bbe4758","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def build_versions(self, versions):"},{"line_number":36,"context_line":"        views \u003d [self._build_version(versions[key])"},{"line_number":37,"context_line":"                 for key in sorted(versions.keys())]"},{"line_number":38,"context_line":"        return dict(versions\u003dviews)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    def _build_version(self, version):"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_71f47c86","line":37,"updated":"2015-08-11 06:53:14.000000000","message":"It does not work in py3. Dict is unorderable. It can not be sorted. As mentioned in comment for another module. Need to wrap \"versions.keys()\" in a \"list()\".","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"82bf2b671d3ae0be31e96df945fd5219df6922c5","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def build_versions(self, versions):"},{"line_number":36,"context_line":"        views \u003d [self._build_version(versions[key])"},{"line_number":37,"context_line":"                 for key in sorted(versions.keys())]"},{"line_number":38,"context_line":"        return dict(versions\u003dviews)"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"    def _build_version(self, version):"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_a061263b","line":37,"in_reply_to":"1a4dcd0f_71f47c86","updated":"2015-08-11 21:39:39.000000000","message":"Done, thanks.","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"}],"manila/common/config.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"4d3496a55b7bdb96441fdb5130df9a01bc9759e0","unresolved":false,"context_lines":[{"line_number":63,"context_line":"    cfg.StrOpt(\u0027share_topic\u0027,"},{"line_number":64,"context_line":"               default\u003d\u0027manila-share\u0027,"},{"line_number":65,"context_line":"               help\u003d\u0027The topic share nodes listen on.\u0027),"},{"line_number":66,"context_line":"    cfg.BoolOpt(\u0027enable_v1_api\u0027,"},{"line_number":67,"context_line":"                default\u003dTrue,"},{"line_number":68,"context_line":"                help\u003d_(\"Deploy v1 of the Manila API.\")),"},{"line_number":69,"context_line":"    cfg.BoolOpt(\u0027enable_v2_api\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_18758630","side":"PARENT","line":66,"updated":"2015-08-07 15:28:50.000000000","message":"I am not sure it is good idea just to remove already existing opts. We should \"deprecate\" them with writing some warning to logs that it is not used anymore and will be removed.","commit_id":"f53613f5ff7ba1bf198e1a8ff5d00cdf9bd5a28b"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"7efbb014eeda210391c15e664efedc629afb6304","unresolved":false,"context_lines":[{"line_number":63,"context_line":"    cfg.StrOpt(\u0027share_topic\u0027,"},{"line_number":64,"context_line":"               default\u003d\u0027manila-share\u0027,"},{"line_number":65,"context_line":"               help\u003d\u0027The topic share nodes listen on.\u0027),"},{"line_number":66,"context_line":"    cfg.BoolOpt(\u0027enable_v1_api\u0027,"},{"line_number":67,"context_line":"                default\u003dTrue,"},{"line_number":68,"context_line":"                help\u003d_(\"Deploy v1 of the Manila API.\")),"},{"line_number":69,"context_line":"    cfg.BoolOpt(\u0027enable_v2_api\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_8aca936d","side":"PARENT","line":66,"in_reply_to":"1a4dcd0f_18758630","updated":"2015-08-10 23:33:40.000000000","message":"OK, I reinstated these with deprecation language in the help strings.","commit_id":"f53613f5ff7ba1bf198e1a8ff5d00cdf9bd5a28b"}],"manila/exception.py":[{"author":{"_account_id":6491,"name":"xing-yang","email":"xingyang105@gmail.com","username":"xing-yang"},"change_message_id":"58231d7d8afe3299520b6f4e8488522969d135bd","unresolved":false,"context_lines":[{"line_number":179,"context_line":"    msg_fmt \u003d _(\"API version %(version)s is not supported on this method.\")"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"class InvalidGlobalAPIVersion(Invalid):"},{"line_number":183,"context_line":"    msg_fmt \u003d _(\"Version %(req_ver)s is not supported by the API. Minimum \""},{"line_number":184,"context_line":"                \"is %(min_ver)s and maximum is %(max_ver)s.\")"},{"line_number":185,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_34ae6f81","line":182,"updated":"2015-08-13 02:04:45.000000000","message":"Any reason to have \"Global\" here but not in other places?  I\u0027m fine if you want to keep it.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"a20b9e8b81b48c23d5b70345c77c8bad78e66905","unresolved":false,"context_lines":[{"line_number":179,"context_line":"    msg_fmt \u003d _(\"API version %(version)s is not supported on this method.\")"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"class InvalidGlobalAPIVersion(Invalid):"},{"line_number":183,"context_line":"    msg_fmt \u003d _(\"Version %(req_ver)s is not supported by the API. Minimum \""},{"line_number":184,"context_line":"                \"is %(min_ver)s and maximum is %(max_ver)s.\")"},{"line_number":185,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a4dcd0f_0370d770","line":182,"in_reply_to":"1a4dcd0f_34ae6f81","updated":"2015-08-13 19:56:46.000000000","message":"Yes.  While each REST API may be independently versioned, there is also provision (in api_version_request.py) for defining a global range that all APIs must fall within.  Obviously, the Manila minimum is 1.0 and will be for a long time, but if we ever need to remove 1.0 API support after a deprecation period, we can simply raise the global minimum value and all lower API requests would then be rejected.","commit_id":"cae73bad581602c252c9a429b037c2d334d9504f"}],"manila/tests/api/middleware/test_faults.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"3556dcbdbfcbb9fcb3f0f2cc7ad0a4151bbe4758","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            response \u003d request.get_response(fault)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"            expected \u003d {"},{"line_number":72,"context_line":"                u\"overLimit\": {"},{"line_number":73,"context_line":"                    u\"message\": u\"sorry\","},{"line_number":74,"context_line":"                    u\"code\": 413,"},{"line_number":75,"context_line":"                    u\"retryAfter\": 4,"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_11ae5885","line":72,"updated":"2015-08-11 06:53:14.000000000","message":"Do we really need this change? Unicode has no problems making comparison to ascii.","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"82bf2b671d3ae0be31e96df945fd5219df6922c5","unresolved":false,"context_lines":[{"line_number":69,"context_line":"            response \u003d request.get_response(fault)"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"            expected \u003d {"},{"line_number":72,"context_line":"                u\"overLimit\": {"},{"line_number":73,"context_line":"                    u\"message\": u\"sorry\","},{"line_number":74,"context_line":"                    u\"code\": 413,"},{"line_number":75,"context_line":"                    u\"retryAfter\": 4,"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_806f4afb","line":72,"in_reply_to":"1a4dcd0f_11ae5885","updated":"2015-08-11 21:39:39.000000000","message":"Strange, this seemed to be necessary earlier, but apparently not now.  Reverted.","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"}],"manila/tests/api/openstack/test_api_version_request.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"137ec36e59072c79e13032545fb70e7eace0a18f","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def test_invalid_version_strings(self):"},{"line_number":39,"context_line":"        self.assertRaises(exception.InvalidAPIVersionString,"},{"line_number":40,"context_line":"                          api_version_request.APIVersionRequest, \"2\")"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"        self.assertRaises(exception.InvalidAPIVersionString,"},{"line_number":43,"context_line":"                          api_version_request.APIVersionRequest, \"200\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_eb8468b2","line":40,"updated":"2015-07-30 12:04:08.000000000","message":"All of these should be separate tests. Please, use \"ddt\" here.","commit_id":"82802e624810e412f6993c8dbd877fdbc6b27d4d"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"ec4ada434449470f9b8104a447f4ee1175823163","unresolved":false,"context_lines":[{"line_number":37,"context_line":""},{"line_number":38,"context_line":"    def test_invalid_version_strings(self):"},{"line_number":39,"context_line":"        self.assertRaises(exception.InvalidAPIVersionString,"},{"line_number":40,"context_line":"                          api_version_request.APIVersionRequest, \"2\")"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"        self.assertRaises(exception.InvalidAPIVersionString,"},{"line_number":43,"context_line":"                          api_version_request.APIVersionRequest, \"200\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_b85cbb19","line":40,"in_reply_to":"3a50d1a3_eb8468b2","updated":"2015-08-07 03:52:02.000000000","message":"Completely agree.  This code came from Nova.  I will address this in Patch Set 3.","commit_id":"82802e624810e412f6993c8dbd877fdbc6b27d4d"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"4d3496a55b7bdb96441fdb5130df9a01bc9759e0","unresolved":false,"context_lines":[{"line_number":29,"context_line":"            self.assertEqual(v.ver_major, exp_major)"},{"line_number":30,"context_line":"            self.assertEqual(v.ver_minor, exp_minor)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"        _test_string(\"1.1\", 1, 1)"},{"line_number":33,"context_line":"        _test_string(\"2.10\", 2, 10)"},{"line_number":34,"context_line":"        _test_string(\"5.234\", 5, 234)"},{"line_number":35,"context_line":"        _test_string(\"12.5\", 12, 5)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_781e0a0d","line":32,"updated":"2015-08-07 15:28:50.000000000","message":"Please, use \"ddt\" for it.","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"7efbb014eeda210391c15e664efedc629afb6304","unresolved":false,"context_lines":[{"line_number":29,"context_line":"            self.assertEqual(v.ver_major, exp_major)"},{"line_number":30,"context_line":"            self.assertEqual(v.ver_minor, exp_minor)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"        _test_string(\"1.1\", 1, 1)"},{"line_number":33,"context_line":"        _test_string(\"2.10\", 2, 10)"},{"line_number":34,"context_line":"        _test_string(\"5.234\", 5, 234)"},{"line_number":35,"context_line":"        _test_string(\"12.5\", 12, 5)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_10beb2d4","line":32,"in_reply_to":"1a4dcd0f_781e0a0d","updated":"2015-08-10 23:33:40.000000000","message":"Done","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"4d3496a55b7bdb96441fdb5130df9a01bc9759e0","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def test_invalid_version_strings(self):"},{"line_number":44,"context_line":"        self.assertRaises(exception.InvalidAPIVersionString,"},{"line_number":45,"context_line":"                          api_version_request.APIVersionRequest, \"2\")"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        self.assertRaises(exception.InvalidAPIVersionString,"},{"line_number":48,"context_line":"                          api_version_request.APIVersionRequest, \"200\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_180266b4","line":45,"updated":"2015-08-07 15:28:50.000000000","message":"It should be splitted to separate test cases using \"ddt\".","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"7efbb014eeda210391c15e664efedc629afb6304","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def test_invalid_version_strings(self):"},{"line_number":44,"context_line":"        self.assertRaises(exception.InvalidAPIVersionString,"},{"line_number":45,"context_line":"                          api_version_request.APIVersionRequest, \"2\")"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        self.assertRaises(exception.InvalidAPIVersionString,"},{"line_number":48,"context_line":"                          api_version_request.APIVersionRequest, \"200\")"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_b0b25e05","line":45,"in_reply_to":"1a4dcd0f_180266b4","updated":"2015-08-10 23:33:40.000000000","message":"Done","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"}],"manila/tests/api/openstack/test_wsgi.py":[{"author":{"_account_id":17444,"name":"Jay.Shen","email":"shenhong09@huawei.com","username":"Jay.Shen"},"change_message_id":"c7af5362289b85cfdf5af1928397628b0d484ad4","unresolved":false,"context_lines":[{"line_number":660,"context_line":"        response \u003d resource.post_process_extensions([extension2, extension1],"},{"line_number":661,"context_line":"                                                    None, None, {})"},{"line_number":662,"context_line":"        self.assertEqual(called, [2])"},{"line_number":663,"context_line":"        self.assertEqual(response, \u0027foo\u0027)"},{"line_number":664,"context_line":""},{"line_number":665,"context_line":"    def test_post_process_extensions_version_not_found(self):"},{"line_number":666,"context_line":"        class Controller(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_687f2115","line":663,"updated":"2015-08-07 14:10:14.000000000","message":"Maintain correct order of parameters","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"729bf4b75efce25413e0927bdacb66b8a0d6d21b","unresolved":false,"context_lines":[{"line_number":660,"context_line":"        response \u003d resource.post_process_extensions([extension2, extension1],"},{"line_number":661,"context_line":"                                                    None, None, {})"},{"line_number":662,"context_line":"        self.assertEqual(called, [2])"},{"line_number":663,"context_line":"        self.assertEqual(response, \u0027foo\u0027)"},{"line_number":664,"context_line":""},{"line_number":665,"context_line":"    def test_post_process_extensions_version_not_found(self):"},{"line_number":666,"context_line":"        class Controller(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_e2602da7","line":663,"in_reply_to":"1a4dcd0f_687f2115","updated":"2015-08-07 15:30:10.000000000","message":"Quite right.  There are dozens of these misordered checks in this file, most of which were cloned from Cinder.  I fixed them all.","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":17444,"name":"Jay.Shen","email":"shenhong09@huawei.com","username":"Jay.Shen"},"change_message_id":"c7af5362289b85cfdf5af1928397628b0d484ad4","unresolved":false,"context_lines":[{"line_number":682,"context_line":"        response \u003d resource.post_process_extensions([extension2, extension1],"},{"line_number":683,"context_line":"                                                    None, None, {})"},{"line_number":684,"context_line":"        self.assertEqual(called, [1])"},{"line_number":685,"context_line":"        self.assertEqual(response, \u0027bar\u0027)"},{"line_number":686,"context_line":""},{"line_number":687,"context_line":"    def test_post_process_extensions_generator(self):"},{"line_number":688,"context_line":"        class Controller(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_088e9d2d","line":685,"updated":"2015-08-07 14:10:14.000000000","message":"Maintain correct order of parameters\n\nself.assertEqual(\u0027bar\u0027，response)","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"729bf4b75efce25413e0927bdacb66b8a0d6d21b","unresolved":false,"context_lines":[{"line_number":682,"context_line":"        response \u003d resource.post_process_extensions([extension2, extension1],"},{"line_number":683,"context_line":"                                                    None, None, {})"},{"line_number":684,"context_line":"        self.assertEqual(called, [1])"},{"line_number":685,"context_line":"        self.assertEqual(response, \u0027bar\u0027)"},{"line_number":686,"context_line":""},{"line_number":687,"context_line":"    def test_post_process_extensions_generator(self):"},{"line_number":688,"context_line":"        class Controller(object):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_a256a5cb","line":685,"in_reply_to":"1a4dcd0f_088e9d2d","updated":"2015-08-07 15:30:10.000000000","message":"Done","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"3556dcbdbfcbb9fcb3f0f2cc7ad0a4151bbe4758","unresolved":false,"context_lines":[{"line_number":662,"context_line":"        self.assertEqual([2], called)"},{"line_number":663,"context_line":"        self.assertEqual(\u0027foo\u0027, response)"},{"line_number":664,"context_line":""},{"line_number":665,"context_line":"    def test_post_process_extensions_version_not_found(self):"},{"line_number":666,"context_line":"        class Controller(object):"},{"line_number":667,"context_line":"            def index(self, req, pants\u003dNone):"},{"line_number":668,"context_line":"                return pants"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_517dc01a","line":665,"updated":"2015-08-11 06:53:14.000000000","message":"Almost all changes (reorder of expected/actual) except addition of this test are out of scope for this commit.","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"82bf2b671d3ae0be31e96df945fd5219df6922c5","unresolved":false,"context_lines":[{"line_number":662,"context_line":"        self.assertEqual([2], called)"},{"line_number":663,"context_line":"        self.assertEqual(\u0027foo\u0027, response)"},{"line_number":664,"context_line":""},{"line_number":665,"context_line":"    def test_post_process_extensions_version_not_found(self):"},{"line_number":666,"context_line":"        class Controller(object):"},{"line_number":667,"context_line":"            def index(self, req, pants\u003dNone):"},{"line_number":668,"context_line":"                return pants"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_a39cd0c0","line":665,"in_reply_to":"1a4dcd0f_517dc01a","updated":"2015-08-11 21:39:39.000000000","message":"True, but given the heavy legal review process I operate under, I would not submit a separate patch to fix this.  I got a review comment to fix the misordered ones in the added test, and given the trivial nature of the issue, I applied the Boy Scout Rule and fixed the others in the same file.\n\nhttp://deviq.com/boy-scout-rule/\n\nSo please make a choice: accept the additional corrections here, or have me revert the out-of-scope corrections with the understanding they will stay that way!  :-)","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"}],"manila/tests/api/test_versions.py":[{"author":{"_account_id":17444,"name":"Jay.Shen","email":"shenhong09@huawei.com","username":"Jay.Shen"},"change_message_id":"c7af5362289b85cfdf5af1928397628b0d484ad4","unresolved":false,"context_lines":[{"line_number":153,"context_line":"        app \u003d fakes.TestRouter(Controller())"},{"line_number":154,"context_line":"        response \u003d req.get_response(app)"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"        self.assertEqual(response.status_int, 404)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_68cde164","line":156,"updated":"2015-08-07 14:10:14.000000000","message":"Maintain correct order of parameters","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"729bf4b75efce25413e0927bdacb66b8a0d6d21b","unresolved":false,"context_lines":[{"line_number":153,"context_line":"        app \u003d fakes.TestRouter(Controller())"},{"line_number":154,"context_line":"        response \u003d req.get_response(app)"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"        self.assertEqual(response.status_int, 404)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_02c0b94e","line":156,"in_reply_to":"1a4dcd0f_68cde164","updated":"2015-08-07 15:30:10.000000000","message":"Done","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"}],"manila/tests/api/views/test_versions.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"4d3496a55b7bdb96441fdb5130df9a01bc9759e0","unresolved":false,"context_lines":[{"line_number":69,"context_line":"@ddt.ddt"},{"line_number":70,"context_line":"class ViewBuilderTestCase(test.TestCase):"},{"line_number":71,"context_line":"    def setUp(self):"},{"line_number":72,"context_line":"        super(ViewBuilderTestCase, self).setUp()"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def _get_builder(self):"},{"line_number":75,"context_line":"        request \u003d FakeRequest(\u0027fake\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_58b22e4d","line":72,"updated":"2015-08-07 15:28:50.000000000","message":"This \"setUp\" is redundant.","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"7efbb014eeda210391c15e664efedc629afb6304","unresolved":false,"context_lines":[{"line_number":69,"context_line":"@ddt.ddt"},{"line_number":70,"context_line":"class ViewBuilderTestCase(test.TestCase):"},{"line_number":71,"context_line":"    def setUp(self):"},{"line_number":72,"context_line":"        super(ViewBuilderTestCase, self).setUp()"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    def _get_builder(self):"},{"line_number":75,"context_line":"        request \u003d FakeRequest(\u0027fake\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_d0ae0a98","line":72,"in_reply_to":"1a4dcd0f_58b22e4d","updated":"2015-08-10 23:33:40.000000000","message":"Yep, sure is.  Fixed.","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"4d3496a55b7bdb96441fdb5130df9a01bc9759e0","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        result \u003d self._get_builder().build_versions(FAKE_VERSIONS)"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        expected \u003d {\u0027versions\u0027: [FAKE_VERSIONS[key] for key in FAKE_VERSIONS]}"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        self.assertEqual(expected, result)"},{"line_number":85,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_188fc675","line":82,"updated":"2015-08-07 15:28:50.000000000","message":"expected \u003d {\u0027versions\u0027: list(FAKE_VERSIONS.values())}","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"7efbb014eeda210391c15e664efedc629afb6304","unresolved":false,"context_lines":[{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        result \u003d self._get_builder().build_versions(FAKE_VERSIONS)"},{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        expected \u003d {\u0027versions\u0027: [FAKE_VERSIONS[key] for key in FAKE_VERSIONS]}"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        self.assertEqual(expected, result)"},{"line_number":85,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_043677b4","line":82,"in_reply_to":"1a4dcd0f_188fc675","updated":"2015-08-10 23:33:40.000000000","message":"Better, thanks!  Fixed.","commit_id":"05d1088f610ebfd4df888b035e020acf1a24ea85"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"3556dcbdbfcbb9fcb3f0f2cc7ad0a4151bbe4758","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        result \u003d self._get_builder().build_versions(FAKE_VERSIONS)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        expected \u003d {\u0027versions\u0027: FAKE_VERSIONS.values()}"},{"line_number":85,"context_line":"        expected[\u0027versions\u0027][0][\u0027links\u0027] \u003d FAKE_LINKS"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"        self.assertEqual(expected, result)"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_b144441b","line":84,"updated":"2015-08-11 06:53:14.000000000","message":"No, no, no. It should be wrapped in \"list()\" exactly as in comment for patch-set2. In case of py3 it won\u0027t be list.","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"82bf2b671d3ae0be31e96df945fd5219df6922c5","unresolved":false,"context_lines":[{"line_number":81,"context_line":""},{"line_number":82,"context_line":"        result \u003d self._get_builder().build_versions(FAKE_VERSIONS)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        expected \u003d {\u0027versions\u0027: FAKE_VERSIONS.values()}"},{"line_number":85,"context_line":"        expected[\u0027versions\u0027][0][\u0027links\u0027] \u003d FAKE_LINKS"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"        self.assertEqual(expected, result)"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_a35ff0e3","line":84,"in_reply_to":"1a4dcd0f_b144441b","updated":"2015-08-11 21:39:39.000000000","message":"Fixed, thanks.","commit_id":"35751f2de2ee5dc12717ad63ae07343b714f731a"}],"manila/utils.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"137ec36e59072c79e13032545fb70e7eace0a18f","unresolved":false,"context_lines":[{"line_number":461,"context_line":"            _(\"Provided improper IP version \u0027%s\u0027.\") % ip_version)"},{"line_number":462,"context_line":""},{"line_number":463,"context_line":""},{"line_number":464,"context_line":"def utf8(value):"},{"line_number":465,"context_line":"    \"\"\"Try to turn a string into utf-8 if possible."},{"line_number":466,"context_line":""},{"line_number":467,"context_line":"    Code is directly from the utf8 function in"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_2b157048","line":464,"updated":"2015-07-30 12:04:08.000000000","message":"I think this one is redundant. We can just use \"six.text_type\" and that\u0027s all.","commit_id":"82802e624810e412f6993c8dbd877fdbc6b27d4d"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"ec4ada434449470f9b8104a447f4ee1175823163","unresolved":false,"context_lines":[{"line_number":461,"context_line":"            _(\"Provided improper IP version \u0027%s\u0027.\") % ip_version)"},{"line_number":462,"context_line":""},{"line_number":463,"context_line":""},{"line_number":464,"context_line":"def utf8(value):"},{"line_number":465,"context_line":"    \"\"\"Try to turn a string into utf-8 if possible."},{"line_number":466,"context_line":""},{"line_number":467,"context_line":"    Code is directly from the utf8 function in"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_5eec7f29","line":464,"in_reply_to":"3a50d1a3_2b157048","updated":"2015-08-07 03:52:02.000000000","message":"Agreed.  This was a hasty port from Nova, and I\u0027ve completely removed this method in Patch Set 2.","commit_id":"82802e624810e412f6993c8dbd877fdbc6b27d4d"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"137ec36e59072c79e13032545fb70e7eace0a18f","unresolved":false,"context_lines":[{"line_number":468,"context_line":"    http://github.com/facebook/tornado/blob/master/tornado/escape.py"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"    \"\"\""},{"line_number":471,"context_line":"    if isinstance(value, unicode):"},{"line_number":472,"context_line":"        return value.encode(\u0027utf-8\u0027)"},{"line_number":473,"context_line":"    assert isinstance(value, str)"},{"line_number":474,"context_line":"    return value"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_ab2ae08e","line":471,"updated":"2015-07-30 12:04:08.000000000","message":"This is  py2 specific.","commit_id":"82802e624810e412f6993c8dbd877fdbc6b27d4d"},{"author":{"_account_id":11865,"name":"Clinton Knight","email":"cknight@netapp.com","username":"cknight"},"change_message_id":"ec4ada434449470f9b8104a447f4ee1175823163","unresolved":false,"context_lines":[{"line_number":468,"context_line":"    http://github.com/facebook/tornado/blob/master/tornado/escape.py"},{"line_number":469,"context_line":""},{"line_number":470,"context_line":"    \"\"\""},{"line_number":471,"context_line":"    if isinstance(value, unicode):"},{"line_number":472,"context_line":"        return value.encode(\u0027utf-8\u0027)"},{"line_number":473,"context_line":"    assert isinstance(value, str)"},{"line_number":474,"context_line":"    return value"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_bee1032c","line":471,"in_reply_to":"3a50d1a3_ab2ae08e","updated":"2015-08-07 03:52:02.000000000","message":"Method removed in Patch Set 2.","commit_id":"82802e624810e412f6993c8dbd877fdbc6b27d4d"}]}
