)]}'
{"neutron/agent/linux/dhcp.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"a646bdf4321b0249e0c84ee5b9153d1cf8c5700d","unresolved":false,"context_lines":[{"line_number":23,"context_line":"import netaddr"},{"line_number":24,"context_line":"from neutron_lib import constants"},{"line_number":25,"context_line":"from neutron_lib import exceptions"},{"line_number":26,"context_line":"from neutron_lib.utils import file"},{"line_number":27,"context_line":"from oslo_config import cfg"},{"line_number":28,"context_line":"from oslo_log import log as logging"},{"line_number":29,"context_line":"import oslo_messaging"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba5da102_1ff099fd","line":26,"range":{"start_line":26,"start_character":30,"end_line":26,"end_character":34},"updated":"2016-11-02 15:00:31.000000000","message":"it\u0027s a keyword in python, you better not use it for import name.","commit_id":"25b1754308fcfc4756bebedeb452d0605ffcdb4b"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"ad5be61c8752043ecdb824c383c3fe1de8e03bf7","unresolved":false,"context_lines":[{"line_number":23,"context_line":"import netaddr"},{"line_number":24,"context_line":"from neutron_lib import constants"},{"line_number":25,"context_line":"from neutron_lib import exceptions"},{"line_number":26,"context_line":"from neutron_lib.utils import file"},{"line_number":27,"context_line":"from oslo_config import cfg"},{"line_number":28,"context_line":"from oslo_log import log as logging"},{"line_number":29,"context_line":"import oslo_messaging"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba5da102_e2c33036","line":26,"range":{"start_line":26,"start_character":30,"end_line":26,"end_character":34},"in_reply_to":"ba5da102_1ff099fd","updated":"2016-11-03 06:26:52.000000000","message":"Done","commit_id":"25b1754308fcfc4756bebedeb452d0605ffcdb4b"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"74c2e4a366eed4812ce7f1d4439592f1a5a7ebeb","unresolved":false,"context_lines":[{"line_number":23,"context_line":"import netaddr"},{"line_number":24,"context_line":"from neutron_lib import constants"},{"line_number":25,"context_line":"from neutron_lib import exceptions"},{"line_number":26,"context_line":"from neutron_lib.utils import file as file_utils"},{"line_number":27,"context_line":"from oslo_config import cfg"},{"line_number":28,"context_line":"from oslo_log import log as logging"},{"line_number":29,"context_line":"import oslo_messaging"}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5da102_479bf165","line":26,"range":{"start_line":26,"start_character":38,"end_line":26,"end_character":48},"updated":"2016-11-03 16:48:32.000000000","message":"Thanks!","commit_id":"044472e8c8827c7f5614daaaa04f2ec762747a99"}],"neutron/agent/linux/dibbler.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"ed9c8f11def136e41959bde15cccb758061c89da","unresolved":false,"context_lines":[{"line_number":17,"context_line":"import shutil"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"import jinja2"},{"line_number":20,"context_line":"from neutron_lib.utils import file"},{"line_number":21,"context_line":"from oslo_config import cfg"},{"line_number":22,"context_line":"from oslo_log import log as logging"},{"line_number":23,"context_line":"import six"}],"source_content_type":"text/x-python","patch_set":10,"id":"ba5da102_abfcb3b8","line":20,"updated":"2016-11-03 07:54:41.000000000","message":"I thought that pointing to the issue in one of files will be enough. Apparently not. Please fix the import name in all other changed files.","commit_id":"cc2c6a9b2a93160378a8ceaad948e753f6047f58"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"97da417f3209c4260ae90bcfa27411638e1ae050","unresolved":false,"context_lines":[{"line_number":17,"context_line":"import shutil"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"import jinja2"},{"line_number":20,"context_line":"from neutron_lib.utils import file"},{"line_number":21,"context_line":"from oslo_config import cfg"},{"line_number":22,"context_line":"from oslo_log import log as logging"},{"line_number":23,"context_line":"import six"}],"source_content_type":"text/x-python","patch_set":10,"id":"ba5da102_b10a6024","line":20,"in_reply_to":"ba5da102_abfcb3b8","updated":"2016-11-03 09:23:44.000000000","message":"sorry missed it","commit_id":"cc2c6a9b2a93160378a8ceaad948e753f6047f58"}],"neutron/common/utils.py":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"edc954af12a4c347eaa1b78ed1c530a474afd741","unresolved":false,"context_lines":[{"line_number":368,"context_line":""},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"@removals.remove("},{"line_number":371,"context_line":"    message\u003d\"use replace_file from ineutron_lib.utils\","},{"line_number":372,"context_line":"    version\u003d\"Newton\","},{"line_number":373,"context_line":"    removal_version\u003d\"Ocata\")"},{"line_number":374,"context_line":"def replace_file(file_name, data, file_mode\u003d0o644):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a95cdbc_d1ea8773","line":371,"range":{"start_line":371,"start_character":13,"end_line":371,"end_character":53},"updated":"2016-10-09 14:41:50.000000000","message":"\"Use neutron_lib.utils.file.replace_file instead\"","commit_id":"4c5f7240327822416a23defa780a3a2bfb1c396e"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"927bc5673599813f7f80a456e22ca854b0a5652f","unresolved":false,"context_lines":[{"line_number":368,"context_line":""},{"line_number":369,"context_line":""},{"line_number":370,"context_line":"@removals.remove("},{"line_number":371,"context_line":"    message\u003d\"use replace_file from ineutron_lib.utils\","},{"line_number":372,"context_line":"    version\u003d\"Newton\","},{"line_number":373,"context_line":"    removal_version\u003d\"Ocata\")"},{"line_number":374,"context_line":"def replace_file(file_name, data, file_mode\u003d0o644):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a95cdbc_95d46aec","line":371,"range":{"start_line":371,"start_character":13,"end_line":371,"end_character":53},"in_reply_to":"1a95cdbc_d1ea8773","updated":"2016-10-09 16:05:46.000000000","message":"Done","commit_id":"4c5f7240327822416a23defa780a3a2bfb1c396e"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"edc954af12a4c347eaa1b78ed1c530a474afd741","unresolved":false,"context_lines":[{"line_number":372,"context_line":"    version\u003d\"Newton\","},{"line_number":373,"context_line":"    removal_version\u003d\"Ocata\")"},{"line_number":374,"context_line":"def replace_file(file_name, data, file_mode\u003d0o644):"},{"line_number":375,"context_line":"    \"\"\"Replaces the contents of file_name with data in a safe manner."},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"    First write to a temp file and then rename. Since POSIX renames are"},{"line_number":378,"context_line":"    atomic, the file is unlikely to be corrupted by competing writes."},{"line_number":379,"context_line":""},{"line_number":380,"context_line":"    We create the tempfile on the same device to ensure that it can be renamed."},{"line_number":381,"context_line":"    \"\"\""},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"    base_dir \u003d os.path.dirname(os.path.abspath(file_name))"},{"line_number":384,"context_line":"    with tempfile.NamedTemporaryFile(\u0027w+\u0027,"},{"line_number":385,"context_line":"                                     dir\u003dbase_dir,"},{"line_number":386,"context_line":"                                     delete\u003dFalse) as tmp_file:"},{"line_number":387,"context_line":"        tmp_file.write(data)"},{"line_number":388,"context_line":"    os.chmod(tmp_file.name, file_mode)"},{"line_number":389,"context_line":"    os.rename(tmp_file.name, file_name)"},{"line_number":390,"context_line":""},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"def load_class_by_alias_or_classname(namespace, name):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a95cdbc_51f75758","line":389,"range":{"start_line":375,"start_character":0,"end_line":389,"end_character":39},"updated":"2016-10-09 14:41:50.000000000","message":"Replace this function body with a call to neutron_lib.","commit_id":"4c5f7240327822416a23defa780a3a2bfb1c396e"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"927bc5673599813f7f80a456e22ca854b0a5652f","unresolved":false,"context_lines":[{"line_number":372,"context_line":"    version\u003d\"Newton\","},{"line_number":373,"context_line":"    removal_version\u003d\"Ocata\")"},{"line_number":374,"context_line":"def replace_file(file_name, data, file_mode\u003d0o644):"},{"line_number":375,"context_line":"    \"\"\"Replaces the contents of file_name with data in a safe manner."},{"line_number":376,"context_line":""},{"line_number":377,"context_line":"    First write to a temp file and then rename. Since POSIX renames are"},{"line_number":378,"context_line":"    atomic, the file is unlikely to be corrupted by competing writes."},{"line_number":379,"context_line":""},{"line_number":380,"context_line":"    We create the tempfile on the same device to ensure that it can be renamed."},{"line_number":381,"context_line":"    \"\"\""},{"line_number":382,"context_line":""},{"line_number":383,"context_line":"    base_dir \u003d os.path.dirname(os.path.abspath(file_name))"},{"line_number":384,"context_line":"    with tempfile.NamedTemporaryFile(\u0027w+\u0027,"},{"line_number":385,"context_line":"                                     dir\u003dbase_dir,"},{"line_number":386,"context_line":"                                     delete\u003dFalse) as tmp_file:"},{"line_number":387,"context_line":"        tmp_file.write(data)"},{"line_number":388,"context_line":"    os.chmod(tmp_file.name, file_mode)"},{"line_number":389,"context_line":"    os.rename(tmp_file.name, file_name)"},{"line_number":390,"context_line":""},{"line_number":391,"context_line":""},{"line_number":392,"context_line":"def load_class_by_alias_or_classname(namespace, name):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a95cdbc_b5cfa654","line":389,"range":{"start_line":375,"start_character":0,"end_line":389,"end_character":39},"in_reply_to":"1a95cdbc_51f75758","updated":"2016-10-09 16:05:46.000000000","message":"Done","commit_id":"4c5f7240327822416a23defa780a3a2bfb1c396e"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"75c8fcec55189252fe9cb1f282a6e808c110fabe","unresolved":false,"context_lines":[{"line_number":344,"context_line":""},{"line_number":345,"context_line":"@removals.remove("},{"line_number":346,"context_line":"    message\u003d\"Use replace_file from neutron_lib.utils\","},{"line_number":347,"context_line":"    version\u003d\"Ocata\","},{"line_number":348,"context_line":"    removal_version\u003d\"Pike\")"},{"line_number":349,"context_line":"def replace_file(file_name, data, file_mode\u003d0o644):"},{"line_number":350,"context_line":"    file.replace_file(file_name, data, file_mode\u003dfile_mode)"},{"line_number":351,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"ba5da102_cb9cb210","line":348,"range":{"start_line":347,"start_character":0,"end_line":348,"end_character":27},"updated":"2016-11-02 11:07:58.000000000","message":"Remove the versions. To follow the \u0027faster adoption\u0027 plan for neutron-lib we want to nuke this code very soon.","commit_id":"a31616b336b7a0a537d1967aba12b1c9db125085"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"a0a13efc403bc14683750c85088ae730549e678a","unresolved":false,"context_lines":[{"line_number":344,"context_line":""},{"line_number":345,"context_line":"@removals.remove("},{"line_number":346,"context_line":"    message\u003d\"Use replace_file from neutron_lib.utils\","},{"line_number":347,"context_line":"    version\u003d\"Ocata\","},{"line_number":348,"context_line":"    removal_version\u003d\"Pike\")"},{"line_number":349,"context_line":"def replace_file(file_name, data, file_mode\u003d0o644):"},{"line_number":350,"context_line":"    file.replace_file(file_name, data, file_mode\u003dfile_mode)"},{"line_number":351,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"ba5da102_56b75ef4","line":348,"range":{"start_line":347,"start_character":0,"end_line":348,"end_character":27},"in_reply_to":"ba5da102_cb9cb210","updated":"2016-11-02 13:58:00.000000000","message":"Done","commit_id":"a31616b336b7a0a537d1967aba12b1c9db125085"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"a646bdf4321b0249e0c84ee5b9153d1cf8c5700d","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"@removals.remove("},{"line_number":63,"context_line":"    message\u003d\"Use ensure_tree(path, 0o755) from oslo_utils.fileutils\","},{"line_number":64,"context_line":"    version\u003d\"Ocata\","},{"line_number":65,"context_line":"    removal_version\u003d\"Pike\")"},{"line_number":66,"context_line":"def ensure_dir(dir_path):"},{"line_number":67,"context_line":"    \"\"\"Ensure a directory with 755 permissions mode.\"\"\""}],"source_content_type":"text/x-python","patch_set":9,"id":"ba5da102_ffd12558","side":"PARENT","line":64,"updated":"2016-11-02 15:00:31.000000000","message":"?","commit_id":"6b2fd95743ba88e009f0ca8344d327d526d30171"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"66acedf628c39f0667f9eb0efe608045946026ee","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"@removals.remove("},{"line_number":63,"context_line":"    message\u003d\"Use ensure_tree(path, 0o755) from oslo_utils.fileutils\","},{"line_number":64,"context_line":"    version\u003d\"Ocata\","},{"line_number":65,"context_line":"    removal_version\u003d\"Pike\")"},{"line_number":66,"context_line":"def ensure_dir(dir_path):"},{"line_number":67,"context_line":"    \"\"\"Ensure a directory with 755 permissions mode.\"\"\""}],"source_content_type":"text/x-python","patch_set":9,"id":"ba5da102_cb1e470b","side":"PARENT","line":64,"in_reply_to":"ba5da102_62e640e9","updated":"2016-11-03 07:55:20.000000000","message":"It does not make much sense if we remove it here but then introduce the same pattern in line 343.","commit_id":"6b2fd95743ba88e009f0ca8344d327d526d30171"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"ad5be61c8752043ecdb824c383c3fe1de8e03bf7","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"@removals.remove("},{"line_number":63,"context_line":"    message\u003d\"Use ensure_tree(path, 0o755) from oslo_utils.fileutils\","},{"line_number":64,"context_line":"    version\u003d\"Ocata\","},{"line_number":65,"context_line":"    removal_version\u003d\"Pike\")"},{"line_number":66,"context_line":"def ensure_dir(dir_path):"},{"line_number":67,"context_line":"    \"\"\"Ensure a directory with 755 permissions mode.\"\"\""}],"source_content_type":"text/x-python","patch_set":9,"id":"ba5da102_62e640e9","side":"PARENT","line":64,"in_reply_to":"ba5da102_ffd12558","updated":"2016-11-03 06:26:52.000000000","message":"please look at the previous PS and see Henry\u0027s comments. This is to ensure thte quick adoption of neutron-lib as discussed at the summit","commit_id":"6b2fd95743ba88e009f0ca8344d327d526d30171"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"ae3025e76b8d9af130fc80d3c58d52e10e99c502","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"@removals.remove("},{"line_number":63,"context_line":"    message\u003d\"Use ensure_tree(path, 0o755) from oslo_utils.fileutils\","},{"line_number":64,"context_line":"    version\u003d\"Ocata\","},{"line_number":65,"context_line":"    removal_version\u003d\"Pike\")"},{"line_number":66,"context_line":"def ensure_dir(dir_path):"},{"line_number":67,"context_line":"    \"\"\"Ensure a directory with 755 permissions mode.\"\"\""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5da102_36ad519b","side":"PARENT","line":64,"updated":"2016-11-03 15:40:43.000000000","message":"I am still looking for an explanation why we remove release names here but add them in lines 343-..","commit_id":"6b2fd95743ba88e009f0ca8344d327d526d30171"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"4501606cf893bd25884b780071ec264b322efdba","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"@removals.remove("},{"line_number":63,"context_line":"    message\u003d\"Use ensure_tree(path, 0o755) from oslo_utils.fileutils\","},{"line_number":64,"context_line":"    version\u003d\"Ocata\","},{"line_number":65,"context_line":"    removal_version\u003d\"Pike\")"},{"line_number":66,"context_line":"def ensure_dir(dir_path):"},{"line_number":67,"context_line":"    \"\"\"Ensure a directory with 755 permissions mode.\"\"\""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5da102_2256eb05","side":"PARENT","line":64,"in_reply_to":"ba5da102_36ad519b","updated":"2016-11-03 17:01:18.000000000","message":"that was my bad - will remove them. purpose is to ietrate fast on the neutron-lib adoption.","commit_id":"6b2fd95743ba88e009f0ca8344d327d526d30171"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"74c2e4a366eed4812ce7f1d4439592f1a5a7ebeb","unresolved":false,"context_lines":[{"line_number":342,"context_line":""},{"line_number":343,"context_line":"@removals.remove("},{"line_number":344,"context_line":"    message\u003d\"Use replace_file from neutron_lib.utils\","},{"line_number":345,"context_line":"    version\u003d\"Ocata\","},{"line_number":346,"context_line":"    removal_version\u003d\"Pike\")"},{"line_number":347,"context_line":"def replace_file(file_name, data, file_mode\u003d0o644):"},{"line_number":348,"context_line":"    file_utils.replace_file(file_name, data, file_mode\u003dfile_mode)"},{"line_number":349,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5da102_e78a451a","line":346,"range":{"start_line":345,"start_character":0,"end_line":346,"end_character":27},"updated":"2016-11-03 16:48:32.000000000","message":"Echoing Ihar: please remove these versions too.","commit_id":"044472e8c8827c7f5614daaaa04f2ec762747a99"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"4501606cf893bd25884b780071ec264b322efdba","unresolved":false,"context_lines":[{"line_number":342,"context_line":""},{"line_number":343,"context_line":"@removals.remove("},{"line_number":344,"context_line":"    message\u003d\"Use replace_file from neutron_lib.utils\","},{"line_number":345,"context_line":"    version\u003d\"Ocata\","},{"line_number":346,"context_line":"    removal_version\u003d\"Pike\")"},{"line_number":347,"context_line":"def replace_file(file_name, data, file_mode\u003d0o644):"},{"line_number":348,"context_line":"    file_utils.replace_file(file_name, data, file_mode\u003dfile_mode)"},{"line_number":349,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"ba5da102_6761d504","line":346,"range":{"start_line":345,"start_character":0,"end_line":346,"end_character":27},"in_reply_to":"ba5da102_e78a451a","updated":"2016-11-03 17:01:18.000000000","message":"Done","commit_id":"044472e8c8827c7f5614daaaa04f2ec762747a99"}],"neutron/tests/functional/common/test_utils.py":[{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"30237d6cca98e7d2de14304ef5457714b5b13b05","unresolved":false,"context_lines":[{"line_number":11,"context_line":"#    under the License."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"import eventlet"},{"line_number":14,"context_line":"import os.path"},{"line_number":15,"context_line":"import stat"},{"line_number":16,"context_line":"import testtools"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from neutron.common import utils"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa6399be_c91dfa67","line":15,"range":{"start_line":14,"start_character":0,"end_line":15,"end_character":11},"updated":"2016-10-19 01:03:01.000000000","message":"These two imports looks like obsolete","commit_id":"93edb95d25bb2ba03a351d8ee22de4376b0c57e1"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"30a4de8dc6627285f9003cc075c6395c91242652","unresolved":false,"context_lines":[{"line_number":11,"context_line":"#    under the License."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"import eventlet"},{"line_number":14,"context_line":"import os.path"},{"line_number":15,"context_line":"import stat"},{"line_number":16,"context_line":"import testtools"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from neutron.common import utils"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa6399be_04b98c79","line":15,"range":{"start_line":14,"start_character":0,"end_line":15,"end_character":11},"in_reply_to":"fa6399be_c91dfa67","updated":"2016-10-19 08:35:46.000000000","message":"Done","commit_id":"93edb95d25bb2ba03a351d8ee22de4376b0c57e1"}]}
