)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":1561,"name":"Russell Bryant","email":"rbryant@redhat.com","username":"russellb"},"change_message_id":"4e2ab2c96fbf2383d0596f9fa612e631d0eaff78","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Malini Bhandaru \u003cmalini.k.bhandaru@intel.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2013-07-25 10:51:54 -0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"authenticate even readonly libvirt connections"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I6cb3825d1225807955177d7500899babbb569e20"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"AAAAQn%2F%2Fp6M%3D","line":7,"updated":"2013-07-25 17:52:53.000000000","message":"this commit message needs much more detail to explain the \"why\" behind this change\n\nhttps://wiki.openstack.org/wiki/GitCommitMessages","commit_id":"bc030805bcd7f0e589a6ef0f52bb30bcd31f4966"},{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"5ae1e6231b86498e58e083cba5d30579f8808f0d","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Eliminated tests that exercised the readonly connection except for adding"},{"line_number":14,"context_line":"one that demonstrates an API call that is inaccessible."},{"line_number":15,"context_line":"Thanks to Daniel Berrange!"},{"line_number":16,"context_line":"Change-Id: I6cb3825d1225807955177d7500899babbb569e20"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"AAAAQn%2F%2FoDY%3D","line":15,"updated":"2013-07-26 08:42:50.000000000","message":"Thanks but no need to credit reviewers in the commit message.","commit_id":"2453eded53eaf1707616ad783d0f98d1b4a2b007"}],"nova/tests/virt/libvirt/fakelibvirt.py":[{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"a6252115e1d1d2d30e6d460e2eda16c160477a80","unresolved":false,"context_lines":[{"line_number":925,"context_line":" "},{"line_number":926,"context_line":"def openReadOnly(uri, auth, flags): "},{"line_number":927,"context_line":"    connectionCommon(uri, auth, flags) "},{"line_number":928,"context_line":"    return Connection(uri, readonly\u003dTrue) "},{"line_number":929,"context_line":" "},{"line_number":930,"context_line":"def openAuth(uri, auth, flags): "},{"line_number":931,"context_line":"    connectionCommon(uri, auth, flags) "}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAQn%2F%2Fp3M%3D","line":928,"updated":"2013-07-25 18:08:02.000000000","message":"Why are you adding this, when you delete the only use of openReadONly in driver.py","commit_id":"bc030805bcd7f0e589a6ef0f52bb30bcd31f4966"},{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"5ae1e6231b86498e58e083cba5d30579f8808f0d","unresolved":false,"context_lines":[{"line_number":617,"context_line":"        if self.readonly:"},{"line_number":618,"context_line":"            raise libvirtError(\"readOnly mode: getVersion inacessible\")"},{"line_number":619,"context_line":"        else:"},{"line_number":620,"context_line":"            return self.fakeVersion"},{"line_number":621,"context_line":""},{"line_number":622,"context_line":"    def getHostname(self):"},{"line_number":623,"context_line":"        return \u0027compute1\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAQn%2F%2FoEU%3D","line":620,"updated":"2013-07-26 08:42:50.000000000","message":"Huh, libvirt\u0027s getVersion allows use in readonly mode, so our fake libvirt should too.","commit_id":"2453eded53eaf1707616ad783d0f98d1b4a2b007"}],"nova/tests/virt/libvirt/test_fakelibvirt.py":[{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"a6252115e1d1d2d30e6d460e2eda16c160477a80","unresolved":false,"context_lines":[{"line_number":81,"context_line":"        return lambda uri: libvirt.openAuth(uri,creds,flags)"},{"line_number":82,"context_line":" "},{"line_number":83,"context_line":"    def get_openReadOnly_curry_func(self):"},{"line_number":84,"context_line":"        return self.get_curry_func(readOnly\u003dTrue) "},{"line_number":85,"context_line":" "},{"line_number":86,"context_line":"    def get_openAuth_curry_func(self): "},{"line_number":87,"context_line":"        return self.get_curry_func(readOnly\u003dFalse)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAQn%2F%2Fp24%3D","line":84,"updated":"2013-07-25 18:08:02.000000000","message":"Again, why are you adding this openReadOnly method when the point of this change is to remove use of any openReadOnly method.","commit_id":"bc030805bcd7f0e589a6ef0f52bb30bcd31f4966"},{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"5ae1e6231b86498e58e083cba5d30579f8808f0d","unresolved":false,"context_lines":[{"line_number":288,"context_line":"        except Exception:"},{"line_number":289,"context_line":"            self.fail(\u0027Unexpected exception thrown:\u0027, Exception)"},{"line_number":290,"context_line":"        else:"},{"line_number":291,"context_line":"            self.fail(\u0027Expected exception not thrown\u0027)"},{"line_number":292,"context_line":""},{"line_number":293,"context_line":"    def test_getCapabilities(self):"},{"line_number":294,"context_line":"        conn \u003d self.get_openAuth_curry_func()(\u0027qemu:///system\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"AAAAQn%2F%2FoD4%3D","line":291,"updated":"2013-07-26 08:42:50.000000000","message":"This is bogus. The getVersion method is accessible to readonly connections","commit_id":"2453eded53eaf1707616ad783d0f98d1b4a2b007"}],"nova/virt/libvirt/driver.py":[{"author":{"_account_id":1779,"name":"Daniel Berrange","email":"berrange@redhat.com","username":"berrange"},"change_message_id":"a6252115e1d1d2d30e6d460e2eda16c160477a80","unresolved":false,"context_lines":[{"line_number":664,"context_line":"        try:"},{"line_number":665,"context_line":"            flags \u003d 0"},{"line_number":666,"context_line":"            if read_only:"},{"line_number":667,"context_line":"                flags \u003d flags \u0026 libvirt.VIR_CONNECT_RO"},{"line_number":668,"context_line":"            return libvirt.openAuth(uri, auth, flags)"},{"line_number":669,"context_line":"        except libvirt.libvirtError as ex:"},{"line_number":670,"context_line":"            LOG.exception(_(\"Connection to libvirt failed: %s\"), ex)"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAQn%2F%2Fp3U%3D","line":667,"updated":"2013-07-25 18:08:02.000000000","message":"You\u0027re removing the only call to openReadOnly here, and yet in the test suite you\u0027re adding stubs for the openReadOnly method. The test suite changes just look wrong.","commit_id":"bc030805bcd7f0e589a6ef0f52bb30bcd31f4966"}]}
