From 4140e987157485a528a0adb147c69b381e2b7962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 1 Feb 2022 22:05:20 +0100 Subject: [PATCH] Upgrade gitea to 1.16.0 --- README.md | 2 +- conf/source/arm.src | 4 ++-- conf/source/arm64.src | 4 ++-- conf/source/arm64_1.15.src | 5 +++++ conf/source/arm_1.15.src | 5 +++++ conf/source/armv7.src | 4 ++-- conf/source/armv7_1.15.src | 8 ++++++++ conf/source/i386.src | 4 ++-- conf/source/i386_1.15.src | 5 +++++ conf/source/x86-64.src | 4 ++-- conf/source/x86-64_1.15.src | 5 +++++ manifest.json | 2 +- scripts/upgrade | 4 ++++ 13 files changed, 44 insertions(+), 12 deletions(-) create mode 100644 conf/source/arm64_1.15.src create mode 100644 conf/source/arm_1.15.src create mode 100644 conf/source/armv7_1.15.src create mode 100644 conf/source/i386_1.15.src create mode 100644 conf/source/x86-64_1.15.src diff --git a/README.md b/README.md index 10923fc..42e2b83 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Overview Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to Github. -**Shipped version:** 1.15.10 +**Shipped version:** 1.16.0 Screenshots ----------- diff --git a/conf/source/arm.src b/conf/source/arm.src index 87ced71..00889c6 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.15.10/gitea-1.15.10-linux-arm-6 -SOURCE_SUM=a17871f8b1f24a4aaa3a67a4af0b65f6c1eea7d3cc81b388078a42dde4bef3ca +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.16.0/gitea-1.16.0-linux-arm-6 +SOURCE_SUM=02982a9e7ada8a8bb0c39dffdb77bbaa02e7a2200be80b2279ed246d1fde8caf SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64.src b/conf/source/arm64.src index 3a4a92b..1a2428f 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.15.10/gitea-1.15.10-linux-arm64 -SOURCE_SUM=7c839f7e19e6a394eebba197831c62a413a9725f34b6bff9d48dc63f4ef0b35c +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.16.0/gitea-1.16.0-linux-arm64 +SOURCE_SUM=53817cfc930ada617a904273bf14935625c3aae95092004428fb362912b959bb SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64_1.15.src b/conf/source/arm64_1.15.src new file mode 100644 index 0000000..13f65f7 --- /dev/null +++ b/conf/source/arm64_1.15.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.15.11/gitea-1.15.11-linux-arm64 +SOURCE_SUM=a41a702d24e463c44dbc57a30551938a5e4c9377995065aca07e9dfbb22d5afc +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.15.src b/conf/source/arm_1.15.src new file mode 100644 index 0000000..25f4ee1 --- /dev/null +++ b/conf/source/arm_1.15.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.15.11/gitea-1.15.11-linux-arm-6 +SOURCE_SUM=c60d364d8cb7e25b341cb7d9988cbc7b3485ff5aa994e021980dc47996a870f9 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index 03cab7c..4875cf2 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.15.10/gitea-1.15.10-linux-arm-6 -SOURCE_SUM=a17871f8b1f24a4aaa3a67a4af0b65f6c1eea7d3cc81b388078a42dde4bef3ca +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.16.0/gitea-1.16.0-linux-arm-6 +SOURCE_SUM=02982a9e7ada8a8bb0c39dffdb77bbaa02e7a2200be80b2279ed246d1fde8caf SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.15.src b/conf/source/armv7_1.15.src new file mode 100644 index 0000000..3c2672e --- /dev/null +++ b/conf/source/armv7_1.15.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.15.11/gitea-1.15.11-linux-arm-6 +SOURCE_SUM=c60d364d8cb7e25b341cb7d9988cbc7b3485ff5aa994e021980dc47996a870f9 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index 98629fd..6b84eb2 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.15.10/gitea-1.15.10-linux-386 -SOURCE_SUM=566504a7e5e3563d85aadeed2fedf8e5409b0996d567de85d7442b6c2f8363ad +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.16.0/gitea-1.16.0-linux-386 +SOURCE_SUM=76c1adc1e96a6d6af91b2fd230ff5e0999aef6aa7a2adbc9323a7eea84d09416 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.15.src b/conf/source/i386_1.15.src new file mode 100644 index 0000000..53f0004 --- /dev/null +++ b/conf/source/i386_1.15.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.15.11/gitea-1.15.11-linux-386 +SOURCE_SUM=bad15648236e8da71de1a09b9fe0f21d955605c3aba92f6bcf7dc1f490791a8d +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 96f5a06..921bb03 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.15.10/gitea-1.15.10-linux-amd64 -SOURCE_SUM=8dfab91bde02a27fba0248ba1d0175b2e4ff57ba3ef7a9da3e68cbb11d15178a +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.16.0/gitea-1.16.0-linux-amd64 +SOURCE_SUM=a64358d1ef31d96481343ddbbb0454acbce387d2d087c6f7ce7248e8fb06a1ab SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.15.src b/conf/source/x86-64_1.15.src new file mode 100644 index 0000000..b647844 --- /dev/null +++ b/conf/source/x86-64_1.15.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.15.11/gitea-1.15.11-linux-amd64 +SOURCE_SUM=e2f62b67c311116fbf8e52b4c162dbd7684ce9c7f0370642c1d402fece43aa8f +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index 1e85ef3..2533fec 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.15.10~ynh1", + "version": "1.16.0~ynh1", "maintainer": { "name": "Josué Tille", "email": "josue@tille.ch" diff --git a/scripts/upgrade b/scripts/upgrade index 0055ee3..400e240 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -199,6 +199,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.14 restart_gitea ;& +"1.14."* ) + ynh_setup_source $final_path source/${architecture}_1.15 + restart_gitea +;& esac # Install gitea source