)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"3d65626d287caf6b9c6274b638343dfd548d491e","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Tomer Shtilman \u003ctomer.shtilman@alcatel-lucent.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-11-01 13:01:10 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Wrap sync_db oprtaions in transactions"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"  Fix for fail on failed to find system actions"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1a26ad4f_e2238556","line":7,"updated":"2015-11-03 03:44:34.000000000","message":"operations","commit_id":"aa1a2768fbc2f53f28dbd8f8a97dbef70008b520"}],"mistral/services/action_manager.py":[{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"66acc4899bf5e27bd78e138f69c098aecd616c3b","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        namespace\u003d\u0027mistral.actions\u0027,"},{"line_number":108,"context_line":"        invoke_on_load\u003dFalse"},{"line_number":109,"context_line":"    )"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    with db_api.transaction():"},{"line_number":112,"context_line":"        for name in mgr.names():"},{"line_number":113,"context_line":"            action_class_str \u003d mgr[name].entry_point_target.replace(\u0027:\u0027, \u0027.\u0027)"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a26ad4f_87741b68","line":110,"updated":"2015-11-03 08:59:39.000000000","message":"register_action_classes creates its own transaction and therefore it cannot be done (transaction in transaction is not allowed).","commit_id":"34c13a1e7352932d899fc01e93e64623fa277d46"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"bff74cd4878c9fcd5c48c3db6c416b89b95ba0ba","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    for action_path in action_paths:"},{"line_number":44,"context_line":"        action_definition \u003d open(action_path).read()"},{"line_number":45,"context_line":"        actions.update_actions(action_definition, scope\u003d\u0027public\u0027,"},{"line_number":46,"context_line":"                               run_in_tx\u003dFalse)"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":12,"id":"da85f559_114ab155","line":45,"updated":"2015-11-11 08:40:42.000000000","message":"Please use format\n\n  actions.update_actions(\n      action_definition,\n      scope\u003d\u0027public\u0027,\n      run_in_tx\u003dFalse\n  )","commit_id":"13d4258bd182457746b08afd85b92d4215e45703"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"9576835b1179a91abe729596cc24158a2e321351","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    for action_path in action_paths:"},{"line_number":44,"context_line":"        action_definition \u003d open(action_path).read()"},{"line_number":45,"context_line":"        actions.update_actions(action_definition,"},{"line_number":46,"context_line":"                               scope\u003d\u0027public\u0027,"},{"line_number":47,"context_line":"                               run_in_tx\u003dFalse"},{"line_number":48,"context_line":"                               )"}],"source_content_type":"text/x-python","patch_set":23,"id":"da85f559_bae49aab","line":45,"updated":"2015-11-12 10:37:07.000000000","message":"please please use format\n  method(\n      arg1,\n      arg2,\n      ...,\n      argN\n  )","commit_id":"30547c656bbb1efabc80868f977ea81cffa084e8"}],"mistral/services/actions.py":[{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"bff74cd4878c9fcd5c48c3db6c416b89b95ba0ba","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    return db_actions"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"def apend_all_actions(action_list_spec, db_actions, definition, scope):"},{"line_number":50,"context_line":"    for action_spec in action_list_spec.get_actions():"},{"line_number":51,"context_line":"        db_actions.append("},{"line_number":52,"context_line":"            create_or_update_action("}],"source_content_type":"text/x-python","patch_set":12,"id":"da85f559_116151d3","line":49,"updated":"2015-11-11 08:40:42.000000000","message":"I think this function should be protected.","commit_id":"13d4258bd182457746b08afd85b92d4215e45703"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"9576835b1179a91abe729596cc24158a2e321351","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    if run_in_tx:"},{"line_number":40,"context_line":"        with db_api.transaction():"},{"line_number":41,"context_line":"            db_actions \u003d _apend_all_actions(action_list_spec,"},{"line_number":42,"context_line":"                                            db_actions,"},{"line_number":43,"context_line":"                                            definition,"},{"line_number":44,"context_line":"                                            scope"}],"source_content_type":"text/x-python","patch_set":23,"id":"da85f559_da487eb5","line":41,"updated":"2015-11-12 10:37:07.000000000","message":"please please use format\n  method(\n      arg1,\n      arg2,\n      ...,\n      argN\n  )","commit_id":"30547c656bbb1efabc80868f977ea81cffa084e8"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"9576835b1179a91abe729596cc24158a2e321351","unresolved":false,"context_lines":[{"line_number":44,"context_line":"                                            scope"},{"line_number":45,"context_line":"                                            )"},{"line_number":46,"context_line":"    else:"},{"line_number":47,"context_line":"        db_actions \u003d _apend_all_actions(action_list_spec,"},{"line_number":48,"context_line":"                                        db_actions,"},{"line_number":49,"context_line":"                                        definition,"},{"line_number":50,"context_line":"                                        scope"}],"source_content_type":"text/x-python","patch_set":23,"id":"da85f559_3ad0aac8","line":47,"updated":"2015-11-12 10:37:07.000000000","message":"please please use format\n  method(\n      arg1,\n      arg2,\n      ...,\n      argN\n  )","commit_id":"30547c656bbb1efabc80868f977ea81cffa084e8"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"7f06b177edaafe4a2aefcd975c231d5d2ada4fae","unresolved":false,"context_lines":[{"line_number":51,"context_line":"            definition,"},{"line_number":52,"context_line":"            scope"},{"line_number":53,"context_line":"        )"},{"line_number":54,"context_line":"    return db_actions"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"def _apend_all_actions(action_list_spec, db_actions, definition, scope):"}],"source_content_type":"text/x-python","patch_set":25,"id":"ba8a016a_281271b5","line":54,"updated":"2015-11-16 15:05:06.000000000","message":"Soft: we usually insert a blank line before any control structures like \"return\".","commit_id":"d1952bc427eefdc32f72f88ad188690112f85705"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"7f06b177edaafe4a2aefcd975c231d5d2ada4fae","unresolved":false,"context_lines":[{"line_number":54,"context_line":"    return db_actions"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"def _apend_all_actions(action_list_spec, db_actions, definition, scope):"},{"line_number":58,"context_line":"    for action_spec in action_list_spec.get_actions():"},{"line_number":59,"context_line":"        db_actions.append("},{"line_number":60,"context_line":"            create_or_update_action("}],"source_content_type":"text/x-python","patch_set":25,"id":"ba8a016a_08ed2d8b","line":57,"updated":"2015-11-16 15:05:06.000000000","message":"I hate to -1 for such a small typo but my conscience doesn\u0027t allow me to ignore it.\n\nPlease change \"apend\" to \"append\", will do turn around quickly on reviewing this patch.","commit_id":"d1952bc427eefdc32f72f88ad188690112f85705"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"7f06b177edaafe4a2aefcd975c231d5d2ada4fae","unresolved":false,"context_lines":[{"line_number":63,"context_line":"                scope"},{"line_number":64,"context_line":"            )"},{"line_number":65,"context_line":"        )"},{"line_number":66,"context_line":"    return db_actions"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"def create_action(action_spec, definition, scope):"}],"source_content_type":"text/x-python","patch_set":25,"id":"ba8a016a_a8266114","line":66,"updated":"2015-11-16 15:05:06.000000000","message":"Soft: we usually insert a blank line before any control structures like \"return\".","commit_id":"d1952bc427eefdc32f72f88ad188690112f85705"}],"mistral/services/workflows.py":[{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"a358413d4da02cf2d535a444cdc6606b20aabb09","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    for wf_path in workflow_paths:"},{"line_number":28,"context_line":"        workflow_definition \u003d open(wf_path).read()"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"        create_workflows(workflow_definition,"},{"line_number":31,"context_line":"                         scope\u003d\u0027public\u0027,"},{"line_number":32,"context_line":"                         is_system\u003dTrue,"},{"line_number":33,"context_line":"                         run_in_tx\u003drun_in_tx)"}],"source_content_type":"text/x-python","patch_set":21,"id":"da85f559_467b5d7b","line":30,"updated":"2015-11-12 09:17:39.000000000","message":"please use format\n\n  method(\n      arg1,\n      arg2,\n      ...,\n      argN\n  )","commit_id":"8ce3ebed3ca270ebdd4ca0728f3c3b076c652e43"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"a358413d4da02cf2d535a444cdc6606b20aabb09","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    db_wfs \u003d []"},{"line_number":50,"context_line":"    if run_in_tx:"},{"line_number":51,"context_line":"        with db_api.transaction():"},{"line_number":52,"context_line":"            _append_all_workflows(definition,"},{"line_number":53,"context_line":"                                  is_system,"},{"line_number":54,"context_line":"                                  scope,"},{"line_number":55,"context_line":"                                  wf_list_spec,"}],"source_content_type":"text/x-python","patch_set":21,"id":"da85f559_667ea16b","line":52,"updated":"2015-11-12 09:17:39.000000000","message":"please use format\n\n  method(\n      arg1,\n      arg2,\n      ...,\n      argN\n  )","commit_id":"8ce3ebed3ca270ebdd4ca0728f3c3b076c652e43"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"a358413d4da02cf2d535a444cdc6606b20aabb09","unresolved":false,"context_lines":[{"line_number":55,"context_line":"                                  wf_list_spec,"},{"line_number":56,"context_line":"                                  db_wfs)"},{"line_number":57,"context_line":"    else:"},{"line_number":58,"context_line":"        _append_all_workflows(definition,"},{"line_number":59,"context_line":"                              is_system,"},{"line_number":60,"context_line":"                              scope,"},{"line_number":61,"context_line":"                              wf_list_spec,"}],"source_content_type":"text/x-python","patch_set":21,"id":"da85f559_c68f4d73","line":58,"updated":"2015-11-12 09:17:39.000000000","message":"please use format\n\n  method(\n      arg1,\n      arg2,\n      ...,\n      argN\n  )","commit_id":"8ce3ebed3ca270ebdd4ca0728f3c3b076c652e43"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"9576835b1179a91abe729596cc24158a2e321351","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    for wf_path in workflow_paths:"},{"line_number":28,"context_line":"        workflow_definition \u003d open(wf_path).read()"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"        create_workflows(workflow_definition,"},{"line_number":31,"context_line":"                         scope\u003d\u0027public\u0027,"},{"line_number":32,"context_line":"                         is_system\u003dTrue,"},{"line_number":33,"context_line":"                         run_in_tx\u003drun_in_tx"}],"source_content_type":"text/x-python","patch_set":23,"id":"da85f559_fa578255","line":30,"updated":"2015-11-12 10:37:07.000000000","message":"please please use format\n  method(\n      arg1,\n      arg2,\n      ...,\n      argN\n  )","commit_id":"30547c656bbb1efabc80868f977ea81cffa084e8"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"9576835b1179a91abe729596cc24158a2e321351","unresolved":false,"context_lines":[{"line_number":50,"context_line":"    db_wfs \u003d []"},{"line_number":51,"context_line":"    if run_in_tx:"},{"line_number":52,"context_line":"        with db_api.transaction():"},{"line_number":53,"context_line":"            _append_all_workflows(definition,"},{"line_number":54,"context_line":"                                  is_system,"},{"line_number":55,"context_line":"                                  scope,"},{"line_number":56,"context_line":"                                  wf_list_spec,"}],"source_content_type":"text/x-python","patch_set":23,"id":"da85f559_ba76da03","line":53,"updated":"2015-11-12 10:37:07.000000000","message":"as I said before, please please use format\n\n  method(\n      arg1,\n      arg2,\n      ...,\n      argN\n  )","commit_id":"30547c656bbb1efabc80868f977ea81cffa084e8"},{"author":{"_account_id":7700,"name":"Nikolay Mahotkin","email":"nikolay.makhotkin@gmail.com","username":"nmakhotkin"},"change_message_id":"9576835b1179a91abe729596cc24158a2e321351","unresolved":false,"context_lines":[{"line_number":57,"context_line":"                                  db_wfs"},{"line_number":58,"context_line":"                                  )"},{"line_number":59,"context_line":"    else:"},{"line_number":60,"context_line":"        _append_all_workflows(definition,"},{"line_number":61,"context_line":"                              is_system,"},{"line_number":62,"context_line":"                              scope,"},{"line_number":63,"context_line":"                              wf_list_spec,"}],"source_content_type":"text/x-python","patch_set":23,"id":"da85f559_3a598a8e","line":60,"updated":"2015-11-12 10:37:07.000000000","message":"please please use format\n  method(\n      arg1,\n      arg2,\n      ...,\n      argN\n  )","commit_id":"30547c656bbb1efabc80868f977ea81cffa084e8"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"7f06b177edaafe4a2aefcd975c231d5d2ada4fae","unresolved":false,"context_lines":[{"line_number":27,"context_line":"    for wf_path in workflow_paths:"},{"line_number":28,"context_line":"        workflow_definition \u003d open(wf_path).read()"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"        create_workflows(workflow_definition,"},{"line_number":31,"context_line":"                         scope\u003d\u0027public\u0027,"},{"line_number":32,"context_line":"                         is_system\u003dTrue,"},{"line_number":33,"context_line":"                         run_in_tx\u003drun_in_tx"}],"source_content_type":"text/x-python","patch_set":25,"id":"ba8a016a_484fb592","line":30,"updated":"2015-11-16 15:05:06.000000000","message":"Soft: please use form\n\ncreate_workflows(\n    workflow_definition,\n   ...\n)","commit_id":"d1952bc427eefdc32f72f88ad188690112f85705"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"7f06b177edaafe4a2aefcd975c231d5d2ada4fae","unresolved":false,"context_lines":[{"line_number":48,"context_line":"                     run_in_tx\u003dTrue):"},{"line_number":49,"context_line":"    wf_list_spec \u003d spec_parser.get_workflow_list_spec_from_yaml(definition)"},{"line_number":50,"context_line":"    db_wfs \u003d []"},{"line_number":51,"context_line":"    if run_in_tx:"},{"line_number":52,"context_line":"        with db_api.transaction():"},{"line_number":53,"context_line":"            _append_all_workflows("},{"line_number":54,"context_line":"                definition,"}],"source_content_type":"text/x-python","patch_set":25,"id":"ba8a016a_486815f6","line":51,"updated":"2015-11-16 15:05:06.000000000","message":"Soft: add a blank line before \"if\".","commit_id":"d1952bc427eefdc32f72f88ad188690112f85705"}]}
