)]}'
{"ironic/tests/unit/objects/test_objects.py":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"f1db24cae72a54e6c459560d1beaac9817a79b9b","unresolved":false,"context_lines":[{"line_number":420,"context_line":"# The hashes are help developers to check if the change of objects need a"},{"line_number":421,"context_line":"# version bump. It is md5 hash of object fields and remotable methods."},{"line_number":422,"context_line":"# The fingerprint values should only be changed if there is a version bump."},{"line_number":423,"context_line":"expect_object_fingerprints \u003d {"},{"line_number":424,"context_line":"    \u0027Node\u0027: \u00271.14-9ee8ab283b06398545880dfdedb49891\u0027,"},{"line_number":425,"context_line":"    \u0027MyObj\u0027: \u00271.5-4f5efe8f0fcaf182bbe1c7fe3ba858db\u0027,"},{"line_number":426,"context_line":"    \u0027Chassis\u0027: \u00271.3-d656e039fd8ae9f34efc232ab3980905\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a8ffd7b_9563491a","line":423,"updated":"2015-11-25 10:07:47.000000000","message":"expected_","commit_id":"cbe209bd360ff4d778b8a8de1d9973f1993f2b40"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"f1db24cae72a54e6c459560d1beaac9817a79b9b","unresolved":false,"context_lines":[{"line_number":439,"context_line":"        expect, actual \u003d checker.test_hashes(expect_object_fingerprints)"},{"line_number":440,"context_line":"        self.assertEqual(expect, actual,"},{"line_number":441,"context_line":"                         \"Fields or remotable methods are modified without \""},{"line_number":442,"context_line":"                         \"a fingerprint change for some objects. \")"},{"line_number":443,"context_line":""},{"line_number":444,"context_line":""},{"line_number":445,"context_line":"class TestObjectSerializer(test_base.TestCase):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a8ffd7b_b0877b60","line":442,"updated":"2015-11-25 10:07:47.000000000","message":"Right, can we be a bit more user friendly in this error?\n\nFor e.g I like that commend up there that says that when the hash is different we need a version bump, but we don\u0027t get this in this error message. I think it would be a good thing to remind the user what it has to do when the objects hash changes instead. Otherwise I feel he\u0027s just going to update the hashes and that\u0027s it.\n\nWhat about:\n\n\u0027Some objects fields or remotable methods have been modified. Please make sure the version of those objects have been bumped and then update the this test with the new hashes.\u0027\n\nI think it gives the user all information needed. What is the error, what the user has to do regards the object and tests.\n\nWhat do you think?","commit_id":"cbe209bd360ff4d778b8a8de1d9973f1993f2b40"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"dbdfe69f1ba52211e7248449517d1f1a95255597","unresolved":false,"context_lines":[{"line_number":439,"context_line":"        expect, actual \u003d checker.test_hashes(expect_object_fingerprints)"},{"line_number":440,"context_line":"        self.assertEqual(expect, actual,"},{"line_number":441,"context_line":"                         \"Fields or remotable methods are modified without \""},{"line_number":442,"context_line":"                         \"a fingerprint change for some objects. \")"},{"line_number":443,"context_line":""},{"line_number":444,"context_line":""},{"line_number":445,"context_line":"class TestObjectSerializer(test_base.TestCase):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a8ffd7b_64fb2fc2","line":442,"in_reply_to":"9a8ffd7b_77cf7629","updated":"2015-11-27 01:45:57.000000000","message":"Yes, there is another patch for the doc work:\n* https://review.openstack.org/#/c/248647/","commit_id":"cbe209bd360ff4d778b8a8de1d9973f1993f2b40"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"dbdfe69f1ba52211e7248449517d1f1a95255597","unresolved":false,"context_lines":[{"line_number":439,"context_line":"        expect, actual \u003d checker.test_hashes(expect_object_fingerprints)"},{"line_number":440,"context_line":"        self.assertEqual(expect, actual,"},{"line_number":441,"context_line":"                         \"Fields or remotable methods are modified without \""},{"line_number":442,"context_line":"                         \"a fingerprint change for some objects. \")"},{"line_number":443,"context_line":""},{"line_number":444,"context_line":""},{"line_number":445,"context_line":"class TestObjectSerializer(test_base.TestCase):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a8ffd7b_246a0782","line":442,"in_reply_to":"9a8ffd7b_b0877b60","updated":"2015-11-27 01:45:57.000000000","message":"Thanks for this, it\u0027s much better.","commit_id":"cbe209bd360ff4d778b8a8de1d9973f1993f2b40"},{"author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"change_message_id":"81c9a690996fc844195aa99b9532d5026cea8fd2","unresolved":false,"context_lines":[{"line_number":439,"context_line":"        expect, actual \u003d checker.test_hashes(expect_object_fingerprints)"},{"line_number":440,"context_line":"        self.assertEqual(expect, actual,"},{"line_number":441,"context_line":"                         \"Fields or remotable methods are modified without \""},{"line_number":442,"context_line":"                         \"a fingerprint change for some objects. \")"},{"line_number":443,"context_line":""},{"line_number":444,"context_line":""},{"line_number":445,"context_line":"class TestObjectSerializer(test_base.TestCase):"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a8ffd7b_77cf7629","line":442,"in_reply_to":"9a8ffd7b_b0877b60","updated":"2015-11-26 14:33:51.000000000","message":"There should also be some info or even documentation about the need to keep compatibility between those versions. The obj_make_compatible method should be changed to be able to convert to the older version.\n\nhttp://docs.openstack.org/developer/oslo.versionedobjects/api/base.html#oslo_versionedobjects.base.VersionedObject.obj_make_compatible","commit_id":"cbe209bd360ff4d778b8a8de1d9973f1993f2b40"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"f654beecef01b9cdd22855945042653b74256195","unresolved":false,"context_lines":[{"line_number":417,"context_line":"    pass"},{"line_number":418,"context_line":""},{"line_number":419,"context_line":""},{"line_number":420,"context_line":"# The hashes are help developers to check if the change of objects need a"},{"line_number":421,"context_line":"# version bump. It is md5 hash of object fields and remotable methods."},{"line_number":422,"context_line":"# The fingerprint values should only be changed if there is a version bump."},{"line_number":423,"context_line":"expected_object_fingerprints \u003d {"}],"source_content_type":"text/x-python","patch_set":2,"id":"9a8ffd7b_a47a2575","line":420,"updated":"2015-11-30 11:18:01.000000000","message":"\"The hashes help\"","commit_id":"74bd3b18659daf7571f8addbd870b48e614e1f73"}]}
