From 325333016effef19b70efbb399a23cabce737dd1 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 20 Apr 2022 16:47:02 -0700 Subject: [PATCH] Upgrade Gitea to 1.16.6 This update brings a number of bugfixes. The most visible to us is it should fix partial clones for older clients. This means we can reenable partial cloning again. Note that we have testing of partial clones which should detect if this is working for us. There are no template diffs for the three template files we override between 1.16.5 and 1.16.6. The release notes can be found at: https://github.com/go-gitea/gitea/blob/v1.16.6/CHANGELOG.md#1166---2022-04-20 Change-Id: Ie5b6a3bcd73f135fe8914b55896a3a428a41dccc --- docker/gitea/Dockerfile | 2 +- playbooks/roles/gitea/templates/app.ini.j2 | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docker/gitea/Dockerfile b/docker/gitea/Dockerfile index 6e2d7d478d..5c735202c0 100644 --- a/docker/gitea/Dockerfile +++ b/docker/gitea/Dockerfile @@ -27,7 +27,7 @@ FROM docker.io/library/golang:1.18-bullseye AS build-env LABEL maintainer="infra-root@openstack.org" -ARG GITEA_VERSION="v1.16.5" +ARG GITEA_VERSION="v1.16.6" ENV TAGS "bindata $TAGS" #Build deps diff --git a/playbooks/roles/gitea/templates/app.ini.j2 b/playbooks/roles/gitea/templates/app.ini.j2 index f476ffc6b6..2358f48339 100644 --- a/playbooks/roles/gitea/templates/app.ini.j2 +++ b/playbooks/roles/gitea/templates/app.ini.j2 @@ -35,8 +35,10 @@ DISABLED_REPO_UNITS = repo.issues,repo.pulls,repo.wiki,repo.projects DISABLE_STARS = true [git] -; Implemented in 1.16 but breaks pip install when using older Git clients -DISABLE_PARTIAL_CLONE = true +; Implemented in 1.16 but broke older git clients. Now expected to work +; but we keep explicit config in place should it need to be toggled back +; to true again. +DISABLE_PARTIAL_CLONE = false [indexer] ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve