diff --git a/README.md b/README.md index 5d9dfd3..a1903ac 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Shipped version:** 1.20.5~ynh1 +**Shipped version:** 1.21.0~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 97290d5..1df3ef0 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Version incluse :** 1.20.5~ynh1 +**Version incluse :** 1.21.0~ynh1 ## Captures d’écran diff --git a/conf/app.ini b/conf/app.ini index 5486c32..81e646a 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -62,18 +62,23 @@ PROVIDER = memory MODE = file LEVEL = Info ROOT_PATH = /var/log/__APP__ +logger.access.MODE = +logger.router.MODE = router +logger.xorm.MODE = xorm REDIRECT_MACARON_LOG= true MACARON = file -ROUTER_LOG_LEVEL = Warn -ROUTER = file +[log.file] +FILE_NAME = gitea.log -ENABLE_ACCESS_LOG = Warn -ACCESS = file +[log.router] +FILE_NAME = router.log +LEVEL = Warn -ENABLE_XORM_LOG = Warn -XORM = file +[log.xorm] +FILE_NAME = xorm.log +LEVEL = Warn [security] INSTALL_LOCK = true diff --git a/conf/source/arm.src b/conf/source/arm.src index 5aeddfc..f374e3c 100644 --- a/conf/source/arm.src +++ b/conf/source/arm.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm-6 -SOURCE_SUM=9d2312367c8cc06f85dc29d7a5901d32ef2128f182a343a0c30a84a8292781ab +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.21.0/gitea-1.21.0-linux-arm-6 +SOURCE_SUM=fe91ea3d2b72b8894320b6a478da7d098be566663a8a844d50aff92479c56c02 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64.src b/conf/source/arm64.src index f71b680..42542c1 100644 --- a/conf/source/arm64.src +++ b/conf/source/arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm64 -SOURCE_SUM=4ebd424505df2a88c9741e23408bd0329721b1d2539b589950de4f109196a43d +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.21.0/gitea-1.21.0-linux-arm64 +SOURCE_SUM=255989e3a4e3305bb0c497b6133ae0596c644dd785eab0af11c167b45a1f0716 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64_1.20.src b/conf/source/arm64_1.20.src new file mode 100644 index 0000000..f71b680 --- /dev/null +++ b/conf/source/arm64_1.20.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm64 +SOURCE_SUM=4ebd424505df2a88c9741e23408bd0329721b1d2539b589950de4f109196a43d +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.20.src b/conf/source/arm_1.20.src new file mode 100644 index 0000000..5aeddfc --- /dev/null +++ b/conf/source/arm_1.20.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm-6 +SOURCE_SUM=9d2312367c8cc06f85dc29d7a5901d32ef2128f182a343a0c30a84a8292781ab +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index f107b3f..0e3b8a6 100644 --- a/conf/source/armv7.src +++ b/conf/source/armv7.src @@ -1,8 +1,8 @@ # The armv7 build is brocken # See : https://github.com/go-gitea/gitea/issues/6700 # Use temporary the armv6 binary -SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm-6 -SOURCE_SUM=9d2312367c8cc06f85dc29d7a5901d32ef2128f182a343a0c30a84a8292781ab +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.21.0/gitea-1.21.0-linux-arm-6 +SOURCE_SUM=fe91ea3d2b72b8894320b6a478da7d098be566663a8a844d50aff92479c56c02 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.20.src b/conf/source/armv7_1.20.src new file mode 100644 index 0000000..f107b3f --- /dev/null +++ b/conf/source/armv7_1.20.src @@ -0,0 +1,8 @@ +# The armv7 build is brocken +# See : https://github.com/go-gitea/gitea/issues/6700 +# Use temporary the armv6 binary +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-arm-6 +SOURCE_SUM=9d2312367c8cc06f85dc29d7a5901d32ef2128f182a343a0c30a84a8292781ab +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index e167ee0..ae7806a 100644 --- a/conf/source/i386.src +++ b/conf/source/i386.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-386 -SOURCE_SUM=2a0dff4c14d7d08008feb009284cc10599a0c19090b0b6d82d57d8ca87e53f12 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.21.0/gitea-1.21.0-linux-386 +SOURCE_SUM=c4b0e4869fa48c7279ccff33fde0d9da8ca9855bd639a29c421805a08696566c SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.20.src b/conf/source/i386_1.20.src new file mode 100644 index 0000000..e167ee0 --- /dev/null +++ b/conf/source/i386_1.20.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-386 +SOURCE_SUM=2a0dff4c14d7d08008feb009284cc10599a0c19090b0b6d82d57d8ca87e53f12 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/x86-64.src b/conf/source/x86-64.src index 78b492d..88cede1 100644 --- a/conf/source/x86-64.src +++ b/conf/source/x86-64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-amd64 -SOURCE_SUM=ae8d21f36098a62272fcfa67ecbb567d0ba6cf5aecaaab29a6b98a407d435bdf +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.21.0/gitea-1.21.0-linux-amd64 +SOURCE_SUM=ff8aecf97f66f4a3ec55532f26716612457738b93f5f667124fdd6c59fddd735 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.20.src b/conf/source/x86-64_1.20.src new file mode 100644 index 0000000..78b492d --- /dev/null +++ b/conf/source/x86-64_1.20.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.5/gitea-1.20.5-linux-amd64 +SOURCE_SUM=ae8d21f36098a62272fcfa67ecbb567d0ba6cf5aecaaab29a6b98a407d435bdf +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index 1d72aba..35ae07b 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.20.5~ynh1", + "version": "1.21.0~ynh1", "maintainer": { "name": "Josué Tille", "email": "josue@tille.ch" diff --git a/scripts/upgrade b/scripts/upgrade index 2a00a83..bcd1d13 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -245,6 +245,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.19 restart_gitea ;& +"1.19."* ) + ynh_setup_source $final_path source/${architecture}_1.20 + restart_gitea +;& esac # Install gitea source