From 7bbf5fd32d940b3a16b1a091fbf99b9a4e0ee388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 12 Dec 2019 23:20:45 +0000 Subject: [PATCH] Upgrade gitea to 1.10.1 --- README.md | 2 +- conf/source/arm.src | 4 ++-- conf/source/arm_1.9.6.src | 5 +++++ conf/source/armv7.src | 4 ++-- conf/source/armv7_1.9.6.src | 8 ++++++++ conf/source/i386.src | 4 ++-- conf/source/i386_1.9.6.src | 5 +++++ conf/source/x86-64.src | 4 ++-- conf/source/x86-64_1.9.6.src | 5 +++++ manifest.json | 2 +- scripts/upgrade | 4 ++++ 11 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 conf/source/arm_1.9.6.src create mode 100644 conf/source/armv7_1.9.6.src create mode 100644 conf/source/i386_1.9.6.src create mode 100644 conf/source/x86-64_1.9.6.src diff --git a/README.md b/README.md index 211befc..d71a6f6 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Overview Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to Github. -**Shipped version:** 1.9.5 +**Shipped version:** 1.10.1 Screenshots ----------- diff --git a/conf/source/arm.src b/conf/source/arm.src index b058882..e59047a 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.9.5/gitea-1.9.5-linux-arm-6 -SOURCE_SUM=466201f7ebe800ff1667fe84e8ad9ac656df8ce11750f26b0c23715024eb8bc8 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.10.1/gitea-1.10.1-linux-arm-6 +SOURCE_SUM=eb6012343e8f85798bec9e840e5246d1c0ffe001c056219046a5ee18da5a503d SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/arm_1.9.6.src b/conf/source/arm_1.9.6.src new file mode 100644 index 0000000..d37b2e2 --- /dev/null +++ b/conf/source/arm_1.9.6.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.9.6/gitea-1.9.6-linux-arm-6 +SOURCE_SUM=b8f825d701d9205b529acfc9c311fd079af8f0b4ae9267b2dab5c12aee339c57 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/armv7.src b/conf/source/armv7.src index c13a7a1..4b38e82 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.9.5/gitea-1.9.5-linux-arm-6 -SOURCE_SUM=466201f7ebe800ff1667fe84e8ad9ac656df8ce11750f26b0c23715024eb8bc8 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.10.1/gitea-1.10.1-linux-arm-6 +SOURCE_SUM=eb6012343e8f85798bec9e840e5246d1c0ffe001c056219046a5ee18da5a503d SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/armv7_1.9.6.src b/conf/source/armv7_1.9.6.src new file mode 100644 index 0000000..c9117cf --- /dev/null +++ b/conf/source/armv7_1.9.6.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.9.6/gitea-1.9.6-linux-arm-6 +SOURCE_SUM=b8f825d701d9205b529acfc9c311fd079af8f0b4ae9267b2dab5c12aee339c57 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/conf/source/i386.src b/conf/source/i386.src index f3bca38..8a6c55c 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.9.5/gitea-1.9.5-linux-386 -SOURCE_SUM=3c5eaa89df1da3157b85ef3de7483ff048c2fad59ded84d91bbd627b6e0e518b +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.10.1/gitea-1.10.1-linux-386 +SOURCE_SUM=4ef5be4add85532ad9d93746db58136bc0194cc25b4378a87ec4364ecf8beb49 SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/i386_1.9.6.src b/conf/source/i386_1.9.6.src new file mode 100644 index 0000000..1be81ce --- /dev/null +++ b/conf/source/i386_1.9.6.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.9.6/gitea-1.9.6-linux-386 +SOURCE_SUM=0cd6db19ea9268633ba17d5a6d7d4c6cc01b79b1dc4a39e16fda110b4f5f5569 +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 16600ad..23e807a 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.9.5/gitea-1.9.5-linux-amd64 -SOURCE_SUM=67accc6d0cd68fa3cc38f805d00a30d9cdc20b6e43734db2ab0ec481e9592687 +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.10.1/gitea-1.10.1-linux-amd64 +SOURCE_SUM=4e6bcb8fe9f4f5cc6f0e0c15a0dd67e9448a7ebd1592169862f0d4424a8f23ad SOURCE_SUM_PRG=sha256sum SOURCE_FILENAME=gitea SOURCE_EXTRACT=false diff --git a/conf/source/x86-64_1.9.6.src b/conf/source/x86-64_1.9.6.src new file mode 100644 index 0000000..18bfb1e --- /dev/null +++ b/conf/source/x86-64_1.9.6.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.9.6/gitea-1.9.6-linux-amd64 +SOURCE_SUM=8080c6469fb1dd7e24995bedf927185f6abb57215c043dc8d7fb0cba113c3735 +SOURCE_SUM_PRG=sha256sum +SOURCE_FILENAME=gitea +SOURCE_EXTRACT=false diff --git a/manifest.json b/manifest.json index e8500d0..8876ec4 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,7 @@ }, "url": "http://gitea.io", "license": "MIT", - "version": "1.9.5~ynh1", + "version": "1.10.1~ynh1", "maintainer": { "name": "rafi59", "email": "rafi59_dev@srvmaison.fr.nf" diff --git a/scripts/upgrade b/scripts/upgrade index 5bb798b..b242c00 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -168,6 +168,10 @@ case $upstream_version in ynh_setup_source $final_path source/${architecture}_1.8 restart_gitea ;& +"1.8."* ) + ynh_setup_source $final_path source/${architecture}_1.9 + restart_gitea +;& esac # Install gitea source