)]}'
{"rally/task/context.py":[{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"7a3cc34006e2d2065b2962288f1b631b361a8cef","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":29,"context_line":"CONF \u003d cfg.CONF"},{"line_number":30,"context_line":"CONF_OPTS \u003d ["},{"line_number":31,"context_line":"    cfg.StrOpt("},{"line_number":32,"context_line":"        \"context_resource_name_format\","},{"line_number":33,"context_line":"        default\u003d\"c_rally_XXXXXXXX_XXXXXXXX\","},{"line_number":34,"context_line":"        help\u003d\"Template is used to generate random names of resources. X is\""},{"line_number":35,"context_line":"             \"replaced with random latter, amount of X can be adjusted\")"},{"line_number":36,"context_line":"]"},{"line_number":37,"context_line":"CONF.register_opts(CONF_OPTS)"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"@logging.log_deprecated_args(\"Use \u0027platform\u0027 arg instead\", \"0.10.0\","}],"source_content_type":"text/x-python","patch_set":2,"id":"7f515b1d_ec3b5bce","line":37,"range":{"start_line":30,"start_character":0,"end_line":37,"end_character":29},"updated":"2017-10-06 10:47:13.000000000","message":"there was a similar patch, but it has a huge problem. We cannot use one template for all resources. ironic resources do not support \"_\" character, another service doesn\u0027t support \"-\" and so on. It suc*s, but we should find a different solution.\n\nSo this should be configurable for each context separately...","commit_id":"cb53e273cd94393c5876183037edd4ae625471c1"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"4ed38c2605e17e0a2a872e883f6b342aa7ccf9f9","unresolved":false,"context_lines":[{"line_number":30,"context_line":"CONF_OPTS \u003d ["},{"line_number":31,"context_line":"    cfg.StrOpt("},{"line_number":32,"context_line":"        \"context_resource_name_format\","},{"line_number":33,"context_line":"        default\u003d\"c_rally_XXXXXXXX_XXXXXXXX\","},{"line_number":34,"context_line":"        help\u003d\"Template is used to generate random names of resources. X is\""},{"line_number":35,"context_line":"             \"replaced with random latter, amount of X can be adjusted\")"},{"line_number":36,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":4,"id":"7f515b1d_aa1092a9","line":33,"range":{"start_line":33,"start_character":8,"end_line":33,"end_character":44},"updated":"2017-10-06 23:12:36.000000000","message":"there should not be the default value, so if the user do not specify resource name format, the default formats of each context/scenario will be used instead . I mean \"c_rally_XXXXXXXX_XXXXXXXX\" is not valid default value for all context.","commit_id":"9c9f3764e7daa09d6a1f5e02fce4830c5a1e9d18"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"400560b0080616b5a2901c27cdf3fa569c0b5148","unresolved":false,"context_lines":[{"line_number":172,"context_line":"        self.task \u003d self.context.get(\"task\", {})"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def _get_resource_name_format(cls):"},{"line_number":175,"context_line":"        return CONF.context_resource_name_format"},{"line_number":176,"context_line":""},{"line_number":177,"context_line":"    def get_owner_id(self):"},{"line_number":178,"context_line":"        if \"owner_id\" in self.context:"}],"source_content_type":"text/x-python","patch_set":4,"id":"7f515b1d_4a211efb","line":175,"range":{"start_line":175,"start_character":15,"end_line":175,"end_character":48},"updated":"2017-10-06 23:13:14.000000000","message":"it should be:\n\n    CONF.context_resource_name_format or self.RESOURCE_NAME_FORMAT","commit_id":"9c9f3764e7daa09d6a1f5e02fce4830c5a1e9d18"}]}
