From edac8d2f4058717ca49370e53dddaf5da9e82d51 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 5 Jul 2023 19:49:16 +0000 Subject: [PATCH] Update gitea to 1.19.4 Gitea 1.19.4 patch update. Release notes can be found at: https://github.com/go-gitea/gitea/blob/v1.19.4/CHANGELOG.md There are no breaking changes listed since the 1.19.3 we're currently running, but one minor security improvement which is basically not relevant to us, as well as a number of bug fixes some of which may be (I skimmed and don't think any are but can't be certain). Mainly this merges one template update to keep our forked templates in line with upstream. Change-Id: Ibf49a7b5701a3bfbee91acb53485443ff3c29411 --- docker/gitea/Dockerfile | 2 +- docker/gitea/custom/templates/repo/header.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/gitea/Dockerfile b/docker/gitea/Dockerfile index 4b23615a89..3f12d5869e 100644 --- a/docker/gitea/Dockerfile +++ b/docker/gitea/Dockerfile @@ -29,7 +29,7 @@ FROM docker.io/library/golang:1.20-bullseye AS build-env LABEL maintainer="infra-root@openstack.org" -ARG GITEA_VERSION="v1.19.3" +ARG GITEA_VERSION="v1.19.4" ENV TAGS "bindata $TAGS" #Build deps diff --git a/docker/gitea/custom/templates/repo/header.tmpl b/docker/gitea/custom/templates/repo/header.tmpl index b742cd6cd7..2de6677903 100644 --- a/docker/gitea/custom/templates/repo/header.tmpl +++ b/docker/gitea/custom/templates/repo/header.tmpl @@ -39,7 +39,7 @@ {{end}} - {{if $.IsPullMirror}} + {{if and $.IsPullMirror $.Mirror}} {{$address := MirrorRemoteAddress $.Context . $.Mirror.GetRemoteName false}}
{{$.locale.Tr "repo.mirror_from"}} {{$address.Address}}
{{end}}