)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7872,"name":"Marc Koderer","email":"marc@koderer.com","username":"mkoderer"},"change_message_id":"6917565228919069ed8ad35856d79c10d21fa3d6","unresolved":false,"context_lines":[{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Depends-On: I24fbf16d0bcbe5ca9780770212b511f49927303d"},{"line_number":15,"context_line":"Depends-On: Id0562a6836878385912c8d6a95ed1bbc54f5ea77"},{"line_number":16,"context_line":"Depends-On: I351f90a60e4693300cc3d3bbd1183bd8fa6acc9a"},{"line_number":17,"context_line":"Change-Id: I61e366969385aa044aea9d9678fbc91d32325497"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":16,"id":"5a74a57a_48d4ddea","line":16,"range":{"start_line":16,"start_character":12,"end_line":16,"end_character":53},"updated":"2016-11-29 12:41:33.000000000","message":"Already merged","commit_id":"484746c23ad3f30dd92ce9db2de7801bc64231a2"}],"HACKING.rst":[{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"0215117f621b5b2a789e546be9bfdadf04b5cd58","unresolved":false,"context_lines":[{"line_number":16,"context_line":"- [B314] str() and unicode() cannot be used on an exception. Remove or use six.text_type()."},{"line_number":17,"context_line":"- [B315] Translated messages cannot be concatenated.  String should be"},{"line_number":18,"context_line":"  included in translated message."},{"line_number":19,"context_line":"- [B316] LOG.critical messages require translations _LC()!"},{"line_number":20,"context_line":"- [B316] LOG.error and LOG.exception messages require translations _LE()!"},{"line_number":21,"context_line":"- [B317] LOG.info messages require translations _LI()!"},{"line_number":22,"context_line":"- [B318] LOG.warning messages require translations _LW()!"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a77a97e_9d8d447e","line":19,"updated":"2016-11-14 22:09:02.000000000","message":"B316 is listed twice here, the LOG.critical message is listed as B327 in the code","commit_id":"f8e3fe15195728ea25c636017a2d63cf210c9bf8"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"0215117f621b5b2a789e546be9bfdadf04b5cd58","unresolved":false,"context_lines":[{"line_number":24,"context_line":"- [B320] \u0027oslo_\u0027 should be used instead of \u0027oslo.\u0027"},{"line_number":25,"context_line":"- [B321] Must use a dict comprehension instead of a dict constructor"},{"line_number":26,"context_line":"  with a sequence of key-value pairs."},{"line_number":27,"context_line":"- [B322] Ensure to not use xrange()."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"LOG Translations"},{"line_number":30,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a77a97e_fdf2b805","line":27,"updated":"2016-11-14 22:09:02.000000000","message":"There was also a B388 in the code","commit_id":"f8e3fe15195728ea25c636017a2d63cf210c9bf8"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"0215117f621b5b2a789e546be9bfdadf04b5cd58","unresolved":false,"context_lines":[{"line_number":87,"context_line":"  description of the change, not just a reference to a bug or"},{"line_number":88,"context_line":"  blueprint. It must be followed by a single blank line."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"  If the change relates to a specific driver (libvirt, xenapi, qpid, etc...),"},{"line_number":91,"context_line":"  begin the first line of the commit message with the driver name, lowercased,"},{"line_number":92,"context_line":"  followed by a colon."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"  Following your brief summary, provide a more detailed description of"},{"line_number":95,"context_line":"  the patch, manually wrapping the text at 72 characters. This"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a77a97e_0bd64dc5","line":92,"range":{"start_line":90,"start_character":2,"end_line":92,"end_character":22},"updated":"2016-11-14 22:09:02.000000000","message":"This isn\u0027t really relevant for Barbican.","commit_id":"f8e3fe15195728ea25c636017a2d63cf210c9bf8"}],"barbican/hacking/checks.py":[{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"0215117f621b5b2a789e546be9bfdadf04b5cd58","unresolved":false,"context_lines":[{"line_number":320,"context_line":""},{"line_number":321,"context_line":""},{"line_number":322,"context_line":"def no_log_warn_check(logical_line):"},{"line_number":323,"context_line":"    \"\"\"Disallow \u0027LOG.warn\u0027"},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"    B338"},{"line_number":326,"context_line":"    \"\"\""},{"line_number":327,"context_line":"    msg \u003d (\"B338: LOG.warn is deprecated, please use LOG.warning!\")"},{"line_number":328,"context_line":"    if re.match(no_log_warn, logical_line):"},{"line_number":329,"context_line":"        yield(0, msg)"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a77a97e_5dad6c30","line":326,"range":{"start_line":323,"start_character":0,"end_line":326,"end_character":7},"updated":"2016-11-14 22:09:02.000000000","message":"Please add comments to the rest of the checks so that they all look like this.","commit_id":"f8e3fe15195728ea25c636017a2d63cf210c9bf8"}],"barbican/tests/test_hacking.py":[{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"0215117f621b5b2a789e546be9bfdadf04b5cd58","unresolved":false,"context_lines":[{"line_number":283,"context_line":"            \"LOG.warning(\u0027This should not trigger LOG.warn\""},{"line_number":284,"context_line":"            \"hacking check.\u0027)\"))))"},{"line_number":285,"context_line":"        self.assertEqual(1, len(list(checks.no_log_warn_check("},{"line_number":286,"context_line":"            \"LOG.warn(\u0027We should not use LOG.wan\u0027)\"))))"}],"source_content_type":"text/x-python","patch_set":3,"id":"7a77a97e_7d778802","line":286,"range":{"start_line":286,"start_character":41,"end_line":286,"end_character":48},"updated":"2016-11-14 22:09:02.000000000","message":"nit: wan -\u003e warn","commit_id":"f8e3fe15195728ea25c636017a2d63cf210c9bf8"},{"author":{"_account_id":7872,"name":"Marc Koderer","email":"marc@koderer.com","username":"mkoderer"},"change_message_id":"6917565228919069ed8ad35856d79c10d21fa3d6","unresolved":false,"context_lines":[{"line_number":102,"context_line":"               \"\"\""},{"line_number":103,"context_line":"        self._assert_has_no_errors(code, checker)"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    @ddt.data(*checks.CheckLoggingFormatArgs.LOG_METHODS)"},{"line_number":106,"context_line":"    def test_logging_with_tuple_argument(self, log_method):"},{"line_number":107,"context_line":"        checker \u003d checks.CheckLoggingFormatArgs"},{"line_number":108,"context_line":"        code \u003d \"\"\""}],"source_content_type":"text/x-python","patch_set":16,"id":"5a74a57a_73fb4e47","line":105,"updated":"2016-11-29 12:41:33.000000000","message":"I like ddt - but are we sure to introduce it just because of this test? Can be done with for loop too.","commit_id":"484746c23ad3f30dd92ce9db2de7801bc64231a2"},{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"dfda6486e5a3fe065890e1dc95a48760f941de6e","unresolved":false,"context_lines":[{"line_number":102,"context_line":"               \"\"\""},{"line_number":103,"context_line":"        self._assert_has_no_errors(code, checker)"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    @ddt.data(*checks.CheckLoggingFormatArgs.LOG_METHODS)"},{"line_number":106,"context_line":"    def test_logging_with_tuple_argument(self, log_method):"},{"line_number":107,"context_line":"        checker \u003d checks.CheckLoggingFormatArgs"},{"line_number":108,"context_line":"        code \u003d \"\"\""}],"source_content_type":"text/x-python","patch_set":16,"id":"5a74a57a_74c33438","line":105,"in_reply_to":"5a74a57a_73fb4e47","updated":"2016-11-29 13:34:26.000000000","message":"Of course it can be replaced, but this makes the code more elegant using ddt.","commit_id":"484746c23ad3f30dd92ce9db2de7801bc64231a2"}],"test-requirements.txt":[{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"e924c20308751151ee2f1b9773027d4b084eb697","unresolved":false,"context_lines":[{"line_number":2,"context_line":"# of appearance. Changing the order has an impact on the overall integration"},{"line_number":3,"context_line":"# process, which may cause wedges in the gate later."},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# hacking should be first"},{"line_number":6,"context_line":"hacking\u003e\u003d0.12.0,\u003c0.13 # Apache-2.0"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"coverage\u003e\u003d4.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":13,"id":"7a77a97e_4cabb51e","line":5,"updated":"2016-11-22 15:14:03.000000000","message":"Is there a reason it needs to be first?  That would make a more helpful comment","commit_id":"f25d529c3dc7e45f72c567671501a6985d337349"},{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"576c490544a81f17928ca1b21eb8cb092baef77f","unresolved":false,"context_lines":[{"line_number":2,"context_line":"# of appearance. Changing the order has an impact on the overall integration"},{"line_number":3,"context_line":"# process, which may cause wedges in the gate later."},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# hacking should be first"},{"line_number":6,"context_line":"hacking\u003e\u003d0.12.0,\u003c0.13 # Apache-2.0"},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"coverage\u003e\u003d4.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":13,"id":"5a74a57a_850cf743","line":5,"in_reply_to":"7a77a97e_4cabb51e","updated":"2016-11-23 12:43:05.000000000","message":"Hacking already pins down pep8/pyflakes/flake8 [1], so we should install hacking first in case something else depends on them.\n[1] https://github.com/openstack-dev/hacking/blob/master/requirements.txt","commit_id":"f25d529c3dc7e45f72c567671501a6985d337349"}],"tox.ini":[{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"0215117f621b5b2a789e546be9bfdadf04b5cd58","unresolved":false,"context_lines":[{"line_number":85,"context_line":""},{"line_number":86,"context_line":"[hacking]"},{"line_number":87,"context_line":"import_exceptions \u003d"},{"line_number":88,"context_line":"  barbican.i18n"},{"line_number":89,"context_line":"local-check-factory \u003d barbican.hacking.checks.factory"}],"source_content_type":"text/x-properties","patch_set":3,"id":"7a77a97e_3df8b07c","line":88,"updated":"2016-11-14 22:09:02.000000000","message":"can this go on the previous line?","commit_id":"f8e3fe15195728ea25c636017a2d63cf210c9bf8"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"4762780ca01757807abc702406a1f15d04407de0","unresolved":false,"context_lines":[{"line_number":94,"context_line":"commands \u003d bindep test"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"[hacking]"},{"line_number":97,"context_line":"import_exceptions \u003d barbican.i18n"},{"line_number":98,"context_line":"local-check-factory \u003d barbican.hacking.checks.factory"}],"source_content_type":"text/x-properties","patch_set":16,"id":"3a71b18c_ea552c50","line":97,"updated":"2016-12-02 21:25:39.000000000","message":"Is this ever actually used?","commit_id":"484746c23ad3f30dd92ce9db2de7801bc64231a2"},{"author":{"_account_id":21797,"name":"Jeremy Liu","display_name":"Jeremy Liu","username":"liujiong"},"change_message_id":"d77ffa851ce65b2468d3f0f831cf569ecee46171","unresolved":false,"context_lines":[{"line_number":94,"context_line":"commands \u003d bindep test"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"[hacking]"},{"line_number":97,"context_line":"import_exceptions \u003d barbican.i18n"},{"line_number":98,"context_line":"local-check-factory \u003d barbican.hacking.checks.factory"}],"source_content_type":"text/x-properties","patch_set":16,"id":"3a71b18c_7bbac5c1","line":97,"in_reply_to":"3a71b18c_ea552c50","updated":"2016-12-03 11:28:01.000000000","message":"This is actually unused in barbican, I\u0027ve tested in my env. I will remove this line in next patch.","commit_id":"484746c23ad3f30dd92ce9db2de7801bc64231a2"}]}
