)]}'
{"doc/source/man/glancemanage.rst":[{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"345ac959f84e41ad816a6b63301d53e07c0c807b","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  **db_export_metadefs [PATH | PREFIX]**"},{"line_number":61,"context_line":"        Export the metadata definitions into json format. By default the"},{"line_number":62,"context_line":"        definitions are exported to /etc/glance/metadefs directory. Note,"},{"line_number":63,"context_line":"        this command will overwrite existing files in the supplied or"},{"line_number":64,"context_line":"        default path."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  **db_load_metadefs [PATH]**"},{"line_number":67,"context_line":"        Load the metadata definitions into glance database. By default the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a629dbe_e87d5ab2","line":64,"range":{"start_line":62,"start_character":68,"end_line":64,"end_character":21},"updated":"2016-11-08 15:04:21.000000000","message":"I\u0027d suggest s/Note,/Note:/\n\nAlso, please make this entire sentence bold (**), we don\u0027t want it not to be noticed!","commit_id":"7e01f775bc64bedbccbe923bd048b29a0a14c411"},{"author":{"_account_id":22448,"name":"Alexander Bashmakov","email":"abashmak@yahoo.com","username":"abashmak"},"change_message_id":"d5e9a94e070368eb56495535d0330b80d49c6c43","unresolved":false,"context_lines":[{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  **db_export_metadefs [PATH | PREFIX]**"},{"line_number":61,"context_line":"        Export the metadata definitions into json format. By default the"},{"line_number":62,"context_line":"        definitions are exported to /etc/glance/metadefs directory. Note,"},{"line_number":63,"context_line":"        this command will overwrite existing files in the supplied or"},{"line_number":64,"context_line":"        default path."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"  **db_load_metadefs [PATH]**"},{"line_number":67,"context_line":"        Load the metadata definitions into glance database. By default the"}],"source_content_type":"text/x-rst","patch_set":3,"id":"9a629dbe_d2359dda","line":64,"range":{"start_line":62,"start_character":68,"end_line":64,"end_character":21},"in_reply_to":"9a629dbe_e87d5ab2","updated":"2016-11-08 16:33:52.000000000","message":"Done","commit_id":"7e01f775bc64bedbccbe923bd048b29a0a14c411"}],"glance/db/sqlalchemy/metadata.py":[{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"345ac959f84e41ad816a6b63301d53e07c0c807b","unresolved":false,"context_lines":[{"line_number":465,"context_line":"        try:"},{"line_number":466,"context_line":"            file_name \u003d \u0027\u0027.join([path, namespace_file_name, \u0027.json\u0027])"},{"line_number":467,"context_line":"            if isfile(file_name):"},{"line_number":468,"context_line":"                LOG.warn(_LI(\"Ovewriting: %s\"), file_name)"},{"line_number":469,"context_line":"            with open(file_name, \u0027w\u0027) as json_file:"},{"line_number":470,"context_line":"                json_file.write(json.dumps(values))"},{"line_number":471,"context_line":"        except Exception as e:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_888a1ebe","line":468,"range":{"start_line":468,"start_character":30,"end_line":468,"end_character":40},"updated":"2016-11-08 15:04:21.000000000","message":"\"Overwriting\"\n\nAlso, I wonder whether this should be an info level?  It\u0027s not like the warning is actionable -- by the time the operator sees this, it\u0027s too late.  (But I don\u0027t insist.)","commit_id":"7e01f775bc64bedbccbe923bd048b29a0a14c411"},{"author":{"_account_id":22448,"name":"Alexander Bashmakov","email":"abashmak@yahoo.com","username":"abashmak"},"change_message_id":"d5e9a94e070368eb56495535d0330b80d49c6c43","unresolved":false,"context_lines":[{"line_number":465,"context_line":"        try:"},{"line_number":466,"context_line":"            file_name \u003d \u0027\u0027.join([path, namespace_file_name, \u0027.json\u0027])"},{"line_number":467,"context_line":"            if isfile(file_name):"},{"line_number":468,"context_line":"                LOG.warn(_LI(\"Ovewriting: %s\"), file_name)"},{"line_number":469,"context_line":"            with open(file_name, \u0027w\u0027) as json_file:"},{"line_number":470,"context_line":"                json_file.write(json.dumps(values))"},{"line_number":471,"context_line":"        except Exception as e:"}],"source_content_type":"text/x-python","patch_set":3,"id":"9a629dbe_9242453d","line":468,"range":{"start_line":468,"start_character":30,"end_line":468,"end_character":40},"in_reply_to":"9a629dbe_888a1ebe","updated":"2016-11-08 16:33:52.000000000","message":"+1, will change to info level","commit_id":"7e01f775bc64bedbccbe923bd048b29a0a14c411"}]}
