From 9fa36a77468308937478150f99ac55c1d3bddd96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 16 Jul 2023 22:03:19 +0200 Subject: [PATCH 1/4] Upgrade gitea to 1.20.0 --- conf/source/arm.src | 4 ++-- conf/source/arm64.src | 4 ++-- conf/source/arm64_1.19.src | 5 +++++ conf/source/arm_1.19.src | 5 +++++ conf/source/armv7.src | 4 ++-- conf/source/armv7_1.19.src | 8 ++++++++ conf/source/i386.src | 4 ++-- conf/source/i386_1.19.src | 5 +++++ conf/source/x86-64.src | 4 ++-- conf/source/x86-64_1.19.src | 5 +++++ manifest.json | 2 +- scripts/upgrade | 4 ++++ 12 files changed, 43 insertions(+), 11 deletions(-) create mode 100644 conf/source/arm64_1.19.src create mode 100644 conf/source/arm_1.19.src create mode 100644 conf/source/armv7_1.19.src create mode 100644 conf/source/i386_1.19.src create mode 100644 conf/source/x86-64_1.19.src diff --git a/conf/source/arm.src b/conf/source/arm.src index 92b5a6d..970e5be 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.19.4/gitea-1.19.4-linux-arm-6 -SOURCE_SUM=befb106cf527244fdb2c40e2493d6831d4863bc2d3fe8304b6a96336f4c7e916 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.0/gitea-1.20.0-linux-arm-6 +SOURCE_SUM=27229bcd1560721316f1437099bb4f197d612a469bb3279c78437e412273acba SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64.src b/conf/source/arm64.src index 1bf1fdd..78ea822 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.19.4/gitea-1.19.4-linux-arm64 -SOURCE_SUM=db147f43fa523a1ff9c7ae3acee9cde48b1b04ef1ca415a6429c781078ce2568 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.0/gitea-1.20.0-linux-arm64 +SOURCE_SUM=55f04ae775f9ff0e8547b112946e1721656721d123a78b90f1d4275536900a76 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64_1.19.src b/conf/source/arm64_1.19.src new file mode 100644 index 0000000..1bf1fdd --- /dev/null +++ b/conf/source/arm64_1.19.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.4/gitea-1.19.4-linux-arm64 +SOURCE_SUM=db147f43fa523a1ff9c7ae3acee9cde48b1b04ef1ca415a6429c781078ce2568 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.19.src b/conf/source/arm_1.19.src new file mode 100644 index 0000000..92b5a6d --- /dev/null +++ b/conf/source/arm_1.19.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.4/gitea-1.19.4-linux-arm-6 +SOURCE_SUM=befb106cf527244fdb2c40e2493d6831d4863bc2d3fe8304b6a96336f4c7e916 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index b61a10f..6f8cb94 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.19.4/gitea-1.19.4-linux-arm-6 -SOURCE_SUM=befb106cf527244fdb2c40e2493d6831d4863bc2d3fe8304b6a96336f4c7e916 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.0/gitea-1.20.0-linux-arm-6 +SOURCE_SUM=27229bcd1560721316f1437099bb4f197d612a469bb3279c78437e412273acba SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.19.src b/conf/source/armv7_1.19.src new file mode 100644 index 0000000..b61a10f --- /dev/null +++ b/conf/source/armv7_1.19.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.19.4/gitea-1.19.4-linux-arm-6 +SOURCE_SUM=befb106cf527244fdb2c40e2493d6831d4863bc2d3fe8304b6a96336f4c7e916 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index 11a39fe..83c8321 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.19.4/gitea-1.19.4-linux-386 -SOURCE_SUM=70fe6293587d467b8c31d8ab18d8b3abb603bb7a72b7cd90839e84a155cb89b5 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.0/gitea-1.20.0-linux-386 +SOURCE_SUM=38f496e29e9ae3de97b0edcc5cb6eb96f33943d8da3fa024cd59936e736544dd SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.19.src b/conf/source/i386_1.19.src new file mode 100644 index 0000000..11a39fe --- /dev/null +++ b/conf/source/i386_1.19.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.4/gitea-1.19.4-linux-386 +SOURCE_SUM=70fe6293587d467b8c31d8ab18d8b3abb603bb7a72b7cd90839e84a155cb89b5 +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 21b743f..fbc09a6 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.19.4/gitea-1.19.4-linux-amd64 -SOURCE_SUM=bf68e8e39c70dc54a7876527d463b517f8af51a2d2924511cd047f479cd8aefd +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.0/gitea-1.20.0-linux-amd64 +SOURCE_SUM=a4db83051bcd5019ecb7879301f849a6513a5c074f1f684be1b39135747c70c9 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.19.src b/conf/source/x86-64_1.19.src new file mode 100644 index 0000000..21b743f --- /dev/null +++ b/conf/source/x86-64_1.19.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.19.4/gitea-1.19.4-linux-amd64 +SOURCE_SUM=bf68e8e39c70dc54a7876527d463b517f8af51a2d2924511cd047f479cd8aefd +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index 9333204..d88aae3 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.19.4~ynh1", + "version": "1.20.0~ynh1", "maintainer": { "name": "Josué Tille", "email": "josue@tille.ch" diff --git a/scripts/upgrade b/scripts/upgrade index 5ba4591..2a00a83 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -241,6 +241,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.18 restart_gitea ;& +"1.18."* ) + ynh_setup_source $final_path source/${architecture}_1.19 + restart_gitea +;& esac # Install gitea source From f0c6d6cb1dfabc6622ecdcd94a02d63a25ec04bf Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 18 Jul 2023 10:56:07 +0000 Subject: [PATCH 2/4] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 059ea80..1f7ea74 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.19.4~ynh1 +**Shipped version:** 1.20.0~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 0cec656..035e816 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.19.4~ynh1 +**Version incluse :** 1.20.0~ynh1 ## Captures d’écran From a3c08f6f1f67d5d08b05fc29a7656ac120c1ffc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 23 Jul 2023 22:03:12 +0200 Subject: [PATCH 3/4] Upgrade gitea to 1.20.1 --- conf/source/arm.src | 4 ++-- conf/source/arm64.src | 4 ++-- conf/source/armv7.src | 4 ++-- conf/source/i386.src | 4 ++-- conf/source/x86-64.src | 4 ++-- manifest.json | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/conf/source/arm.src b/conf/source/arm.src index 970e5be..e2ae904 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.0/gitea-1.20.0-linux-arm-6 -SOURCE_SUM=27229bcd1560721316f1437099bb4f197d612a469bb3279c78437e412273acba +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.1/gitea-1.20.1-linux-arm-6 +SOURCE_SUM=5422378ea8397e1da94cefaea33979965f37ab5760e1942e9d65e1cfff17fa81 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm64.src b/conf/source/arm64.src index 78ea822..f159885 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.0/gitea-1.20.0-linux-arm64 -SOURCE_SUM=55f04ae775f9ff0e8547b112946e1721656721d123a78b90f1d4275536900a76 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.1/gitea-1.20.1-linux-arm64 +SOURCE_SUM=a829a14dee6d9dc7b3d8968ef8186c3f3995b817a9d77823ac0a2c5c69ea3389 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index 6f8cb94..df7aa79 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.0/gitea-1.20.0-linux-arm-6 -SOURCE_SUM=27229bcd1560721316f1437099bb4f197d612a469bb3279c78437e412273acba +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.1/gitea-1.20.1-linux-arm-6 +SOURCE_SUM=5422378ea8397e1da94cefaea33979965f37ab5760e1942e9d65e1cfff17fa81 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index 83c8321..6e8f00b 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.0/gitea-1.20.0-linux-386 -SOURCE_SUM=38f496e29e9ae3de97b0edcc5cb6eb96f33943d8da3fa024cd59936e736544dd +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.1/gitea-1.20.1-linux-386 +SOURCE_SUM=a5382cd28f3facdc57a03b79bb45d512ecdad12db006776b642a01426dda3077 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 fbc09a6..31cbbab 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.0/gitea-1.20.0-linux-amd64 -SOURCE_SUM=a4db83051bcd5019ecb7879301f849a6513a5c074f1f684be1b39135747c70c9 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.20.1/gitea-1.20.1-linux-amd64 +SOURCE_SUM=02985552f00ea68bbba717611ab1cca2ee42a35ac1cb39374d12a0141d704c58 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index d88aae3..a0dd8ab 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.20.0~ynh1", + "version": "1.20.1~ynh1", "maintainer": { "name": "Josué Tille", "email": "josue@tille.ch" From 1a563e8c674f2f6600713ae2dcd9dffb7bade5e1 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 25 Jul 2023 06:50:56 +0000 Subject: [PATCH 4/4] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1f7ea74..24deac3 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.0~ynh1 +**Shipped version:** 1.20.1~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 035e816..9f16ecb 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.0~ynh1 +**Version incluse :** 1.20.1~ynh1 ## Captures d’écran