)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"8e7b46306154b5fc978127dd156a665a988d406a","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     gengjh \u003cgengjh@cn.ibm.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2013-03-27 22:28:31 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Show quota in used and reserved info"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"We need show all the quotas related info include In used and Reserved"},{"line_number":10,"context_line":"instead of only show the limited when execute nova-mange project"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"AAAAOH%2F%2FyRY%3D","line":7,"updated":"2013-03-27 15:56:58.000000000","message":"Do you mean, \"Show quota \u0027in_use\u0027 and \u0027reserved\u0027 info\"?","commit_id":"7d33f65acb06fc5f6a97f31647b723f79781deec"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"8e7b46306154b5fc978127dd156a665a988d406a","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"We need show all the quotas related info include In used and Reserved"},{"line_number":10,"context_line":"instead of only show the limited when execute nova-mange project"},{"line_number":11,"context_line":"quota."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Fix bug 1160752"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"AAAAOH%2F%2FyRM%3D","line":11,"updated":"2013-03-27 15:56:58.000000000","message":"I think you mean to say something like, \"We need to show all the quota related info, including \u0027in_use\u0027 and \u0027reserved\u0027--not just the limit--when executing \u0027nova-manage project quota\u0027.\"","commit_id":"7d33f65acb06fc5f6a97f31647b723f79781deec"}],"bin/nova-manage":[{"author":{"_account_id":642,"name":"Matt Dietz","email":"matthew.dietz@gmail.com","username":"cerberus"},"change_message_id":"d9035ddd44a40e2c3d8e8a1b97eb92a54d04e8d8","unresolved":false,"context_lines":[{"line_number":227,"context_line":"    @args(\u0027--key\u0027, metavar\u003d\u0027\u003ckey\u003e\u0027, help\u003d\u0027Key\u0027)"},{"line_number":228,"context_line":"    @args(\u0027--value\u0027, metavar\u003d\u0027\u003cvalue\u003e\u0027, help\u003d\u0027Value\u0027)"},{"line_number":229,"context_line":"    def quota(self, project_id, key\u003dNone, value\u003dNone):"},{"line_number":230,"context_line":"        \"\"\"Set or display quotas for project.\"\"\""},{"line_number":231,"context_line":"        ctxt \u003d context.get_admin_context()"},{"line_number":232,"context_line":"        project_quota \u003d QUOTAS.get_project_quotas(ctxt, project_id)"},{"line_number":233,"context_line":"        # if key is None which means need show the quotas instead"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"AAAAOH%2F%2FyLo%3D","line":230,"updated":"2013-03-27 16:43:06.000000000","message":"If you decide to make Kevin\u0027s changes, can we update the docstring to be more explicit here as well? Something like:\n\n\"Create, update or display quotas for project\n\nIf a key is provided, the quota will be displayed.\n\nIf no key is provided and the quota does not exist, it will be created. Otherwise, it will be updated.\"\"\"","commit_id":"7d33f65acb06fc5f6a97f31647b723f79781deec"},{"author":{"_account_id":6526,"name":"David Geng","email":"gengjh@cn.ibm.com","username":"genggjh"},"change_message_id":"345c7885741b1d78b40fdda4767498a753e14e42","unresolved":false,"context_lines":[{"line_number":227,"context_line":"    @args(\u0027--key\u0027, metavar\u003d\u0027\u003ckey\u003e\u0027, help\u003d\u0027Key\u0027)"},{"line_number":228,"context_line":"    @args(\u0027--value\u0027, metavar\u003d\u0027\u003cvalue\u003e\u0027, help\u003d\u0027Value\u0027)"},{"line_number":229,"context_line":"    def quota(self, project_id, key\u003dNone, value\u003dNone):"},{"line_number":230,"context_line":"        \"\"\"Set or display quotas for project.\"\"\""},{"line_number":231,"context_line":"        ctxt \u003d context.get_admin_context()"},{"line_number":232,"context_line":"        project_quota \u003d QUOTAS.get_project_quotas(ctxt, project_id)"},{"line_number":233,"context_line":"        # if key is None which means need show the quotas instead"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"AAAAOH%2F%2Fxg4%3D","line":230,"in_reply_to":"AAAAOH%2F%2FyLo%3D","updated":"2013-03-28 01:59:37.000000000","message":"Done","commit_id":"7d33f65acb06fc5f6a97f31647b723f79781deec"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"8e7b46306154b5fc978127dd156a665a988d406a","unresolved":false,"context_lines":[{"line_number":231,"context_line":"        ctxt \u003d context.get_admin_context()"},{"line_number":232,"context_line":"        project_quota \u003d QUOTAS.get_project_quotas(ctxt, project_id)"},{"line_number":233,"context_line":"        # if key is None which means need show the quotas instead"},{"line_number":234,"context_line":"        # of update"},{"line_number":235,"context_line":"        if key:"},{"line_number":236,"context_line":"            if key in project_quota:"},{"line_number":237,"context_line":"                if value.lower() \u003d\u003d \u0027unlimited\u0027:"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"AAAAOH%2F%2FyRo%3D","line":234,"updated":"2013-03-27 15:56:58.000000000","message":"I don\u0027t understand this comment.  Do you mean to say, \"If key is None, that means we need to show the quotas instead of updating them\"?","commit_id":"7d33f65acb06fc5f6a97f31647b723f79781deec"},{"author":{"_account_id":6526,"name":"David Geng","email":"gengjh@cn.ibm.com","username":"genggjh"},"change_message_id":"345c7885741b1d78b40fdda4767498a753e14e42","unresolved":false,"context_lines":[{"line_number":231,"context_line":"        ctxt \u003d context.get_admin_context()"},{"line_number":232,"context_line":"        project_quota \u003d QUOTAS.get_project_quotas(ctxt, project_id)"},{"line_number":233,"context_line":"        # if key is None which means need show the quotas instead"},{"line_number":234,"context_line":"        # of update"},{"line_number":235,"context_line":"        if key:"},{"line_number":236,"context_line":"            if key in project_quota:"},{"line_number":237,"context_line":"                if value.lower() \u003d\u003d \u0027unlimited\u0027:"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"AAAAOH%2F%2FxhQ%3D","line":234,"in_reply_to":"AAAAOH%2F%2FyRo%3D","updated":"2013-03-28 01:59:37.000000000","message":"Done","commit_id":"7d33f65acb06fc5f6a97f31647b723f79781deec"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"8e7b46306154b5fc978127dd156a665a988d406a","unresolved":false,"context_lines":[{"line_number":249,"context_line":"        print print_format % ("},{"line_number":250,"context_line":"                    _(\u0027Quota\u0027),"},{"line_number":251,"context_line":"                    _(\u0027Limit\u0027),"},{"line_number":252,"context_line":"                    _(\u0027In used\u0027),"},{"line_number":253,"context_line":"                    _(\u0027Reserved\u0027))"},{"line_number":254,"context_line":"        # Retrieve the quota after update"},{"line_number":255,"context_line":"        project_quota \u003d QUOTAS.get_project_quotas(ctxt, project_id)"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"AAAAOH%2F%2FyRk%3D","line":252,"updated":"2013-03-27 15:56:58.000000000","message":"s/In used/In Use/","commit_id":"7d33f65acb06fc5f6a97f31647b723f79781deec"},{"author":{"_account_id":6526,"name":"David Geng","email":"gengjh@cn.ibm.com","username":"genggjh"},"change_message_id":"345c7885741b1d78b40fdda4767498a753e14e42","unresolved":false,"context_lines":[{"line_number":249,"context_line":"        print print_format % ("},{"line_number":250,"context_line":"                    _(\u0027Quota\u0027),"},{"line_number":251,"context_line":"                    _(\u0027Limit\u0027),"},{"line_number":252,"context_line":"                    _(\u0027In used\u0027),"},{"line_number":253,"context_line":"                    _(\u0027Reserved\u0027))"},{"line_number":254,"context_line":"        # Retrieve the quota after update"},{"line_number":255,"context_line":"        project_quota \u003d QUOTAS.get_project_quotas(ctxt, project_id)"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"AAAAOH%2F%2FxhI%3D","line":252,"in_reply_to":"AAAAOH%2F%2FyRk%3D","updated":"2013-03-28 01:59:37.000000000","message":"Done","commit_id":"7d33f65acb06fc5f6a97f31647b723f79781deec"}]}
