)]}'
{"glance_store/_drivers/http.py":[{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"2362ec7fed3d9f1d06eba72f38de1785289a96de","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"_HTTP_OPTS \u003d ["},{"line_number":38,"context_line":"    cfg.StrOpt(\u0027https_ca_bundle\u0027,"},{"line_number":39,"context_line":"               help\u003d_(\u0027Specify a CA bundle file to use in verifying the \u0027"},{"line_number":40,"context_line":"                      \u0027remote server certificate.\u0027)),"},{"line_number":41,"context_line":"    cfg.BoolOpt(\u0027disable_https_verification\u0027,"},{"line_number":42,"context_line":"                default\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a5de9d1_b48530ae","line":39,"updated":"2016-01-28 12:34:57.000000000","message":"Maybe we need to change this to:\nPath to CA bundle file to use ..\nbecause it is more appropriate for option description IMO.","commit_id":"fbb41c31f7d4f8b67b3d9cea53469ddc1cdde367"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"15b86ca91aba7d2a66c8f46ff5e457a34c04b984","unresolved":false,"context_lines":[{"line_number":36,"context_line":""},{"line_number":37,"context_line":"_HTTP_OPTS \u003d ["},{"line_number":38,"context_line":"    cfg.StrOpt(\u0027https_ca_bundle\u0027,"},{"line_number":39,"context_line":"               help\u003d_(\u0027Specify a CA bundle file to use in verifying the \u0027"},{"line_number":40,"context_line":"                      \u0027remote server certificate.\u0027)),"},{"line_number":41,"context_line":"    cfg.BoolOpt(\u0027disable_https_verification\u0027,"},{"line_number":42,"context_line":"                default\u003dTrue,"}],"source_content_type":"text/x-python","patch_set":3,"id":"bae84128_eb4ac126","line":39,"in_reply_to":"7a5de9d1_b48530ae","updated":"2016-02-25 08:51:04.000000000","message":"Done","commit_id":"fbb41c31f7d4f8b67b3d9cea53469ddc1cdde367"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"2362ec7fed3d9f1d06eba72f38de1785289a96de","unresolved":false,"context_lines":[{"line_number":270,"context_line":"            self.session \u003d requests.Session()"},{"line_number":271,"context_line":"        ca_bundle \u003d self.conf.glance_store.https_ca_bundle"},{"line_number":272,"context_line":"        disable_https \u003d self.conf.glance_store.disable_https_verification"},{"line_number":273,"context_line":"        self.session.verify \u003d ca_bundle if ca_bundle else not disable_https"},{"line_number":274,"context_line":"        self.session.proxies \u003d self.conf.glance_store.http_proxy_information"},{"line_number":275,"context_line":"        return self.session.request(verb, location.get_uri(), stream\u003dTrue,"},{"line_number":276,"context_line":"                                    allow_redirects\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a5de9d1_9496f44a","line":273,"range":{"start_line":273,"start_character":58,"end_line":273,"end_character":61},"updated":"2016-01-28 12:34:57.000000000","message":"Does it worth to change the option to enable_https_verification then? That slightly increases clarify of the code because we wouldn\u0027t need not here.\nNot reason for -1.","commit_id":"fbb41c31f7d4f8b67b3d9cea53469ddc1cdde367"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"15b86ca91aba7d2a66c8f46ff5e457a34c04b984","unresolved":false,"context_lines":[{"line_number":270,"context_line":"            self.session \u003d requests.Session()"},{"line_number":271,"context_line":"        ca_bundle \u003d self.conf.glance_store.https_ca_bundle"},{"line_number":272,"context_line":"        disable_https \u003d self.conf.glance_store.disable_https_verification"},{"line_number":273,"context_line":"        self.session.verify \u003d ca_bundle if ca_bundle else not disable_https"},{"line_number":274,"context_line":"        self.session.proxies \u003d self.conf.glance_store.http_proxy_information"},{"line_number":275,"context_line":"        return self.session.request(verb, location.get_uri(), stream\u003dTrue,"},{"line_number":276,"context_line":"                                    allow_redirects\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":3,"id":"bae84128_cb789d2e","line":273,"range":{"start_line":273,"start_character":58,"end_line":273,"end_character":61},"in_reply_to":"7a5de9d1_9496f44a","updated":"2016-02-25 08:51:04.000000000","message":"I think the name disable_https_verification was used to signify that by default we would verify the https connection and the operator can choose to disable if needed. (Note:- that\u0027s the plan but for this release we don\u0027t verify by default.)\n\n\nI am okay with both. Probably, needs an update to the spec if we plan to change.","commit_id":"fbb41c31f7d4f8b67b3d9cea53469ddc1cdde367"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"2362ec7fed3d9f1d06eba72f38de1785289a96de","unresolved":false,"context_lines":[{"line_number":272,"context_line":"        disable_https \u003d self.conf.glance_store.disable_https_verification"},{"line_number":273,"context_line":"        self.session.verify \u003d ca_bundle if ca_bundle else not disable_https"},{"line_number":274,"context_line":"        self.session.proxies \u003d self.conf.glance_store.http_proxy_information"},{"line_number":275,"context_line":"        return self.session.request(verb, location.get_uri(), stream\u003dTrue,"},{"line_number":276,"context_line":"                                    allow_redirects\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a5de9d1_57563ed3","line":275,"updated":"2016-01-28 12:34:57.000000000","message":"IMO, it is reasonable to use method arguments: proxies and verify instead of modifying session object:\nhttp://docs.python-requests.org/en/latest/api/?highlight\u003dverify#requests.request","commit_id":"fbb41c31f7d4f8b67b3d9cea53469ddc1cdde367"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"420ea176681a27e54721eaeeffdf688c040c2c41","unresolved":false,"context_lines":[{"line_number":34,"context_line":"MAX_REDIRECTS \u003d 5"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"_HTTP_OPTS \u003d ["},{"line_number":37,"context_line":"    cfg.StrOpt(\u0027https_ca_bundle\u0027,"},{"line_number":38,"context_line":"               help\u003d_(\u0027Specify the path to the CA bundle file to use in \u0027"},{"line_number":39,"context_line":"                      \u0027verifying the remote server certificate.\u0027)),"},{"line_number":40,"context_line":"    cfg.BoolOpt(\u0027disable_https_verification\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_9f26d414","line":37,"updated":"2016-02-26 04:26:43.000000000","message":"can we please use \u0027https_ca_file\u0027 or \u0027https_ca_certificates_file\u0027 to be consistent with the naming of our previous options https://github.com/openstack/glance/blob/master/etc/glance-api.conf#L294 https://github.com/openstack/glance/blob/master/etc/glance-api.conf#L949","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"616340ee880c059a17e9e986131033946fee10ee","unresolved":false,"context_lines":[{"line_number":34,"context_line":"MAX_REDIRECTS \u003d 5"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"_HTTP_OPTS \u003d ["},{"line_number":37,"context_line":"    cfg.StrOpt(\u0027https_ca_bundle\u0027,"},{"line_number":38,"context_line":"               help\u003d_(\u0027Specify the path to the CA bundle file to use in \u0027"},{"line_number":39,"context_line":"                      \u0027verifying the remote server certificate.\u0027)),"},{"line_number":40,"context_line":"    cfg.BoolOpt(\u0027disable_https_verification\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_ca2257b9","line":37,"in_reply_to":"9aed3d3a_9f26d414","updated":"2016-02-26 07:37:05.000000000","message":"++ to naming consistency.","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"305e9066f1eb0d97ad8deb0202201c996a15ae08","unresolved":false,"context_lines":[{"line_number":34,"context_line":"MAX_REDIRECTS \u003d 5"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"_HTTP_OPTS \u003d ["},{"line_number":37,"context_line":"    cfg.StrOpt(\u0027https_ca_bundle\u0027,"},{"line_number":38,"context_line":"               help\u003d_(\u0027Specify the path to the CA bundle file to use in \u0027"},{"line_number":39,"context_line":"                      \u0027verifying the remote server certificate.\u0027)),"},{"line_number":40,"context_line":"    cfg.BoolOpt(\u0027disable_https_verification\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_d22b00ea","line":37,"in_reply_to":"9aed3d3a_ca2257b9","updated":"2016-02-26 19:29:33.000000000","message":"Flavio took care of this.","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"420ea176681a27e54721eaeeffdf688c040c2c41","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    cfg.StrOpt(\u0027https_ca_bundle\u0027,"},{"line_number":38,"context_line":"               help\u003d_(\u0027Specify the path to the CA bundle file to use in \u0027"},{"line_number":39,"context_line":"                      \u0027verifying the remote server certificate.\u0027)),"},{"line_number":40,"context_line":"    cfg.BoolOpt(\u0027disable_https_verification\u0027,"},{"line_number":41,"context_line":"                default\u003dTrue,"},{"line_number":42,"context_line":"                help\u003d_(\u0027If true, the remote server certificate is not \u0027"},{"line_number":43,"context_line":"                       \u0027verified. If false, then the default CA truststore is \u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_5fe8cc7c","line":40,"updated":"2016-02-26 04:26:43.000000000","message":"Ditto: \u0027https_api_insecure\u0027 https://github.com/openstack/glance/blob/master/etc/glance-api.conf#L300","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"305e9066f1eb0d97ad8deb0202201c996a15ae08","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    cfg.StrOpt(\u0027https_ca_bundle\u0027,"},{"line_number":38,"context_line":"               help\u003d_(\u0027Specify the path to the CA bundle file to use in \u0027"},{"line_number":39,"context_line":"                      \u0027verifying the remote server certificate.\u0027)),"},{"line_number":40,"context_line":"    cfg.BoolOpt(\u0027disable_https_verification\u0027,"},{"line_number":41,"context_line":"                default\u003dTrue,"},{"line_number":42,"context_line":"                help\u003d_(\u0027If true, the remote server certificate is not \u0027"},{"line_number":43,"context_line":"                       \u0027verified. If false, then the default CA truststore is \u0027"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_b22e3cf8","line":40,"in_reply_to":"9aed3d3a_5fe8cc7c","updated":"2016-02-26 19:29:33.000000000","message":"Done","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"420ea176681a27e54721eaeeffdf688c040c2c41","unresolved":false,"context_lines":[{"line_number":48,"context_line":"                help\u003d_(\u0027Specify the http/https proxy information that should \u0027"},{"line_number":49,"context_line":"                       \u0027be used to connect to the remote server. The proxy \u0027"},{"line_number":50,"context_line":"                       \u0027information should be a key value pair of the \u0027"},{"line_number":51,"context_line":"                       \u0027scheme and proxy. e.g. http:10.0.0.1:3128. You can \u0027"},{"line_number":52,"context_line":"                       \u0027specify proxies for multiple schemes by seperating \u0027"},{"line_number":53,"context_line":"                       \u0027the key value pairs with a comma.\u0027"},{"line_number":54,"context_line":"                       \u0027e.g. http:10.0.0.1:3128, https:10.0.0.1:1080.\u0027))]"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_3b799b94","line":51,"updated":"2016-02-26 04:26:43.000000000","message":"e.g. {\u0027http\u0027:\u002710.0.0.1:3128\u0027} ?","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"305e9066f1eb0d97ad8deb0202201c996a15ae08","unresolved":false,"context_lines":[{"line_number":48,"context_line":"                help\u003d_(\u0027Specify the http/https proxy information that should \u0027"},{"line_number":49,"context_line":"                       \u0027be used to connect to the remote server. The proxy \u0027"},{"line_number":50,"context_line":"                       \u0027information should be a key value pair of the \u0027"},{"line_number":51,"context_line":"                       \u0027scheme and proxy. e.g. http:10.0.0.1:3128. You can \u0027"},{"line_number":52,"context_line":"                       \u0027specify proxies for multiple schemes by seperating \u0027"},{"line_number":53,"context_line":"                       \u0027the key value pairs with a comma.\u0027"},{"line_number":54,"context_line":"                       \u0027e.g. http:10.0.0.1:3128, https:10.0.0.1:1080.\u0027))]"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_95e23002","line":51,"in_reply_to":"9aed3d3a_3b799b94","updated":"2016-02-26 19:29:33.000000000","message":"No, when an option is dictopt, you specify it like this in conf file.\n\n http_proxy_information \u003d http:proxy.example.com:3128, https:proxy.example.com:1080","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"},{"author":{"_account_id":5202,"name":"Erno Kuvaja","email":"jokke@usr.fi","username":"jokke"},"change_message_id":"420ea176681a27e54721eaeeffdf688c040c2c41","unresolved":false,"context_lines":[{"line_number":51,"context_line":"                       \u0027scheme and proxy. e.g. http:10.0.0.1:3128. You can \u0027"},{"line_number":52,"context_line":"                       \u0027specify proxies for multiple schemes by seperating \u0027"},{"line_number":53,"context_line":"                       \u0027the key value pairs with a comma.\u0027"},{"line_number":54,"context_line":"                       \u0027e.g. http:10.0.0.1:3128, https:10.0.0.1:1080.\u0027))]"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"class StoreLocation(glance_store.location.StoreLocation):"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_7baa03d6","line":54,"updated":"2016-02-26 04:26:43.000000000","message":"e.g. {\u0027http\u0027:\u002710.0.0.1:3128\u0027, \u0027https\u0027:\u002710.0.0.1:1080\u0027} ?","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"305e9066f1eb0d97ad8deb0202201c996a15ae08","unresolved":false,"context_lines":[{"line_number":51,"context_line":"                       \u0027scheme and proxy. e.g. http:10.0.0.1:3128. You can \u0027"},{"line_number":52,"context_line":"                       \u0027specify proxies for multiple schemes by seperating \u0027"},{"line_number":53,"context_line":"                       \u0027the key value pairs with a comma.\u0027"},{"line_number":54,"context_line":"                       \u0027e.g. http:10.0.0.1:3128, https:10.0.0.1:1080.\u0027))]"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"class StoreLocation(glance_store.location.StoreLocation):"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_15c2a033","line":54,"in_reply_to":"9aed3d3a_7baa03d6","updated":"2016-02-26 19:29:33.000000000","message":"answered above, also, the conf value should not be quoted. If done so, it will result in a dict like this which I don\u0027t think will work with requests.\n{\"http\u0027\": \"\u0027proxy.vmware.com:3128\u0027\", \"\u0027https\u0027\": \"\u0027aproxy.vmware.com:3128\"}","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"616340ee880c059a17e9e986131033946fee10ee","unresolved":false,"context_lines":[{"line_number":279,"context_line":"        ca_bundle \u003d self.conf.glance_store.https_ca_bundle"},{"line_number":280,"context_line":"        disable_https \u003d self.conf.glance_store.disable_https_verification"},{"line_number":281,"context_line":"        self.session.verify \u003d ca_bundle if ca_bundle else not disable_https"},{"line_number":282,"context_line":"        self.session.proxies \u003d self.conf.glance_store.http_proxy_information"},{"line_number":283,"context_line":"        return self.session.request(verb, location.get_uri(), stream\u003dTrue,"},{"line_number":284,"context_line":"                                    allow_redirects\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_f5729c7b","line":282,"updated":"2016-02-26 07:37:05.000000000","message":"Not reason for -1.\nI would love to use proxies and verify as arguments in requests method:\nhttps://github.com/kennethreitz/requests/blob/master/requests/sessions.py#L392\nmethod arguments is preferred because I don\u0027t need to bother about session attributes and I don\u0027t need to know that session has verify and proxies attributes. All that I know in this case is method definition in Session.","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"},{"author":{"_account_id":7575,"name":"Sabari","email":"smurugesan@vmware.com","username":"sabari"},"change_message_id":"8d57a3ccda0c98371b52c0e41d265003f4022a54","unresolved":false,"context_lines":[{"line_number":279,"context_line":"        ca_bundle \u003d self.conf.glance_store.https_ca_bundle"},{"line_number":280,"context_line":"        disable_https \u003d self.conf.glance_store.disable_https_verification"},{"line_number":281,"context_line":"        self.session.verify \u003d ca_bundle if ca_bundle else not disable_https"},{"line_number":282,"context_line":"        self.session.proxies \u003d self.conf.glance_store.http_proxy_information"},{"line_number":283,"context_line":"        return self.session.request(verb, location.get_uri(), stream\u003dTrue,"},{"line_number":284,"context_line":"                                    allow_redirects\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":4,"id":"9aed3d3a_724af4ad","line":282,"in_reply_to":"9aed3d3a_f5729c7b","updated":"2016-02-26 19:31:06.000000000","message":"ok, I will change this as part of another patch :)","commit_id":"8734146f58fadc1f5413dd5221c8750780345deb"}]}
