)]}'
{"playbooks/roles/gitea/templates/app.ini.j2":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"2d886f0b6bb8e0b03f7bf6cc48ff7e23b9ea26df","unresolved":true,"context_lines":[{"line_number":38,"context_line":"ROOT \u003d /data/git/repositories"},{"line_number":39,"context_line":"DISABLED_REPO_UNITS \u003d repo.issues,repo.pulls,repo.wiki,repo.projects,repo.actions"},{"line_number":40,"context_line":"DISABLE_STARS \u003d true"},{"line_number":41,"context_line":"DISABLE_MIGRATIONS \u003d true"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"[git]"},{"line_number":44,"context_line":"; Implemented in 1.16 but broke older git clients. Now expected to work"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"3fd60ae7_67fbcb76","line":41,"updated":"2025-06-05 16:23:34.000000000","message":"We can set `DISABLE_DOWNLOAD_SOURCE_ARCHIVES \u003d true` to disable the download archive links in Gitea web. Then we don\u0027t need to do special regex magic in apache.","commit_id":"21a8f716c4ad7d960afd12f76e9dfb6aea5ff1f5"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"210ab71b4c5c33ae32c7c92b2c7f39e9d97bb2c4","unresolved":false,"context_lines":[{"line_number":38,"context_line":"ROOT \u003d /data/git/repositories"},{"line_number":39,"context_line":"DISABLED_REPO_UNITS \u003d repo.issues,repo.pulls,repo.wiki,repo.projects,repo.actions"},{"line_number":40,"context_line":"DISABLE_STARS \u003d true"},{"line_number":41,"context_line":"DISABLE_MIGRATIONS \u003d true"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"[git]"},{"line_number":44,"context_line":"; Implemented in 1.16 but broke older git clients. Now expected to work"}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"8ef9a2d1_365123d5","line":41,"in_reply_to":"3fd60ae7_67fbcb76","updated":"2025-06-05 16:53:24.000000000","message":"Done","commit_id":"21a8f716c4ad7d960afd12f76e9dfb6aea5ff1f5"}],"playbooks/roles/gitea/templates/gitea.vhost.j2":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"08ac6befabbb107f20895e3b5ae3ff30e7f1b533","unresolved":true,"context_lines":[{"line_number":41,"context_line":"  # parse them properly"},{"line_number":42,"context_line":"  ProxyAddHeaders Off"},{"line_number":43,"context_line":"  ProxyPass  /.well-known/ !"},{"line_number":44,"context_line":"  ProxyPassMatch \".*/archive/.+\\.(tar\\.gz|zip)$\" !"},{"line_number":45,"context_line":"  ProxyPass  / https://{{ inventory_hostname }}:3000/ retry\u003d0"},{"line_number":46,"context_line":"  ProxyPassReverse / https://{{ inventory_hostname }}:3000/"},{"line_number":47,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":3,"id":"f4b75f07_e18266c5","line":44,"updated":"2025-06-05 16:05:02.000000000","message":"I think this regex may accidentally match if repos have directories in them called archive and then in those dirs have .tar.gz or zip files. There are also .bundle files.\n\nI think we should do something like `/[^/]+/[^/]+/archive/.+\\.(tar\\.gz|zip|bundle)$`","commit_id":"21a8f716c4ad7d960afd12f76e9dfb6aea5ff1f5"}]}
