)]}'
{"novaclient/v3/shell.py":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"ec4bded23a7a3ffb7af3cfe268c9cb43e5c970b6","unresolved":false,"context_lines":[{"line_number":2873,"context_line":"def do_quota_show_usage(cs, args):"},{"line_number":2874,"context_line":"    \"\"\"List the quotas for a tenant.\"\"\""},{"line_number":2875,"context_line":""},{"line_number":2876,"context_line":"    if not args.tenant:"},{"line_number":2877,"context_line":"        _quota_show_usage(cs.quotas.get(cs.client.tenant_id, detail\u003dTrue))"},{"line_number":2878,"context_line":"    else:"},{"line_number":2879,"context_line":"        _quota_show_usage(cs.quotas.get(args.tenant, detail\u003dTrue))"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F83Oo%3D","line":2876,"updated":"2013-12-19 13:17:47.000000000","message":"why not \ntenant \u003d args.tenant or cs.client.tenand_id\n\nthen one function call","commit_id":"9daebcf32a0a18f08f3680e6a6079ceab58e2ac0"},{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"72ac8112fe7574dc47ba93d31712250a3e158f02","unresolved":false,"context_lines":[{"line_number":2873,"context_line":"def do_quota_show_usage(cs, args):"},{"line_number":2874,"context_line":"    \"\"\"List the quotas for a tenant.\"\"\""},{"line_number":2875,"context_line":""},{"line_number":2876,"context_line":"    if not args.tenant:"},{"line_number":2877,"context_line":"        _quota_show_usage(cs.quotas.get(cs.client.tenant_id, detail\u003dTrue))"},{"line_number":2878,"context_line":"    else:"},{"line_number":2879,"context_line":"        _quota_show_usage(cs.quotas.get(args.tenant, detail\u003dTrue))"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATn%2F8skQ%3D","line":2876,"in_reply_to":"AAAATn%2F83Oo%3D","updated":"2013-12-23 03:01:15.000000000","message":"Done","commit_id":"9daebcf32a0a18f08f3680e6a6079ceab58e2ac0"},{"author":{"_account_id":4428,"name":"Liyingjun","email":"yinjalee@163.com","username":"liyingjun"},"change_message_id":"d5eaf0f629f21fe402da5989f2587e059b2d9d9f","unresolved":false,"context_lines":[{"line_number":2836,"context_line":"            quota_list.append(QuotaObj(resource, getattr(quotas, resource)))"},{"line_number":2837,"context_line":"        except AttributeError:"},{"line_number":2838,"context_line":"            pass"},{"line_number":2839,"context_line":"    utils.print_list(quota_list, [\u0027resource\u0027, \u0027in_use\u0027, \u0027limit\u0027],"},{"line_number":2840,"context_line":"                     sortby_index\u003d0)"},{"line_number":2841,"context_line":""},{"line_number":2842,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAT3%2F%2F7LA%3D","line":2839,"updated":"2013-12-27 02:08:03.000000000","message":"Could we remove the underline for \u0027in_use\u0027 ?","commit_id":"3544b00baca064ee1f98c9c20a51ddf977576e84"},{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"88f1672ccd898eec1d4a1b694ba69d68eb7fae54","unresolved":false,"context_lines":[{"line_number":2836,"context_line":"            quota_list.append(QuotaObj(resource, getattr(quotas, resource)))"},{"line_number":2837,"context_line":"        except AttributeError:"},{"line_number":2838,"context_line":"            pass"},{"line_number":2839,"context_line":"    utils.print_list(quota_list, [\u0027resource\u0027, \u0027in_use\u0027, \u0027limit\u0027],"},{"line_number":2840,"context_line":"                     sortby_index\u003d0)"},{"line_number":2841,"context_line":""},{"line_number":2842,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAUH%2F%2F9gI%3D","line":2839,"in_reply_to":"AAAAT3%2F%2F7LA%3D","updated":"2014-01-08 03:59:45.000000000","message":"Done","commit_id":"3544b00baca064ee1f98c9c20a51ddf977576e84"},{"author":{"_account_id":2468,"name":"unicell","email":"unicell@gmail.com","username":"unicell"},"change_message_id":"6f2964eaa174ce92fc7f47204d26644b38bedd63","unresolved":false,"context_lines":[{"line_number":2869,"context_line":"@utils.arg(\u0027--tenant\u0027,"},{"line_number":2870,"context_line":"    metavar\u003d\u0027\u003ctenant-id\u003e\u0027,"},{"line_number":2871,"context_line":"    default\u003dNone,"},{"line_number":2872,"context_line":"    help\u003d\u0027ID of tenant to list the quotas for.\u0027)"},{"line_number":2873,"context_line":"def do_quota_show_usage(cs, args):"},{"line_number":2874,"context_line":"    \"\"\"List the quotas for a tenant.\"\"\""},{"line_number":2875,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAT3%2F%2F92E%3D","line":2872,"updated":"2013-12-26 06:20:44.000000000","message":"It also need to accept --user-id, for query per-user quota usage","commit_id":"3544b00baca064ee1f98c9c20a51ddf977576e84"},{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"abd2a6a313875bc80144dfa1dd8676b70c417f95","unresolved":false,"context_lines":[{"line_number":2869,"context_line":"@utils.arg(\u0027--tenant\u0027,"},{"line_number":2870,"context_line":"    metavar\u003d\u0027\u003ctenant-id\u003e\u0027,"},{"line_number":2871,"context_line":"    default\u003dNone,"},{"line_number":2872,"context_line":"    help\u003d\u0027ID of tenant to list the quotas for.\u0027)"},{"line_number":2873,"context_line":"def do_quota_show_usage(cs, args):"},{"line_number":2874,"context_line":"    \"\"\"List the quotas for a tenant.\"\"\""},{"line_number":2875,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAT3%2F%2F7RI%3D","line":2872,"in_reply_to":"AAAAT3%2F%2F900%3D","updated":"2013-12-27 01:00:52.000000000","message":"Yes it does. I\u0027ll update this patch to support it. Looks like shell.py was synced across from v1_1 before the user id support landed.","commit_id":"3544b00baca064ee1f98c9c20a51ddf977576e84"},{"author":{"_account_id":2468,"name":"unicell","email":"unicell@gmail.com","username":"unicell"},"change_message_id":"cc266ac38ee31e5d43e2c883a8487891b31ea014","unresolved":false,"context_lines":[{"line_number":2869,"context_line":"@utils.arg(\u0027--tenant\u0027,"},{"line_number":2870,"context_line":"    metavar\u003d\u0027\u003ctenant-id\u003e\u0027,"},{"line_number":2871,"context_line":"    default\u003dNone,"},{"line_number":2872,"context_line":"    help\u003d\u0027ID of tenant to list the quotas for.\u0027)"},{"line_number":2873,"context_line":"def do_quota_show_usage(cs, args):"},{"line_number":2874,"context_line":"    \"\"\"List the quotas for a tenant.\"\"\""},{"line_number":2875,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAT3%2F%2F900%3D","line":2872,"in_reply_to":"AAAAT3%2F%2F92E%3D","updated":"2013-12-26 06:23:14.000000000","message":"I just realized quota-show command also has no --user-id. Does V3 api currently has per-user quota support?","commit_id":"3544b00baca064ee1f98c9c20a51ddf977576e84"},{"author":{"_account_id":2468,"name":"unicell","email":"unicell@gmail.com","username":"unicell"},"change_message_id":"6f2964eaa174ce92fc7f47204d26644b38bedd63","unresolved":false,"context_lines":[{"line_number":2870,"context_line":"    metavar\u003d\u0027\u003ctenant-id\u003e\u0027,"},{"line_number":2871,"context_line":"    default\u003dNone,"},{"line_number":2872,"context_line":"    help\u003d\u0027ID of tenant to list the quotas for.\u0027)"},{"line_number":2873,"context_line":"def do_quota_show_usage(cs, args):"},{"line_number":2874,"context_line":"    \"\"\"List the quotas for a tenant.\"\"\""},{"line_number":2875,"context_line":""},{"line_number":2876,"context_line":"    tenant \u003d args.tenant or cs.client.tenant_id"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAT3%2F%2F91w%3D","line":2873,"updated":"2013-12-26 06:20:44.000000000","message":"I also implemented quota usage support for V2 version API. And would like to in line with naming here.\nhttps://review.openstack.org/#/c/64088/\n\nI suggest to use the naming of do_quota_usage instead of do_quota_show_usage. Because quota-usage is simple and in in line with the naming of \"cinder quota-usage\". So I guess it might be a good thing to share universal naming across clients and avoid confusion.","commit_id":"3544b00baca064ee1f98c9c20a51ddf977576e84"},{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"abd2a6a313875bc80144dfa1dd8676b70c417f95","unresolved":false,"context_lines":[{"line_number":2870,"context_line":"    metavar\u003d\u0027\u003ctenant-id\u003e\u0027,"},{"line_number":2871,"context_line":"    default\u003dNone,"},{"line_number":2872,"context_line":"    help\u003d\u0027ID of tenant to list the quotas for.\u0027)"},{"line_number":2873,"context_line":"def do_quota_show_usage(cs, args):"},{"line_number":2874,"context_line":"    \"\"\"List the quotas for a tenant.\"\"\""},{"line_number":2875,"context_line":""},{"line_number":2876,"context_line":"    tenant \u003d args.tenant or cs.client.tenant_id"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAT3%2F%2F7RE%3D","line":2873,"in_reply_to":"AAAAT3%2F%2F91w%3D","updated":"2013-12-27 01:00:52.000000000","message":"I\u0027m happy to go with quota-usage instead","commit_id":"3544b00baca064ee1f98c9c20a51ddf977576e84"}]}
