)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":13157,"name":"Zhao Chao","email":"zhaochao1984@gmail.com","username":"zhaochao"},"change_message_id":"896d1ed24778d194a1a335e5870af87b68c2c880","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     jiansong \u003cjian.song@easystack.cn\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-01-31 01:51:18 -0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix gate error"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Looks like SQLAlchemy in version 1.2.x checks if the boolean value"},{"line_number":10,"context_line":"is None, True, False, 1, or 0. We used a \"1\" in our test, which"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"5f93b717_448537ce","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":14},"updated":"2018-01-31 12:49:58.000000000","message":"Didn\u0027t find the glue about the gate error, I think it would be good to use more detailed explanation.","commit_id":"21dcb414e5286e84793db7ffa783cc7546c4d39c"},{"author":{"_account_id":13157,"name":"Zhao Chao","email":"zhaochao1984@gmail.com","username":"zhaochao"},"change_message_id":"896d1ed24778d194a1a335e5870af87b68c2c880","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix gate error"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Looks like SQLAlchemy in version 1.2.x checks if the boolean value"},{"line_number":10,"context_line":"is None, True, False, 1, or 0. We used a \"1\" in our test, which"},{"line_number":11,"context_line":"does not seem to meet the requirements. In the meantime, if we"},{"line_number":12,"context_line":"change it to 1 here, our function section needs to be changed"},{"line_number":13,"context_line":"as well."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I8df2118fee12fd9dd02caf96a23bc59652efbed7"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"5f93b717_44d3f7d5","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":8},"updated":"2018-01-31 12:49:58.000000000","message":"I did some tests for SQLAlchemy 1.2.2, \"datastore_version_update\" still works as expected. \n\nI also found this:\nhttps://dev.mysql.com/doc/refman/5.7/en/type-conversion.html\n\nMySQL will convert strings to numbers implicitly, I think many other database engine should do similar things like this.\n\nSo I think this may not be the root cause for the gate job failures. But this fix is valid for trove-manage, we should use int(or boolean) to update database because \u0027active\u0027 is defined as a boolean column.","commit_id":"21dcb414e5286e84793db7ffa783cc7546c4d39c"}]}
