)]}'
{"horizon/templates/horizon/common/_limit_summary.html":[{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"33b582911a4bc26c4136890993151f0590b393b8","unresolved":false,"context_lines":[{"line_number":4,"context_line":"  \u003cdiv class\u003d\"quota-dynamic\"\u003e"},{"line_number":5,"context_line":"    \u003ch3 class\u003d\"quota-heading\"\u003e{% trans \"Limit Summary\" %}\u003c/h3\u003e"},{"line_number":6,"context_line":"     {% for quota in charts %}"},{"line_number":7,"context_line":"       {% if forloop.first %}"},{"line_number":8,"context_line":"         \u003cdiv class\u003d\"row\"\u003e"},{"line_number":9,"context_line":"       {% endif %}"},{"line_number":10,"context_line":"       {% if forloop.counter0|divisibleby:6 %}"}],"source_content_type":"text/html","patch_set":1,"id":"1a122d0e_d34df5c5","line":7,"updated":"2016-04-21 22:12:42.000000000","message":"the changes in this file really are needed, if you get more charts - the display can really fall apart","commit_id":"1dacf8cdf2750a2d92537c9b4454a157333695d0"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"cc63dfb3adf827604dc8da582d60b02dff4707bf","unresolved":false,"context_lines":[{"line_number":4,"context_line":"  \u003cdiv class\u003d\"quota-dynamic\"\u003e"},{"line_number":5,"context_line":"    \u003ch3 class\u003d\"quota-heading\"\u003e{% trans \"Limit Summary\" %}\u003c/h3\u003e"},{"line_number":6,"context_line":"     {% for quota in charts %}"},{"line_number":7,"context_line":"       {% if forloop.first %}"},{"line_number":8,"context_line":"         \u003cdiv class\u003d\"row\"\u003e"},{"line_number":9,"context_line":"       {% endif %}"},{"line_number":10,"context_line":"       {% if forloop.counter0|divisibleby:6 %}"},{"line_number":11,"context_line":"         \u003c/div\u003e"},{"line_number":12,"context_line":"         \u003cdiv class\u003d\"row\"\u003e"},{"line_number":13,"context_line":"       {% endif %}"},{"line_number":14,"context_line":"        \u003cdiv class\u003d\"d3_quota_bar col-lg-2 col-md-3 col-sm-4 col-xs-6 fix-it\"\u003e"}],"source_content_type":"text/html","patch_set":2,"id":"dab17558_8bf68ed5","line":11,"range":{"start_line":7,"start_character":7,"end_line":11,"end_character":15},"updated":"2016-05-06 10:47:28.000000000","message":"It is silent fix of really existing bug: https://bugs.launchpad.net/horizon/+bug/1578978\n\nThat is really should not be part of this commit as unrelated to its goal.","commit_id":"fe05046eea11cac4be1576a09d9cc46ae90fef6b"}],"openstack_dashboard/api/cinder.py":[{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"82dee524eaf5b81aba7428c523422af259b80e3e","unresolved":false,"context_lines":[{"line_number":602,"context_line":"                        \u0027consistencygroups\u0027, \u0027per_volume_gigabytes\u0027]"},{"line_number":603,"context_line":"    for quota_name in quotas._info.keys():"},{"line_number":604,"context_line":"        good_name \u003d False"},{"line_number":605,"context_line":"        for name in _quota_resources:"},{"line_number":606,"context_line":"            if quota_name.startswith(name):"},{"line_number":607,"context_line":"                good_name \u003d True"},{"line_number":608,"context_line":"                backend_name \u003d quota_name.lstrip(name).lstrip(\"_\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"dab17558_97454344","line":605,"updated":"2016-05-11 18:26:17.000000000","message":"If we stripped the \"_\" from the quota_name, could this algorithm be made more efficient by making _quota_resources a dictionary and checking for existence of the keys directly?\n\n\nSomething like:\n\ngood_name \u003d False\nquota_name_to_check \u003d quota_name.lstrip(name).lstrip(\"_\")\nif quota_name_to_check in _quota_resources:\n    good_name \u003d True\n    ....\n\n\nI\u0027m not sure if that will work properly with the names that are in quotas._info.keys(), but this would remove the need for the nested for loop if it will work.","commit_id":"7daf60c70400e9fd7892b692e1d94089fda23c9b"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"d850dec1600049c9dfc0609c76b1ada6d2a40d89","unresolved":false,"context_lines":[{"line_number":602,"context_line":"                        \u0027consistencygroups\u0027, \u0027per_volume_gigabytes\u0027]"},{"line_number":603,"context_line":"    for quota_name in quotas._info.keys():"},{"line_number":604,"context_line":"        good_name \u003d False"},{"line_number":605,"context_line":"        for name in _quota_resources:"},{"line_number":606,"context_line":"            if quota_name.startswith(name):"},{"line_number":607,"context_line":"                good_name \u003d True"},{"line_number":608,"context_line":"                backend_name \u003d quota_name.lstrip(name).lstrip(\"_\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"dab17558_3cf91c81","line":605,"in_reply_to":"dab17558_97454344","updated":"2016-05-16 19:00:06.000000000","message":"I agree, this block needs some simplification, I think I have an option to do this.","commit_id":"7daf60c70400e9fd7892b692e1d94089fda23c9b"},{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"82dee524eaf5b81aba7428c523422af259b80e3e","unresolved":false,"context_lines":[{"line_number":621,"context_line":"            # out of sync causing the total.*Used limits to return"},{"line_number":622,"context_line":"            # negative values instead of 0. For such cases, replace"},{"line_number":623,"context_line":"            # negative values with 0."},{"line_number":624,"context_line":"            limits_dict[\u0027total%sUsed\u0027 % quota_name] \u003d 0"},{"line_number":625,"context_line":"        if limits_dict[\u0027max%s\u0027 % quota_name] \u003c 0:"},{"line_number":626,"context_line":"            # -1 is used to represent unlimited quotas"},{"line_number":627,"context_line":"            limits_dict[\u0027max%s\u0027 % quota_name] \u003d float(\"inf\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"dab17558_c1ac298e","line":624,"updated":"2016-05-11 18:26:17.000000000","message":"Should we log an error in this case? It sounds like something a Horizon administrator would want to know without having to dig into cinder logs.","commit_id":"7daf60c70400e9fd7892b692e1d94089fda23c9b"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"d850dec1600049c9dfc0609c76b1ada6d2a40d89","unresolved":false,"context_lines":[{"line_number":621,"context_line":"            # out of sync causing the total.*Used limits to return"},{"line_number":622,"context_line":"            # negative values instead of 0. For such cases, replace"},{"line_number":623,"context_line":"            # negative values with 0."},{"line_number":624,"context_line":"            limits_dict[\u0027total%sUsed\u0027 % quota_name] \u003d 0"},{"line_number":625,"context_line":"        if limits_dict[\u0027max%s\u0027 % quota_name] \u003c 0:"},{"line_number":626,"context_line":"            # -1 is used to represent unlimited quotas"},{"line_number":627,"context_line":"            limits_dict[\u0027max%s\u0027 % quota_name] \u003d float(\"inf\")"}],"source_content_type":"text/x-python","patch_set":4,"id":"dab17558_a6bb400e","line":624,"in_reply_to":"dab17558_c1ac298e","updated":"2016-05-16 19:00:06.000000000","message":"this code was copied from another spot.  If this happens, I\u0027d think you could get 100s of messages on this, and would you expect to find this and deal with it from a horizon log file?  \n\nI\u0027m not sure that would be the place I would expect to find this problem or deal with it.","commit_id":"7daf60c70400e9fd7892b692e1d94089fda23c9b"},{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"34ac28faaf06027b413590697a55c08e2f7dc307","unresolved":false,"context_lines":[{"line_number":587,"context_line":"    return base.QuotaSet(c_client.quotas.get(tenant_id))"},{"line_number":588,"context_line":""},{"line_number":589,"context_line":""},{"line_number":590,"context_line":"def _find_quota_stuff(quota_names):"},{"line_number":591,"context_line":"    # this method will go through cinder quoata names"},{"line_number":592,"context_line":"    # and find quota names that are considered valid"},{"line_number":593,"context_line":"    _quota_resources \u003d (\u0027volumes\u0027, \u0027snapshots\u0027, \u0027gigabytes\u0027,"}],"source_content_type":"text/x-python","patch_set":6,"id":"dab17558_f75f6fe2","line":590,"updated":"2016-05-17 16:44:15.000000000","message":"Let\u0027s name this something more descriptive than \"stuff\" :)","commit_id":"ae522e18fada3880b1a1a783d1edf3274b688030"},{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"34ac28faaf06027b413590697a55c08e2f7dc307","unresolved":false,"context_lines":[{"line_number":588,"context_line":""},{"line_number":589,"context_line":""},{"line_number":590,"context_line":"def _find_quota_stuff(quota_names):"},{"line_number":591,"context_line":"    # this method will go through cinder quoata names"},{"line_number":592,"context_line":"    # and find quota names that are considered valid"},{"line_number":593,"context_line":"    _quota_resources \u003d (\u0027volumes\u0027, \u0027snapshots\u0027, \u0027gigabytes\u0027,"},{"line_number":594,"context_line":"                        \u0027backups\u0027, \u0027backup_gigabytes\u0027,"}],"source_content_type":"text/x-python","patch_set":6,"id":"dab17558_f7900f45","line":591,"updated":"2016-05-17 16:44:15.000000000","message":"(nit) quoata -\u003e quota","commit_id":"ae522e18fada3880b1a1a783d1edf3274b688030"},{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"34ac28faaf06027b413590697a55c08e2f7dc307","unresolved":false,"context_lines":[{"line_number":594,"context_line":"                        \u0027backups\u0027, \u0027backup_gigabytes\u0027,"},{"line_number":595,"context_line":"                        \u0027consistencygroups\u0027, \u0027per_volume_gigabytes\u0027)"},{"line_number":596,"context_line":"    for quota_name in quota_names:"},{"line_number":597,"context_line":"        for name in _quota_resources:"},{"line_number":598,"context_line":"            if quota_name.startswith(name):"},{"line_number":599,"context_line":"                backend_name \u003d quota_name.lstrip(name).lstrip(\"_\")"},{"line_number":600,"context_line":"                yield quota_name, backend_name"}],"source_content_type":"text/x-python","patch_set":6,"id":"dab17558_171033ff","line":597,"updated":"2016-05-17 16:44:15.000000000","message":"I\u0027m still wondering if we can get rid of the inner for loop here to make this an O(n) algorithm rather than O(n^2). We might be able to do it by making _quota_resources a dictionary and directly referencing the resource names.","commit_id":"ae522e18fada3880b1a1a783d1edf3274b688030"},{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"6455d948c4940378f540e2321b5aa214abb4b678","unresolved":false,"context_lines":[{"line_number":594,"context_line":"                        \u0027backups\u0027, \u0027backup_gigabytes\u0027,"},{"line_number":595,"context_line":"                        \u0027consistencygroups\u0027, \u0027per_volume_gigabytes\u0027)"},{"line_number":596,"context_line":"    for quota_name in quota_names:"},{"line_number":597,"context_line":"        for name in _quota_resources:"},{"line_number":598,"context_line":"            if quota_name.startswith(name):"},{"line_number":599,"context_line":"                backend_name \u003d quota_name.lstrip(name).lstrip(\"_\")"},{"line_number":600,"context_line":"                yield quota_name, backend_name"}],"source_content_type":"text/x-python","patch_set":6,"id":"dab17558_d7898227","line":597,"in_reply_to":"dab17558_171033ff","updated":"2016-05-17 19:41:32.000000000","message":"I looked into this, but I couldn\u0027t find a way to get rid of the inner for loop without doing some complex tokenizing and parsing of quota_names. So I think what\u0027s currently here is the best way. In the next patch set, I left this as is.","commit_id":"ae522e18fada3880b1a1a783d1edf3274b688030"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"a43e95dba0dab74c470a2bee0e277d6e5e77b583","unresolved":false,"context_lines":[{"line_number":590,"context_line":"def _valid_quota_names(quota_names):"},{"line_number":591,"context_line":"    # this method will go through cinder quota names"},{"line_number":592,"context_line":"    # and find quota names that are considered valid"},{"line_number":593,"context_line":"    _quota_resources \u003d (\u0027volumes\u0027, \u0027snapshots\u0027, \u0027gigabytes\u0027,"},{"line_number":594,"context_line":"                        \u0027backups\u0027, \u0027backup_gigabytes\u0027,"},{"line_number":595,"context_line":"                        \u0027consistencygroups\u0027, \u0027per_volume_gigabytes\u0027)"},{"line_number":596,"context_line":"    for quota_name in quota_names:"},{"line_number":597,"context_line":"        for name in _quota_resources:"},{"line_number":598,"context_line":"            if quota_name.startswith(name):"}],"source_content_type":"text/x-python","patch_set":9,"id":"9abb7d3a_2558bd87","line":595,"range":{"start_line":593,"start_character":24,"end_line":595,"end_character":67},"updated":"2016-06-01 13:24:08.000000000","message":"Would be neat if we could align this with usage.quotas.CINDER_QUOTA_FIELDS constant. Having 2 disjoint constants is a certain source of troubles.","commit_id":"8974f86fcf8c008bd10a750c93400a745e0c5a04"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"a43e95dba0dab74c470a2bee0e277d6e5e77b583","unresolved":false,"context_lines":[{"line_number":600,"context_line":"                yield quota_name, backend_name"},{"line_number":601,"context_line":""},{"line_number":602,"context_line":""},{"line_number":603,"context_line":"def tenant_quota_usage_get(request, tenant_id):"},{"line_number":604,"context_line":"    # this method has a good chunk of code copied from the cinder client"},{"line_number":605,"context_line":"    # _quota_usage_show method.  Ideally this would be provided in a more"},{"line_number":606,"context_line":"    # supported way from the cinder client"}],"source_content_type":"text/x-python","patch_set":9,"id":"9abb7d3a_64767907","line":603,"range":{"start_line":603,"start_character":4,"end_line":603,"end_character":26},"updated":"2016-06-01 13:24:08.000000000","message":"Having another function for cinder quotas besides openstack_dashboard.usage.quotas:_get_tenant_volume_usages() makes my head hurt :(. Could we have less entry-points for the sake of clarity?","commit_id":"8974f86fcf8c008bd10a750c93400a745e0c5a04"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"a43e95dba0dab74c470a2bee0e277d6e5e77b583","unresolved":false,"context_lines":[{"line_number":609,"context_line":"    storage_backend_names \u003d []"},{"line_number":610,"context_line":"    if c_client is None:"},{"line_number":611,"context_line":"        return limits_dict, storage_backend_names"},{"line_number":612,"context_line":"    # our base quotaset does not handle this well"},{"line_number":613,"context_line":"    # see _quota_usage_show within python-cinderclient"},{"line_number":614,"context_line":"    # for reference"},{"line_number":615,"context_line":"    quotas \u003d c_client.quotas.get(tenant_id, usage\u003dTrue)"},{"line_number":616,"context_line":"    for quota_name, backend_name in _valid_quota_names(quotas._info.keys()):"},{"line_number":617,"context_line":"        if backend_name not in storage_backend_names:"}],"source_content_type":"text/x-python","patch_set":9,"id":"9abb7d3a_85e369d8","line":614,"range":{"start_line":612,"start_character":4,"end_line":614,"end_character":19},"updated":"2016-06-01 13:24:08.000000000","message":"Could we enhance base.QuotaSet class instead? It\u0027s better to have this logic localized on one place than scattered through the sources. Then, ideally, embed this logic into tenant_quota_get on line 583.","commit_id":"8974f86fcf8c008bd10a750c93400a745e0c5a04"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"205d12b7ef3208fe9b0f963ee4b5e1799d89ac88","unresolved":false,"context_lines":[{"line_number":671,"context_line":"    storage_backend_names \u003d []"},{"line_number":672,"context_line":"    if c_client is None:"},{"line_number":673,"context_line":"        return limits_dict, storage_backend_names"},{"line_number":674,"context_line":"    # our base quotaset does not handle this well"},{"line_number":675,"context_line":"    # see _quota_usage_show within python-cinderclient"},{"line_number":676,"context_line":"    # for reference"},{"line_number":677,"context_line":"    quotas \u003d c_client.quotas.get(tenant_id, usage\u003dTrue)"},{"line_number":678,"context_line":"    for quota_name, backend_name in _valid_quota_names(quotas._info.keys()):"},{"line_number":679,"context_line":"        if backend_name not in storage_backend_names:"}],"source_content_type":"text/x-python","patch_set":11,"id":"3aaa91ec_18ef74b1","line":676,"range":{"start_line":674,"start_character":4,"end_line":676,"end_character":19},"updated":"2016-06-28 11:02:50.000000000","message":"I have a gut feeling that everybody in Horizon would be happy if api.base.QuotaSet and usage.quotas.QuotaUsage merge into a single renovated QuotaUsage class that can be used in both contexts - say, be initialized with the {nova,cinder,neutron}client.quotas.get(tenant_id, usages\u003dTrue) (as soon as it\u0027s supported for services besides Cinder, bug for Nova is here https://bugs.launchpad.net/python-novaclient/+bug/1596891 Neutron API changes are yet to come). The contents of the objects of this class, received directly from the corrsponding quotasets client class would save us from the heresy happening at usage.quotas._get_tenant_{compute,network_volumes}_usages() functions.","commit_id":"310b67e5cb8882c262dfd589c80482d0d4b6bb12"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"db5ddfaa637916e0e6fc0a9e89437b399b5e67c1","unresolved":false,"context_lines":[{"line_number":759,"context_line":"    for quota_name, backend_name in _valid_quota_names(quotas._info.keys()):"},{"line_number":760,"context_line":"        if backend_name not in storage_backend_names:"},{"line_number":761,"context_line":"            storage_backend_names.append(backend_name)"},{"line_number":762,"context_line":"        quota_info \u003d getattr(quotas, quota_name, None)"},{"line_number":763,"context_line":"        quota_info[\u0027Type\u0027] \u003d quota_name"},{"line_number":764,"context_line":"        quota_info \u003d dict((k, v) for k, v in quota_info.items())"},{"line_number":765,"context_line":"        limits_dict[\u0027total%sUsed\u0027 % quota_name] \u003d quota_info[\u0027in_use\u0027]"}],"source_content_type":"text/x-python","patch_set":16,"id":"3a71b18c_d24d1ac5","line":762,"range":{"start_line":762,"start_character":49,"end_line":762,"end_character":53},"updated":"2016-12-06 15:36:49.000000000","message":"If the default is actually used, the next line is going to produce an error. What\u0027s about \u0027{}\u0027 as a default?","commit_id":"22f92d5f2f551043522aace8d7fc8e8d7d18cd71"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"9e68fc928eee5fbc65f15726c92f14a5f89680ac","unresolved":false,"context_lines":[{"line_number":759,"context_line":"    for quota_name, backend_name in _valid_quota_names(quotas._info.keys()):"},{"line_number":760,"context_line":"        if backend_name not in storage_backend_names:"},{"line_number":761,"context_line":"            storage_backend_names.append(backend_name)"},{"line_number":762,"context_line":"        quota_info \u003d getattr(quotas, quota_name, None)"},{"line_number":763,"context_line":"        quota_info[\u0027Type\u0027] \u003d quota_name"},{"line_number":764,"context_line":"        quota_info \u003d dict((k, v) for k, v in quota_info.items())"},{"line_number":765,"context_line":"        limits_dict[\u0027total%sUsed\u0027 % quota_name] \u003d quota_info[\u0027in_use\u0027]"}],"source_content_type":"text/x-python","patch_set":16,"id":"3a71b18c_d21cefc3","line":762,"range":{"start_line":762,"start_character":49,"end_line":762,"end_character":53},"in_reply_to":"3a71b18c_d24d1ac5","updated":"2016-12-07 23:05:59.000000000","message":"Done","commit_id":"22f92d5f2f551043522aace8d7fc8e8d7d18cd71"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"db5ddfaa637916e0e6fc0a9e89437b399b5e67c1","unresolved":false,"context_lines":[{"line_number":761,"context_line":"            storage_backend_names.append(backend_name)"},{"line_number":762,"context_line":"        quota_info \u003d getattr(quotas, quota_name, None)"},{"line_number":763,"context_line":"        quota_info[\u0027Type\u0027] \u003d quota_name"},{"line_number":764,"context_line":"        quota_info \u003d dict((k, v) for k, v in quota_info.items())"},{"line_number":765,"context_line":"        limits_dict[\u0027total%sUsed\u0027 % quota_name] \u003d quota_info[\u0027in_use\u0027]"},{"line_number":766,"context_line":"        limits_dict[\u0027max%s\u0027 % quota_name] \u003d quota_info[\u0027limit\u0027]"},{"line_number":767,"context_line":""}],"source_content_type":"text/x-python","patch_set":16,"id":"3a71b18c_d2fb5a45","line":764,"range":{"start_line":764,"start_character":8,"end_line":764,"end_character":64},"updated":"2016-12-06 15:36:49.000000000","message":"Is it some tricky way to convert \"an almost dictionary\u0027 (has .items(), but yet not a dictionary) into a real dictionary? What if there were .to_dict() method in quotas?","commit_id":"22f92d5f2f551043522aace8d7fc8e8d7d18cd71"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"9e68fc928eee5fbc65f15726c92f14a5f89680ac","unresolved":false,"context_lines":[{"line_number":761,"context_line":"            storage_backend_names.append(backend_name)"},{"line_number":762,"context_line":"        quota_info \u003d getattr(quotas, quota_name, None)"},{"line_number":763,"context_line":"        quota_info[\u0027Type\u0027] \u003d quota_name"},{"line_number":764,"context_line":"        quota_info \u003d dict((k, v) for k, v in quota_info.items())"},{"line_number":765,"context_line":"        limits_dict[\u0027total%sUsed\u0027 % quota_name] \u003d quota_info[\u0027in_use\u0027]"},{"line_number":766,"context_line":"        limits_dict[\u0027max%s\u0027 % quota_name] \u003d quota_info[\u0027limit\u0027]"},{"line_number":767,"context_line":""}],"source_content_type":"text/x-python","patch_set":16,"id":"3a71b18c_1264a747","line":764,"range":{"start_line":764,"start_character":8,"end_line":764,"end_character":64},"in_reply_to":"3a71b18c_d2fb5a45","updated":"2016-12-07 23:05:59.000000000","message":"seems reasonable, I\u0027m going to keep this as small as possible for now.","commit_id":"22f92d5f2f551043522aace8d7fc8e8d7d18cd71"}],"openstack_dashboard/local/local_settings.py.example":[{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"34ac28faaf06027b413590697a55c08e2f7dc307","unresolved":false,"context_lines":[{"line_number":258,"context_line":"    # multi_backend should be enabled when cinder has multiple backends for"},{"line_number":259,"context_line":"    # for storage.  enabling this provides more quota information"},{"line_number":260,"context_line":"    # default value - False"},{"line_number":261,"context_line":"    \u0027multi_backend\u0027: False,"},{"line_number":262,"context_line":"}"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"# The OPENSTACK_NEUTRON_NETWORK settings can be used to enable optional"}],"source_content_type":"application/octet-stream","patch_set":6,"id":"dab17558_37f1f701","line":261,"updated":"2016-05-17 16:44:15.000000000","message":"We should add documentation on this setting.","commit_id":"ae522e18fada3880b1a1a783d1edf3274b688030"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"a43e95dba0dab74c470a2bee0e277d6e5e77b583","unresolved":false,"context_lines":[{"line_number":255,"context_line":"# services provided by cinder that is not exposed by its extension API."},{"line_number":256,"context_line":"OPENSTACK_CINDER_FEATURES \u003d {"},{"line_number":257,"context_line":"    \u0027enable_backup\u0027: False,"},{"line_number":258,"context_line":"    # multi_backend should be enabled when cinder has multiple backends for"},{"line_number":259,"context_line":"    # for storage.  enabling this provides more quota information"},{"line_number":260,"context_line":"    # default value - False"},{"line_number":261,"context_line":"    \u0027multi_backend\u0027: False,"},{"line_number":262,"context_line":"}"}],"source_content_type":"application/octet-stream","patch_set":9,"id":"9abb7d3a_c9381e40","line":259,"range":{"start_line":258,"start_character":72,"end_line":259,"end_character":9},"updated":"2016-06-01 13:24:08.000000000","message":"double for","commit_id":"8974f86fcf8c008bd10a750c93400a745e0c5a04"}],"openstack_dashboard/usage/base.py":[{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"82dee524eaf5b81aba7428c523422af259b80e3e","unresolved":false,"context_lines":[{"line_number":188,"context_line":"                tenant_quota_usage_get(self.request, self.project_id)"},{"line_number":189,"context_line":"        except Exception:"},{"line_number":190,"context_line":"            try:"},{"line_number":191,"context_line":"                cinder_limits \u003d api.cinder.tenant_absolute_limits(self.request)"},{"line_number":192,"context_line":"            except Exception:"},{"line_number":193,"context_line":"                msg \u003d _(\"Unable to retrieve volume limit information.\")"},{"line_number":194,"context_line":"                exceptions.handle(self.request, msg)"}],"source_content_type":"text/x-python","patch_set":4,"id":"dab17558_c1fb8945","line":191,"updated":"2016-05-11 18:26:17.000000000","message":"Could you include a test for this case? Unless you\u0027re planning to make this config driven in a later PS for this commit, we should protect this logic with a test so no one accidentally messes it up later.","commit_id":"7daf60c70400e9fd7892b692e1d94089fda23c9b"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"d850dec1600049c9dfc0609c76b1ada6d2a40d89","unresolved":false,"context_lines":[{"line_number":188,"context_line":"                tenant_quota_usage_get(self.request, self.project_id)"},{"line_number":189,"context_line":"        except Exception:"},{"line_number":190,"context_line":"            try:"},{"line_number":191,"context_line":"                cinder_limits \u003d api.cinder.tenant_absolute_limits(self.request)"},{"line_number":192,"context_line":"            except Exception:"},{"line_number":193,"context_line":"                msg \u003d _(\"Unable to retrieve volume limit information.\")"},{"line_number":194,"context_line":"                exceptions.handle(self.request, msg)"}],"source_content_type":"text/x-python","patch_set":4,"id":"dab17558_bc606c36","line":191,"in_reply_to":"dab17558_c1fb8945","updated":"2016-05-16 19:00:06.000000000","message":"I agree, will do this will follow on patch.","commit_id":"7daf60c70400e9fd7892b692e1d94089fda23c9b"}],"openstack_dashboard/usage/views.py":[{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"82dee524eaf5b81aba7428c523422af259b80e3e","unresolved":false,"context_lines":[{"line_number":84,"context_line":"            for quota in cinder_quotas:"},{"line_number":85,"context_line":"                item_name \u003d \"%s_%s\" % (quota, cinder_vol_type)"},{"line_number":86,"context_line":"                item_title \u003d \"%s (%s)\" % (quota.title(), cinder_vol_type)"},{"line_number":87,"context_line":"                types.append((\"total%sUsed\" % item_name, \"max%s\" % item_name,"},{"line_number":88,"context_line":"                             item_title))"},{"line_number":89,"context_line":"        for t in types:"},{"line_number":90,"context_line":"            if t[0] in self.usage.limits and t[1] in self.usage.limits:"}],"source_content_type":"text/x-python","patch_set":4,"id":"dab17558_21009565","line":87,"updated":"2016-05-11 18:26:17.000000000","message":"I think the extra parens can be removed here.","commit_id":"7daf60c70400e9fd7892b692e1d94089fda23c9b"},{"author":{"_account_id":6650,"name":"Eric Peterson","email":"ejpetey@gmail.com","username":"ericpeterson-l"},"change_message_id":"d850dec1600049c9dfc0609c76b1ada6d2a40d89","unresolved":false,"context_lines":[{"line_number":84,"context_line":"            for quota in cinder_quotas:"},{"line_number":85,"context_line":"                item_name \u003d \"%s_%s\" % (quota, cinder_vol_type)"},{"line_number":86,"context_line":"                item_title \u003d \"%s (%s)\" % (quota.title(), cinder_vol_type)"},{"line_number":87,"context_line":"                types.append((\"total%sUsed\" % item_name, \"max%s\" % item_name,"},{"line_number":88,"context_line":"                             item_title))"},{"line_number":89,"context_line":"        for t in types:"},{"line_number":90,"context_line":"            if t[0] in self.usage.limits and t[1] in self.usage.limits:"}],"source_content_type":"text/x-python","patch_set":4,"id":"dab17558_5c1a20c7","line":87,"in_reply_to":"dab17558_21009565","updated":"2016-05-16 19:00:06.000000000","message":"this is adding a tuple,  I think they are needed","commit_id":"7daf60c70400e9fd7892b692e1d94089fda23c9b"},{"author":{"_account_id":18332,"name":"Ankur","email":"ankur.gupta@intel.com","username":"ankur-gupta-f"},"change_message_id":"b0353648cbc0ca018ad8713089eddab2e9e3ad38","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                         _(\"Volume Storage\")))"},{"line_number":81,"context_line":"        cinder_vol_type \u003d self.usage.cinder_backends"},{"line_number":82,"context_line":"        cinder_quotas \u003d [\u0027snapshots\u0027, \u0027volumes\u0027, \u0027gigabytes\u0027]"},{"line_number":83,"context_line":"        for cinder_vol_type in cinder_vol_type:"},{"line_number":84,"context_line":"            for quota in cinder_quotas:"},{"line_number":85,"context_line":"                if cinder_vol_type:"},{"line_number":86,"context_line":"                    item_name \u003d \"%s_%s\" % (quota, cinder_vol_type)"}],"source_content_type":"text/x-python","patch_set":5,"id":"dab17558_45007866","line":83,"updated":"2016-05-16 20:36:30.000000000","message":"Concerned what would happen if there are many different volume types. In which case the number of charts would be overwhelming. Am trying to play around and replicate.","commit_id":"5531fba79e0d90c6ae31142679bb1a84115568d2"},{"author":{"_account_id":7179,"name":"Brad Pokorny","email":"brad_pokorny@symantec.com","username":"bpokorny"},"change_message_id":"34ac28faaf06027b413590697a55c08e2f7dc307","unresolved":false,"context_lines":[{"line_number":80,"context_line":"                         _(\"Volume Storage\")))"},{"line_number":81,"context_line":"        cinder_vol_type \u003d self.usage.cinder_backends"},{"line_number":82,"context_line":"        cinder_quotas \u003d [\u0027snapshots\u0027, \u0027volumes\u0027, \u0027gigabytes\u0027]"},{"line_number":83,"context_line":"        for cinder_vol_type in cinder_vol_type:"},{"line_number":84,"context_line":"            for quota in cinder_quotas:"},{"line_number":85,"context_line":"                if cinder_vol_type:"},{"line_number":86,"context_line":"                    item_name \u003d \"%s_%s\" % (quota, cinder_vol_type)"}],"source_content_type":"text/x-python","patch_set":6,"id":"dab17558_776a5fb4","line":83,"updated":"2016-05-17 16:44:15.000000000","message":"Suggest renaming one of these, since it\u0027s confusing that they use the same variable name.","commit_id":"ae522e18fada3880b1a1a783d1edf3274b688030"}]}
