From a792fde48584c1771e46e786964ae90db17abd0d Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Sun, 7 Aug 2022 20:12:31 +0200 Subject: [PATCH 1/4] =?UTF-8?q?[autopatch]=20Add=20Common=20Platform=C2=A0?= =?UTF-8?q?Enumeration=20id=20to=20`manifest.json`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 0cdd190..944a3aa 100644 --- a/manifest.json +++ b/manifest.json @@ -13,7 +13,8 @@ "website": "http://gogs.io", "demo": "https://try.gogs.io/user/login", "admindoc": "https://gogs.io/docs", - "code": "https://github.com/gogs/gogs" + "code": "https://github.com/gogs/gogs", + "cpe": "cpe:2.3:a:gogs:gogs" }, "license": "MIT", "maintainer": { @@ -59,4 +60,4 @@ } ] } -} +} \ No newline at end of file From f7c6145d2b0d8796ca31504861b77cd43d0892c7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 14 Aug 2022 11:17:02 +0200 Subject: [PATCH 2/4] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 0cdd190..0b1224c 100644 --- a/manifest.json +++ b/manifest.json @@ -30,7 +30,7 @@ "mysql" ], "requirements": { - "yunohost": ">= 4.3.0" + "yunohost": ">= 11.0.9" }, "arguments": { "install": [ From e7b88f1a27c678ee6cdb647c48f676f4f861c5ca Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 14 Aug 2022 09:17:07 +0000 Subject: [PATCH 3/4] Auto-update README --- README.md | 1 + README_fr.md | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9cdb557..b89d2a9 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Gogs (Go Git Service) is a git-based multiplatform forge written in Go. Its part **Shipped version:** 0.12.10~ynh1 + **Demo:** https://try.gogs.io/user/login ## Screenshots diff --git a/README_fr.md b/README_fr.md index fc6e175..3382742 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,8 @@ 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.10~ynh1 +**Version incluse :** 0.12.10~ynh1 + **Démo :** https://try.gogs.io/user/login From 251b1ab8bb0dd713e6f05cddb01a43578544a6a0 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 15 Aug 2022 18:57:21 +0200 Subject: [PATCH 4/4] set relative path for --keep opt --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index e75392b..ec8bfde 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -76,7 +76,7 @@ ynh_script_progression --message="Setting up source files..." --weight=3 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir=$final_path --source_id=$YNH_ARCH --keep="$final_path/custom/conf/app.ini $final_path/custom/conf/auth.d/ldap.conf" +ynh_setup_source --dest_dir=$final_path --source_id=$YNH_ARCH --keep="custom/conf/app.ini custom/conf/auth.d/ldap.conf" chmod 750 "$final_path" chmod -R o-rwx "$final_path"