)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"6fd6ec74d65d34217e7a17399bdf060eb734084c","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Support re-authentication when downloading or uploading images."},{"line_number":10,"context_line":"If single tenant store is used then request the new token"},{"line_number":11,"context_line":"for service user."},{"line_number":12,"context_line":"If multi tenant srore is used then request the new token with"},{"line_number":13,"context_line":"trusts."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Implements bp prevention-of-401-in-swift-driver"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"7a740942_04830304","line":12,"updated":"2015-12-14 16:33:37.000000000","message":"s/srore/store/ if you need another patchset","commit_id":"ef6290c9aedd9400080bfaed86519254e0e8c978"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"c36363d1fdb5650c068cd5858e70c8842df34b07","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Support re-authentication when downloading or uploading images."},{"line_number":10,"context_line":"If single tenant store is used then request the new token"},{"line_number":11,"context_line":"for service user."},{"line_number":12,"context_line":"If multi tenant srore is used then request the new token with"},{"line_number":13,"context_line":"trusts."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Implements bp prevention-of-401-in-swift-driver"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"5a710552_3b2b9984","line":12,"in_reply_to":"7a740942_04830304","updated":"2015-12-14 22:32:05.000000000","message":"Will do, thanks.","commit_id":"ef6290c9aedd9400080bfaed86519254e0e8c978"}],"glance_store/_drivers/swift/store.py":[{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"6fd6ec74d65d34217e7a17399bdf060eb734084c","unresolved":false,"context_lines":[{"line_number":517,"context_line":""},{"line_number":518,"context_line":"    @capabilities.check"},{"line_number":519,"context_line":"    def add(self, image_id, image_file, image_size, context\u003dNone):"},{"line_number":520,"context_line":"        location \u003d self.create_location(image_id, context\u003dcontext)"},{"line_number":521,"context_line":"        # initialize a manager with re-auth if image need to be splitted"},{"line_number":522,"context_line":"        single_chunked \u003d 0 \u003c image_size \u003c self.large_object_size"},{"line_number":523,"context_line":"        manager \u003d get_manager_for_store(self, location, context,"}],"source_content_type":"text/x-python","patch_set":7,"id":"7a740942_c41dfb0f","line":520,"updated":"2015-12-14 16:33:37.000000000","message":"Do we have to call manager.get_connection() multiple times in this function? Couldn\u0027t we start with \"connection \u003d manager.get_connection()\"?","commit_id":"ef6290c9aedd9400080bfaed86519254e0e8c978"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"c36363d1fdb5650c068cd5858e70c8842df34b07","unresolved":false,"context_lines":[{"line_number":517,"context_line":""},{"line_number":518,"context_line":"    @capabilities.check"},{"line_number":519,"context_line":"    def add(self, image_id, image_file, image_size, context\u003dNone):"},{"line_number":520,"context_line":"        location \u003d self.create_location(image_id, context\u003dcontext)"},{"line_number":521,"context_line":"        # initialize a manager with re-auth if image need to be splitted"},{"line_number":522,"context_line":"        single_chunked \u003d 0 \u003c image_size \u003c self.large_object_size"},{"line_number":523,"context_line":"        manager \u003d get_manager_for_store(self, location, context,"}],"source_content_type":"text/x-python","patch_set":7,"id":"5a710552_3b04f913","line":520,"in_reply_to":"7a740942_c41dfb0f","updated":"2015-12-14 22:32:05.000000000","message":"Nope, the main goal is always receive a connection with valid token. Manager is responsible for this. It keeps connection until it is going to expire soon.","commit_id":"ef6290c9aedd9400080bfaed86519254e0e8c978"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"a96eb18f005517a00a617589573d6dc17ab756ec","unresolved":false,"context_lines":[{"line_number":143,"context_line":"]"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"def swift_retry_iter(resp_iter, length, store, location, manager):"},{"line_number":147,"context_line":"    if not length and isinstance(resp_iter, six.BytesIO):"},{"line_number":148,"context_line":"        if six.PY3:"},{"line_number":149,"context_line":"            # On Python 3, io.BytesIO does not have a len attribute, instead"}],"source_content_type":"text/x-python","patch_set":18,"id":"9aed3d3a_9e505f0c","line":146,"updated":"2016-02-26 21:46:23.000000000","message":"This is fine because this driver is part of a private package. Otherwise, this would be an API break. (mostly reference for other reviewers)","commit_id":"1b782cee8552ec02f7303ee6f9ba9d1f2c180d07"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"a96eb18f005517a00a617589573d6dc17ab756ec","unresolved":false,"context_lines":[{"line_number":468,"context_line":"            offset\u003d0, chunk_size\u003dNone, context\u003dNone):"},{"line_number":469,"context_line":"        location \u003d location.store_location"},{"line_number":470,"context_line":"        # initialize manager to receive valid connections"},{"line_number":471,"context_line":"        allow_retry \u003d \\"},{"line_number":472,"context_line":"            self.conf.glance_store.swift_store_retry_get_count \u003e 0"},{"line_number":473,"context_line":"        with get_manager_for_store(self, location, context,"},{"line_number":474,"context_line":"                                   allow_reauth\u003dallow_retry) as manager:"}],"source_content_type":"text/x-python","patch_set":18,"id":"9aed3d3a_de7147aa","line":471,"updated":"2016-02-26 21:46:23.000000000","message":"nit: Use `()` instead of `\\`","commit_id":"1b782cee8552ec02f7303ee6f9ba9d1f2c180d07"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"a96eb18f005517a00a617589573d6dc17ab756ec","unresolved":false,"context_lines":[{"line_number":522,"context_line":""},{"line_number":523,"context_line":"    @capabilities.check"},{"line_number":524,"context_line":"    def add(self, image_id, image_file, image_size,"},{"line_number":525,"context_line":"            context\u003dNone, verifier\u003dNone):"},{"line_number":526,"context_line":"        location \u003d self.create_location(image_id, context\u003dcontext)"},{"line_number":527,"context_line":"        # initialize a manager with re-auth if image need to be splitted"},{"line_number":528,"context_line":"        need_chunks \u003d (image_size \u003d\u003d 0) or ("}],"source_content_type":"text/x-python","patch_set":18,"id":"9aed3d3a_520feb2d","line":525,"updated":"2016-02-26 21:46:23.000000000","message":"nit: I think this would fit in a single line","commit_id":"1b782cee8552ec02f7303ee6f9ba9d1f2c180d07"}]}
