)]}'
{"zaqar/storage/utils.py":[{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"dad89177fa7797d3ae6a78c84f5d2781641f7750","unresolved":false,"context_lines":[{"line_number":219,"context_line":""},{"line_number":220,"context_line":"    :param body: The message body."},{"line_number":221,"context_line":"    :type body: six.text_type"},{"line_number":222,"context_line":"    :param body: The algorithm type, default is MD5."},{"line_number":223,"context_line":"    :type body: six.text_type"},{"line_number":224,"context_line":"    :returns: The message body checksum."},{"line_number":225,"context_line":"    :rtype: six.text_type"}],"source_content_type":"text/x-python","patch_set":4,"id":"7f96bb07_107b06f5","line":222,"range":{"start_line":222,"start_character":11,"end_line":222,"end_character":15},"updated":"2018-01-16 13:40:36.000000000","message":"This paramter is wrong.","commit_id":"63bcbc93d6497600eb8d1ab17b09cb3e0f92e910"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"dad89177fa7797d3ae6a78c84f5d2781641f7750","unresolved":false,"context_lines":[{"line_number":220,"context_line":"    :param body: The message body."},{"line_number":221,"context_line":"    :type body: six.text_type"},{"line_number":222,"context_line":"    :param body: The algorithm type, default is MD5."},{"line_number":223,"context_line":"    :type body: six.text_type"},{"line_number":224,"context_line":"    :returns: The message body checksum."},{"line_number":225,"context_line":"    :rtype: six.text_type"},{"line_number":226,"context_line":"    \"\"\""}],"source_content_type":"text/x-python","patch_set":4,"id":"7f96bb07_906e362d","line":223,"range":{"start_line":223,"start_character":10,"end_line":223,"end_character":14},"updated":"2018-01-16 13:40:36.000000000","message":"This paramter is wrong.","commit_id":"63bcbc93d6497600eb8d1ab17b09cb3e0f92e910"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"60f45270a7d2fa55b95b3bf9e139e7e333767cc9","unresolved":false,"context_lines":[{"line_number":238,"context_line":"        md5.update(checksum_body)"},{"line_number":239,"context_line":"        checksum \u003d md5.hexdigest()"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    return checksum"}],"source_content_type":"text/x-python","patch_set":6,"id":"7f96bb07_007e38ae","line":241,"updated":"2018-01-17 08:00:39.000000000","message":"If you returned \"md5:XXX\" (so with a prefix) the data, that would allow easily to return \"sha256:YYY\" in the future.","commit_id":"c60d26bc76d01a06eb183f2f9942f4c731160ea2"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"47bd7eb8ebfa42a626b7dcb64ba56ec32dcad95f","unresolved":false,"context_lines":[{"line_number":238,"context_line":"        md5.update(checksum_body)"},{"line_number":239,"context_line":"        checksum \u003d md5.hexdigest()"},{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    return checksum"}],"source_content_type":"text/x-python","patch_set":6,"id":"7f96bb07_63adc6e7","line":241,"in_reply_to":"7f96bb07_007e38ae","updated":"2018-01-17 08:10:01.000000000","message":"It is a good idea. Thanks.","commit_id":"c60d26bc76d01a06eb183f2f9942f4c731160ea2"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"8e4b7a95f8185f065645b67006521332208f977a","unresolved":false,"context_lines":[{"line_number":225,"context_line":"    :rtype: six.text_type"},{"line_number":226,"context_line":"    \"\"\""},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    checksum \u003d \u0027%s:\u0027 % algorithm"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"    if body is None:"},{"line_number":231,"context_line":"        return \u0027\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"7f96bb07_939c996a","line":228,"range":{"start_line":228,"start_character":0,"end_line":228,"end_character":32},"updated":"2018-01-19 03:50:16.000000000","message":"I think we don\u0027t need the \"md5\" in checksum, just checksum\u003d\"XXXXX\"","commit_id":"1edcbcb1e4126603d9f6cc6b1d33c03fc9e7e7c4"},{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"dea680af56b55e76943f267addf7e04b7f9768b3","unresolved":false,"context_lines":[{"line_number":225,"context_line":"    :rtype: six.text_type"},{"line_number":226,"context_line":"    \"\"\""},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    checksum \u003d \u0027%s:\u0027 % algorithm"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"    if body is None:"},{"line_number":231,"context_line":"        return \u0027\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"7f96bb07_a1fb7845","line":228,"range":{"start_line":228,"start_character":0,"end_line":228,"end_character":32},"in_reply_to":"7f96bb07_939c996a","updated":"2018-01-19 08:45:02.000000000","message":"We don\u0027t need it, but I suggested it to allow using different hash later on.","commit_id":"1edcbcb1e4126603d9f6cc6b1d33c03fc9e7e7c4"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"37c4d32e3c56267e8fc95b25610a9ff1e78252f8","unresolved":false,"context_lines":[{"line_number":225,"context_line":"    :rtype: six.text_type"},{"line_number":226,"context_line":"    \"\"\""},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    checksum \u003d \u0027%s:\u0027 % algorithm"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"    if body is None:"},{"line_number":231,"context_line":"        return \u0027\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"7f96bb07_05d25835","line":228,"range":{"start_line":228,"start_character":0,"end_line":228,"end_character":32},"in_reply_to":"7f96bb07_a1fb7845","updated":"2018-01-21 07:52:01.000000000","message":"I think this is useful for extending other algorithms in the future, and it avoids the need to return the algorithm\u0027s properties.","commit_id":"1edcbcb1e4126603d9f6cc6b1d33c03fc9e7e7c4"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"0331125aa5e58a01ab19c54b95ee6a3424eb015b","unresolved":false,"context_lines":[{"line_number":225,"context_line":"    :rtype: six.text_type"},{"line_number":226,"context_line":"    \"\"\""},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    checksum \u003d \u0027%s:\u0027 % algorithm"},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"    if body is None:"},{"line_number":231,"context_line":"        return \u0027\u0027"}],"source_content_type":"text/x-python","patch_set":9,"id":"7f96bb07_61bc906c","line":228,"range":{"start_line":228,"start_character":0,"end_line":228,"end_character":32},"in_reply_to":"7f96bb07_a1fb7845","updated":"2018-01-27 03:20:24.000000000","message":"emm, that\u0027s reasonable.","commit_id":"1edcbcb1e4126603d9f6cc6b1d33c03fc9e7e7c4"}],"zaqar/transport/wsgi/utils.py":[{"author":{"_account_id":7385,"name":"Thomas Herve","email":"therve@redhat.com","username":"therve"},"change_message_id":"60f45270a7d2fa55b95b3bf9e139e7e333767cc9","unresolved":false,"context_lines":[{"line_number":241,"context_line":"        \u0027ttl\u0027: message[\u0027ttl\u0027],"},{"line_number":242,"context_line":"        \u0027age\u0027: message[\u0027age\u0027],"},{"line_number":243,"context_line":"        \u0027body\u0027: message[\u0027body\u0027],"},{"line_number":244,"context_line":"        \u0027checksum\u0027: message[\u0027checksum\u0027]"},{"line_number":245,"context_line":"    }"}],"source_content_type":"text/x-python","patch_set":6,"id":"7f96bb07_a048a486","line":244,"updated":"2018-01-17 08:00:39.000000000","message":"Are you expected the checksum to always be there? What happens on upgrade?","commit_id":"c60d26bc76d01a06eb183f2f9942f4c731160ea2"},{"author":{"_account_id":14203,"name":"yangzhenyu","email":"cdyangzhenyu@gmail.com","username":"yangzhenyu"},"change_message_id":"47bd7eb8ebfa42a626b7dcb64ba56ec32dcad95f","unresolved":false,"context_lines":[{"line_number":241,"context_line":"        \u0027ttl\u0027: message[\u0027ttl\u0027],"},{"line_number":242,"context_line":"        \u0027age\u0027: message[\u0027age\u0027],"},{"line_number":243,"context_line":"        \u0027body\u0027: message[\u0027body\u0027],"},{"line_number":244,"context_line":"        \u0027checksum\u0027: message[\u0027checksum\u0027]"},{"line_number":245,"context_line":"    }"}],"source_content_type":"text/x-python","patch_set":6,"id":"7f96bb07_836d72cd","line":244,"in_reply_to":"7f96bb07_a048a486","updated":"2018-01-17 08:10:01.000000000","message":"I\u0027ve done this at the storage layer code, and return None if it does not exist. But here can be dealt with again.","commit_id":"c60d26bc76d01a06eb183f2f9942f4c731160ea2"}]}
