)]}'
{"blazarnova/scheduler/filters/blazar_filter.py":[{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"29a702faf79d82a94d4e13471415193539ce80ba","unresolved":false,"context_lines":[{"line_number":110,"context_line":"                    access \u003d pool.metadata.get(key)"},{"line_number":111,"context_line":"                    if access:"},{"line_number":112,"context_line":"                        return True"},{"line_number":113,"context_line":"                    # NOTE(sbauza): We also need to check the blazar:owner key"},{"line_number":114,"context_line":"                    #  until we modify the reservation pool for including the"},{"line_number":115,"context_line":"                    #  project_id key as for any other extra project"},{"line_number":116,"context_line":"                    owner \u003d cfg.CONF[\u0027blazar:physical:host\u0027].blazar_owner"},{"line_number":117,"context_line":"                    # NOTE(pafuent): climate:owner was the previous default"},{"line_number":118,"context_line":"                    # value."},{"line_number":119,"context_line":"                    owner_project_id \u003d pool.metadata.get("},{"line_number":120,"context_line":"                        owner, pool.metadata.get(\u0027climate:owner\u0027))"},{"line_number":121,"context_line":"                    if owner_project_id \u003d\u003d spec_obj.project_id:"},{"line_number":122,"context_line":"                        return True"},{"line_number":123,"context_line":"                    LOG.info(_(\"Unauthorized request to use Pool \""},{"line_number":124,"context_line":"                               \"%(pool_id)s by tenant %(tenant_id)s\"),"},{"line_number":125,"context_line":"                             {\u0027pool_id\u0027: pool.name,"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f201791_9c88edc6","side":"PARENT","line":122,"range":{"start_line":113,"start_character":0,"end_line":122,"end_character":35},"updated":"2017-06-21 11:28:45.000000000","message":"This part of the patch removes code that is not specific to the climate namespace. If this code is unneeded, it should be removed via another dedicated patch with a commit message explaining why it is deleted.","commit_id":"25a39917c2bd67e0510aec0f2f0c411bc75152b8"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"b3373890d54338fc3a1fa25b7d0c5324380c2c7c","unresolved":false,"context_lines":[{"line_number":110,"context_line":"                    access \u003d pool.metadata.get(key)"},{"line_number":111,"context_line":"                    if access:"},{"line_number":112,"context_line":"                        return True"},{"line_number":113,"context_line":"                    # NOTE(sbauza): We also need to check the blazar:owner key"},{"line_number":114,"context_line":"                    #  until we modify the reservation pool for including the"},{"line_number":115,"context_line":"                    #  project_id key as for any other extra project"},{"line_number":116,"context_line":"                    owner \u003d cfg.CONF[\u0027blazar:physical:host\u0027].blazar_owner"},{"line_number":117,"context_line":"                    # NOTE(pafuent): climate:owner was the previous default"},{"line_number":118,"context_line":"                    # value."},{"line_number":119,"context_line":"                    owner_project_id \u003d pool.metadata.get("},{"line_number":120,"context_line":"                        owner, pool.metadata.get(\u0027climate:owner\u0027))"},{"line_number":121,"context_line":"                    if owner_project_id \u003d\u003d spec_obj.project_id:"},{"line_number":122,"context_line":"                        return True"},{"line_number":123,"context_line":"                    LOG.info(_(\"Unauthorized request to use Pool \""},{"line_number":124,"context_line":"                               \"%(pool_id)s by tenant %(tenant_id)s\"),"},{"line_number":125,"context_line":"                             {\u0027pool_id\u0027: pool.name,"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f201791_84e63944","side":"PARENT","line":122,"range":{"start_line":113,"start_character":0,"end_line":122,"end_character":35},"in_reply_to":"5f201791_9c88edc6","updated":"2017-06-22 04:53:21.000000000","message":"I\u0027ve reverted this part.","commit_id":"25a39917c2bd67e0510aec0f2f0c411bc75152b8"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"f3a1166e00483eb85085d8a625e379d3d9594987","unresolved":false,"context_lines":[{"line_number":105,"context_line":"                    #  until we modify the reservation pool for including the"},{"line_number":106,"context_line":"                    #  project_id key as for any other extra project"},{"line_number":107,"context_line":"                    owner \u003d cfg.CONF[\u0027blazar:physical:host\u0027].blazar_owner"},{"line_number":108,"context_line":"                    # NOTE(pafuent): climate:owner was the previous default"},{"line_number":109,"context_line":"                    # value."},{"line_number":110,"context_line":"                    owner_project_id \u003d pool.metadata.get("},{"line_number":111,"context_line":"                        owner, pool.metadata.get(\u0027climate:owner\u0027))"},{"line_number":112,"context_line":"                    if owner_project_id \u003d\u003d spec_obj.project_id:"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_3109e030","line":109,"range":{"start_line":108,"start_character":0,"end_line":109,"end_character":28},"updated":"2017-06-22 10:11:59.000000000","message":"I think you can take out this part.","commit_id":"081045a88454425a8055316673c7cd4aded74ccd"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"f3a1166e00483eb85085d8a625e379d3d9594987","unresolved":false,"context_lines":[{"line_number":108,"context_line":"                    # NOTE(pafuent): climate:owner was the previous default"},{"line_number":109,"context_line":"                    # value."},{"line_number":110,"context_line":"                    owner_project_id \u003d pool.metadata.get("},{"line_number":111,"context_line":"                        owner, pool.metadata.get(\u0027climate:owner\u0027))"},{"line_number":112,"context_line":"                    if owner_project_id \u003d\u003d spec_obj.project_id:"},{"line_number":113,"context_line":"                        return True"},{"line_number":114,"context_line":"                    LOG.info(_(\"Unauthorized request to use Pool \""}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_f102480b","line":111,"range":{"start_line":111,"start_character":29,"end_line":111,"end_character":65},"updated":"2017-06-22 10:11:59.000000000","message":"And this one.","commit_id":"081045a88454425a8055316673c7cd4aded74ccd"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"ca16719d1a31eb93f8fee6264337ac7cbc46baca","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        aggregates \u003d host_state.aggregates"},{"line_number":77,"context_line":"        pools \u003d []"},{"line_number":78,"context_line":"        for agg in aggregates:"},{"line_number":79,"context_line":"            if (str(agg.availability_zone).startswith("},{"line_number":80,"context_line":"                    cfg.CONF[\u0027blazar:physical:host\u0027].blazar_az_prefix)):"},{"line_number":81,"context_line":"                pools.append(agg)"},{"line_number":82,"context_line":"            if agg.name \u003d\u003d ("},{"line_number":83,"context_line":"                    cfg.CONF[\u0027blazar:physical:host\u0027].aggregate_freepool_name):"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f201791_b64942d1","line":80,"range":{"start_line":79,"start_character":0,"end_line":80,"end_character":72},"updated":"2017-06-23 09:08:10.000000000","message":"I think you can remove the parentheses around this expression now.","commit_id":"b94131367cb9f65f67f7d4218b400fdea296d4b7"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"f1051f1a52e8acd387a43df341de183c57506ee3","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        aggregates \u003d host_state.aggregates"},{"line_number":77,"context_line":"        pools \u003d []"},{"line_number":78,"context_line":"        for agg in aggregates:"},{"line_number":79,"context_line":"            if (str(agg.availability_zone).startswith("},{"line_number":80,"context_line":"                    cfg.CONF[\u0027blazar:physical:host\u0027].blazar_az_prefix)):"},{"line_number":81,"context_line":"                pools.append(agg)"},{"line_number":82,"context_line":"            if agg.name \u003d\u003d ("},{"line_number":83,"context_line":"                    cfg.CONF[\u0027blazar:physical:host\u0027].aggregate_freepool_name):"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f201791_58755431","line":80,"range":{"start_line":79,"start_character":0,"end_line":80,"end_character":72},"in_reply_to":"5f201791_b64942d1","updated":"2017-06-26 04:19:37.000000000","message":"Done","commit_id":"b94131367cb9f65f67f7d4218b400fdea296d4b7"},{"author":{"_account_id":15197,"name":"Pierre Riteau","email":"pierre@stackhpc.com","username":"priteau","status":"StackHPC"},"change_message_id":"ca16719d1a31eb93f8fee6264337ac7cbc46baca","unresolved":false,"context_lines":[{"line_number":105,"context_line":"                    #  until we modify the reservation pool for including the"},{"line_number":106,"context_line":"                    #  project_id key as for any other extra project"},{"line_number":107,"context_line":"                    owner \u003d cfg.CONF[\u0027blazar:physical:host\u0027].blazar_owner"},{"line_number":108,"context_line":"                    owner_project_id \u003d pool.metadata.get(owner, None)"},{"line_number":109,"context_line":"                    if owner_project_id \u003d\u003d spec_obj.project_id:"},{"line_number":110,"context_line":"                        return True"},{"line_number":111,"context_line":"                    LOG.info(_(\"Unauthorized request to use Pool \""}],"source_content_type":"text/x-python","patch_set":3,"id":"5f201791_767a8af1","line":108,"range":{"start_line":108,"start_character":0,"end_line":108,"end_character":69},"updated":"2017-06-23 09:08:10.000000000","message":"You can remove the second argument to get(), because None is the default value, i.e.:\n\n    pool.metadata.get(owner)","commit_id":"b94131367cb9f65f67f7d4218b400fdea296d4b7"},{"author":{"_account_id":23840,"name":"Hiroaki Kobayashi","email":"kobayashi.hiroaki@lab.ntt.co.jp","username":"hiro-kobayashi"},"change_message_id":"f1051f1a52e8acd387a43df341de183c57506ee3","unresolved":false,"context_lines":[{"line_number":105,"context_line":"                    #  until we modify the reservation pool for including the"},{"line_number":106,"context_line":"                    #  project_id key as for any other extra project"},{"line_number":107,"context_line":"                    owner \u003d cfg.CONF[\u0027blazar:physical:host\u0027].blazar_owner"},{"line_number":108,"context_line":"                    owner_project_id \u003d pool.metadata.get(owner, None)"},{"line_number":109,"context_line":"                    if owner_project_id \u003d\u003d spec_obj.project_id:"},{"line_number":110,"context_line":"                        return True"},{"line_number":111,"context_line":"                    LOG.info(_(\"Unauthorized request to use Pool \""}],"source_content_type":"text/x-python","patch_set":3,"id":"5f201791_18911c48","line":108,"range":{"start_line":108,"start_character":0,"end_line":108,"end_character":69},"in_reply_to":"5f201791_767a8af1","updated":"2017-06-26 04:19:37.000000000","message":"Done","commit_id":"b94131367cb9f65f67f7d4218b400fdea296d4b7"}]}
