)]}'
{"playbooks/roles/gitea-git-repos/library/gitea_create_repos.py":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"6180cab78b2dcb075f57e2a006a8a3e37c343023","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        resp \u003d self.get(\u0027/\u0027)"},{"line_number":94,"context_line":"        return urllib.parse.unquote(resp.cookies.get(\u0027_csrf\u0027))"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    def make_gitea_project(self, project, csrf_token, create_project\u003dTrue):"},{"line_number":97,"context_line":"        org, repo \u003d project[\u0027project\u0027].split(\u0027/\u0027, 1)"},{"line_number":98,"context_line":"        if create_project:"},{"line_number":99,"context_line":"            resp \u003d self.post("}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_ebdd1a70","line":96,"range":{"start_line":96,"start_character":54,"end_line":96,"end_character":73},"updated":"2019-07-15 22:25:07.000000000","message":"Is this flag necessary? We only call this function if we set create_project to True.","commit_id":"f4911b5caff62dc70a4f2d925cc54b44831f8b33"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"08510399bd7b48c81029372eecc9c47e999013bf","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        resp \u003d self.get(\u0027/\u0027)"},{"line_number":94,"context_line":"        return urllib.parse.unquote(resp.cookies.get(\u0027_csrf\u0027))"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    def make_gitea_project(self, project, csrf_token, create_project\u003dTrue):"},{"line_number":97,"context_line":"        org, repo \u003d project[\u0027project\u0027].split(\u0027/\u0027, 1)"},{"line_number":98,"context_line":"        if create_project:"},{"line_number":99,"context_line":"            resp \u003d self.post("}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_0bc43690","line":96,"updated":"2019-07-15 22:27:04.000000000","message":"We call it if we need to create or we have \u0027always_update\u0027 set to true.  So the key here is we can set always_update to true, it will call this method, skip the create, but still do the issue tracker and branch steps.","commit_id":"f4911b5caff62dc70a4f2d925cc54b44831f8b33"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"eeadedb879976961fd0724bc99d27c69aec27108","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        resp \u003d self.get(\u0027/\u0027)"},{"line_number":94,"context_line":"        return urllib.parse.unquote(resp.cookies.get(\u0027_csrf\u0027))"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    def make_gitea_project(self, project, csrf_token, create_project\u003dTrue):"},{"line_number":97,"context_line":"        org, repo \u003d project[\u0027project\u0027].split(\u0027/\u0027, 1)"},{"line_number":98,"context_line":"        if create_project:"},{"line_number":99,"context_line":"            resp \u003d self.post("}],"source_content_type":"text/x-python","patch_set":1,"id":"7faddb67_cb67feb6","line":96,"in_reply_to":"7faddb67_0bc43690","updated":"2019-07-15 22:30:30.000000000","message":"But in the call on line 168 which handles the always_update case we hardcode this value to True.\n\nI think maybe what we want to do is modify the code around line 168 to be:\n\n\n  if create or self.always_update:\n      self.make_gitea_project(project, csrf_token, create)","commit_id":"f4911b5caff62dc70a4f2d925cc54b44831f8b33"}]}
