From 1b14a0551b88e48d8a37afaadd6937aa7ec22a6f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 6 May 2022 08:30:19 +0200 Subject: [PATCH 1/4] 0.12.7 --- conf/amd64.src | 4 ++-- conf/arm64.src | 5 +++++ conf/armhf.src | 4 ++-- conf/i386.src | 4 ++-- manifest.json | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 conf/arm64.src diff --git a/conf/amd64.src b/conf/amd64.src index 27e6f83..6e689b7 100644 --- a/conf/amd64.src +++ b/conf/amd64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/gogs/gogs/releases/download/v0.12.6/gogs_0.12.6_linux_amd64.tar.gz -SOURCE_SUM=591f16331776d02575a11ff135739e44a46e1811b7a7a5c9871bad7bcc47c664 +SOURCE_URL=https://github.com/gogs/gogs/releases/download/v0.12.7/gogs_0.12.7_linux_amd64.tar.gz +SOURCE_SUM=2a0c5d919caa3cb142445950cdd1d39553cc862ede5cd8fefdf9f1cdc1ebf766 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/arm64.src b/conf/arm64.src new file mode 100644 index 0000000..440a052 --- /dev/null +++ b/conf/arm64.src @@ -0,0 +1,5 @@ +SOURCE_URL=https://github.com/gogs/gogs/releases/download/v0.12.7/gogs_0.12.7_linux_armv8.tar.gz +SOURCE_SUM=ac77c69a34b018d437f711b8ea8f28dacd12b98ace6a92aaf25969ff2313cbd8 +SOURCE_SUM_PRG=sha256sum +SOURCE_FORMAT=tar.gz +SOURCE_IN_SUBDIR=true diff --git a/conf/armhf.src b/conf/armhf.src index 4dae1e8..b51279e 100644 --- a/conf/armhf.src +++ b/conf/armhf.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/gogs/gogs/releases/download/v0.12.6/gogs_0.12.6_linux_armv7.tar.gz -SOURCE_SUM=ee58e5ad8db23406474bded1606c61b822aaedb2a1350aed7403d8958bf3a8f1 +SOURCE_URL=https://github.com/gogs/gogs/releases/download/v0.12.7/gogs_0.12.7_linux_armv7.tar.gz +SOURCE_SUM=f763b2f6a3ea3385432ebefa7378f1bc7767522b8397a2f555fdf749c5f6e7d6 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/i386.src b/conf/i386.src index 2fdde44..b24cbee 100644 --- a/conf/i386.src +++ b/conf/i386.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/gogs/gogs/releases/download/v0.12.6/gogs_0.12.6_linux_386.tar.gz -SOURCE_SUM=f29320024ad1542022b208909e7a00381355fed9696664a080d296f1faea3eed +SOURCE_URL=https://github.com/gogs/gogs/releases/download/v0.12.7/gogs_0.12.7_linux_386.tar.gz +SOURCE_SUM=d7cfc8685f685739b65519eb44b81640d1f11fba3fb78b55a63c131ec094fe75 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index d98a556..8e2fb84 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Lightweight self-hosted Git forge", "fr": "Forge Git légère auto-hébergé" }, - "version": "0.12.6~ynh1", + "version": "0.12.7~ynh1", "url": "http://gogs.io", "upstream": { "license": "MIT", From e763dbf9df5b658e189e664b797a9369f59a1c8b Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 6 May 2022 06:30:26 +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 c30c88d..a203f8e 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Gogs (Go Git Service) is a git-based multiplatform forge written in Go. Its part - Customize HTML templates, static files and many others. -**Shipped version:** 0.12.6~ynh1 +**Shipped version:** 0.12.7~ynh1 **Demo:** https://try.gogs.io/user/login diff --git a/README_fr.md b/README_fr.md index de6d52c..26171cc 100644 --- a/README_fr.md +++ b/README_fr.md @@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Gogs (Go Git Service) est une forge multiplateforme basée sur git écrite en Go. Sa particularité est d’être léger et pouvant fonctionner sur carte ARM, ce qui fait qu’il est adapté à l’auto-hébergement. Gogs a une interface web similaire à celle de GitHub. -**Version incluse :** 0.12.6~ynh1 +**Version incluse :** 0.12.7~ynh1 **Démo :** https://try.gogs.io/user/login From 98d4dc4fc8cc2e3b4998f76d02e37c2694f34aca Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 6 May 2022 08:31:13 +0200 Subject: [PATCH 3/4] Update updater.sh --- .github/workflows/updater.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 78ae310..44d4388 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -69,6 +69,9 @@ case $asset_url in *"gogs_"*"_linux_amd64.tar.gz") src="amd64" ;; + *"gogs_"*"_linux_armv8.tar.gz") + src="arm64" + ;; *"gogs_"*"_linux_armv7.tar.gz") src="armhf" ;; From 71b13fedb1b3d543bf67cd8afb9d682a59119142 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 6 May 2022 08:31:57 +0200 Subject: [PATCH 4/4] Update nginx.conf --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6d21f56..c62661e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,6 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { + proxy_pass http://localhost:__PORT__/; proxy_set_header Host $host; proxy_buffering off;