From b52f794ad47b04f2c51a5b085dea30b55baafdd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 26 Feb 2024 18:25:11 +0100 Subject: [PATCH 01/25] Update --- manifest.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/manifest.toml b/manifest.toml index d217d29..72e586b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Gitea" description.en = "Lightweight Git forge" description.fr = "Forge Git légère" -version = "1.21.5~ynh1" +version = "1.21.7~ynh1" maintainers = ["Josué Tille"] # previous_maintainers = [ @@ -66,14 +66,14 @@ ram.runtime = "100M" extract = false rename = "gitea" - armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.5/gitea-1.21.5-linux-arm-6" - armhf.sha256 = "a531726f695aeb6bed4d69827e56e78e22fd0e4134b02b08edbc31c50c7e8735" - arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.5/gitea-1.21.5-linux-arm64" - arm64.sha256 = "55d132cfb7016984773029abc8d1d8e9d844138f5e4c8ff8df273b55aa2190f3" - i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.5/gitea-1.21.5-linux-386" - i386.sha256 = "fbfde0506c100cc5e86a42c4eb73907d37be417df493a9b57400a0df55cafb14" - amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.5/gitea-1.21.5-linux-amd64" - amd64.sha256 = "7a521914203b07c7a0613ae30d8ab229111b149a2fa219423e643cd9a039256e" + armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.7/gitea-1.21.7-linux-arm-6" + armhf.sha256 = "41ec687f4388c2d8b306c1f8cb0800bb8fb3deec425209804aca94cb8597e5d0" + arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.7/gitea-1.21.7-linux-arm64" + arm64.sha256 = "508f21e9146409c54b77dfa266bfb29a9f7710e6468f4a7bcd9b9d5e41e4c309" + i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.7/gitea-1.21.7-linux-386" + i386.sha256 = "a9aefb9491ed33e15b81bf604acb9736253c78f630df0f88624fc897d3a70326" + amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.7/gitea-1.21.7-linux-amd64" + amd64.sha256 = "fa88e6404d3d34136bdd50c990a8c390d5e05f4cb2e31641559d14234e022bd6" autoupdate.strategy = "latest_github_release" autoupdate.asset.armhf = "^gitea-.*-linux-arm-6$" From 627829a10ca5ce6dd83f27910befe4331dc0609c Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 26 Feb 2024 17:25:32 +0000 Subject: [PATCH 02/25] 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 b0e9aff..d30769e 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.21.5~ynh1 +**Shipped version:** 1.21.7~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 1167cc0..6fd0f99 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.21.5~ynh1 +**Version incluse :** 1.21.7~ynh1 ## Captures d’écran From d854a3c409f18c89fda87d8df32f0daf13e467f0 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 16:04:54 +0100 Subject: [PATCH 03/25] [autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1 --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 3200a9b..2deec49 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,7 +54,7 @@ if [ ~"$app" != "$data_dir" ]; then fi # Ensure secrets are defined -ynh_setup_source --dest_dir="$install_dir" --source_id=main +ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 #================================================= # MIGRATION STEP 2 (Set undefined Vars) From 525fd0aacd3d85041148374cc5d29d48e7f04d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 11 Mar 2024 19:10:29 +0100 Subject: [PATCH 04/25] Keep config --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 2deec49..5284d7a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,7 +54,7 @@ if [ ~"$app" != "$data_dir" ]; then fi # Ensure secrets are defined -ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 +ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 --keep=custom #================================================= # MIGRATION STEP 2 (Set undefined Vars) From 8b2152a1b3fb4abb3b6904c8a1b1625eba872e0e Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 14 Mar 2024 02:34:46 +0100 Subject: [PATCH 05/25] Upgrade to v1.21.8 https://github.com/go-gitea/gitea/releases/tag/v1.21.8 --- manifest.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/manifest.toml b/manifest.toml index 72e586b..9671e53 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Gitea" description.en = "Lightweight Git forge" description.fr = "Forge Git légère" -version = "1.21.7~ynh1" +version = "1.21.8~ynh1" maintainers = ["Josué Tille"] # previous_maintainers = [ @@ -66,14 +66,14 @@ ram.runtime = "100M" extract = false rename = "gitea" - armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.7/gitea-1.21.7-linux-arm-6" - armhf.sha256 = "41ec687f4388c2d8b306c1f8cb0800bb8fb3deec425209804aca94cb8597e5d0" - arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.7/gitea-1.21.7-linux-arm64" - arm64.sha256 = "508f21e9146409c54b77dfa266bfb29a9f7710e6468f4a7bcd9b9d5e41e4c309" - i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.7/gitea-1.21.7-linux-386" - i386.sha256 = "a9aefb9491ed33e15b81bf604acb9736253c78f630df0f88624fc897d3a70326" - amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.7/gitea-1.21.7-linux-amd64" - amd64.sha256 = "fa88e6404d3d34136bdd50c990a8c390d5e05f4cb2e31641559d14234e022bd6" + armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.8/gitea-1.21.8-linux-arm-6" + armhf.sha256 = "f29ccb9efd2f0dffacec7fc6a292b8a0e9abfc1b3b300421fc29c763201bcbd5" + arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.8/gitea-1.21.8-linux-arm64" + arm64.sha256 = "d4d2f68b6ac5cdc021b48240dc6aa523389f43fc9a7532c287515f27a62cdfb5" + i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.8/gitea-1.21.8-linux-386" + i386.sha256 = "dcc8da2ddba605da64ec6866059d12b2550507e9a2a5da7fd127c6b564c74a1b" + amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.8/gitea-1.21.8-linux-amd64" + amd64.sha256 = "01817c5730d50f5cf2470bbe2a35fceb7e0375903e36b6ebcd496f799a35b0de" autoupdate.strategy = "latest_github_release" autoupdate.asset.armhf = "^gitea-.*-linux-arm-6$" From de26c05615747ce2b661218afc6893b042cbe9f4 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 23 Mar 2024 02:36:13 +0100 Subject: [PATCH 06/25] Upgrade to v1.21.9 https://github.com/go-gitea/gitea/releases/tag/v1.21.9 --- manifest.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/manifest.toml b/manifest.toml index 9671e53..679d1f8 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Gitea" description.en = "Lightweight Git forge" description.fr = "Forge Git légère" -version = "1.21.8~ynh1" +version = "1.21.9~ynh1" maintainers = ["Josué Tille"] # previous_maintainers = [ @@ -66,14 +66,14 @@ ram.runtime = "100M" extract = false rename = "gitea" - armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.8/gitea-1.21.8-linux-arm-6" - armhf.sha256 = "f29ccb9efd2f0dffacec7fc6a292b8a0e9abfc1b3b300421fc29c763201bcbd5" - arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.8/gitea-1.21.8-linux-arm64" - arm64.sha256 = "d4d2f68b6ac5cdc021b48240dc6aa523389f43fc9a7532c287515f27a62cdfb5" - i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.8/gitea-1.21.8-linux-386" - i386.sha256 = "dcc8da2ddba605da64ec6866059d12b2550507e9a2a5da7fd127c6b564c74a1b" - amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.8/gitea-1.21.8-linux-amd64" - amd64.sha256 = "01817c5730d50f5cf2470bbe2a35fceb7e0375903e36b6ebcd496f799a35b0de" + armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.9/gitea-1.21.9-linux-arm-6" + armhf.sha256 = "ad06597a48476afa6d11af0b5846370aed1f482fef5874d71dddfd0ff3a7b943" + arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.9/gitea-1.21.9-linux-arm64" + arm64.sha256 = "173f00710bb4e61e7d67c91547b6db084ed60d7e7ccda91b3ce823ad58c96841" + i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.9/gitea-1.21.9-linux-386" + i386.sha256 = "69fa591f7c7ffc69c440cd2827c08eae8dc29232c0ade1d47bc3fb46624c9a90" + amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.9/gitea-1.21.9-linux-amd64" + amd64.sha256 = "ffd269c8e6910fa21a38849d5155c953a8a83f364470d675e9378dbb3b231fc8" autoupdate.strategy = "latest_github_release" autoupdate.asset.armhf = "^gitea-.*-linux-arm-6$" From c81d9a251e18aa0d245d42357760b366257fd4e7 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 23 Mar 2024 01:36:17 +0000 Subject: [PATCH 07/25] Auto-update READMEs --- ALL_README.md | 8 ++++++++ README.md | 46 +++++++++++++++++++++++----------------------- README_fr.md | 36 ++++++++++++++++++------------------ 3 files changed, 49 insertions(+), 41 deletions(-) create mode 100644 ALL_README.md diff --git a/ALL_README.md b/ALL_README.md new file mode 100644 index 0000000..b412b5e --- /dev/null +++ b/ALL_README.md @@ -0,0 +1,8 @@ +# All available README files by language + +[Read the README in English](README.md) + + +* [Lire le README en français](README_fr.md) + + diff --git a/README.md b/README.md index d30769e..aabc269 100644 --- a/README.md +++ b/README.md @@ -1,48 +1,48 @@ -# Gitea for YunoHost +# Gitea pour YunoHost -[![Integration level](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Working status](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) +[![Niveau d'intégration ](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Status du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut demaintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) -[![Install Gitea with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) +[![Installer Gitea avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) -*[Lire ce readme en français.](./README_fr.md)* +*[Lire le README dans d'autres langues.](./ALL_README.md)* -> *This package allows you to install Gitea quickly and simply on a YunoHost server. -If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* +> *Ce package vous permet d’installer Gitea rapidement et simplement sur un serveur YunoHost. +Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* -## Overview +## Vue d'ensemble Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. +**Version incluse :** 1.21.9~ynh1 -**Shipped version:** 1.21.7~ynh1 +## Captures d'écran -## Screenshots +![Capture d'écran de Gitea](./doc/screenshots/screenshot.png) -![Screenshot of Gitea](./doc/screenshots/screenshot.png) +## Documentations et ressources -## Documentation and resources +- Site officiel de l’app : +- Documentation officielle de l'admin +- Dépôt de code officiel de l’app : +- YunoHost Store : +- Signaler un bug : -* Official app website: -* Official admin documentation: -* Upstream app code repository: -* YunoHost Store: -* Report a bug: +## Informations pour les développeurs -## Developer info +Merci de faire vos pull request sur la [branche branch](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing), -Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing). -To try the testing branch, please proceed like that. +Pour essayer la branche testing, procédez comme suit. -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug or sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug ``` -**More info regarding app packaging:** \ No newline at end of file +**Plus d'infos sur le packaging d'applications :** diff --git a/README_fr.md b/README_fr.md index 6fd0f99..aabc269 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,48 +1,48 @@ # Gitea pour YunoHost -[![Niveau d’intégration](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) +[![Niveau d'intégration ](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Status du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut demaintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) [![Installer Gitea avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) -*[Read this readme in english.](./README.md)* +*[Lire le README dans d'autres langues.](./ALL_README.md)* > *Ce package vous permet d’installer Gitea rapidement et simplement sur un serveur YunoHost. Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* -## Vue d’ensemble +## Vue d'ensemble Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. +**Version incluse :** 1.21.9~ynh1 -**Version incluse :** 1.21.7~ynh1 +## Captures d'écran -## Captures d’écran - -![Capture d’écran de Gitea](./doc/screenshots/screenshot.png) +![Capture d'écran de Gitea](./doc/screenshots/screenshot.png) ## Documentations et ressources -* Site officiel de l’app : -* Documentation officielle de l’admin : -* Dépôt de code officiel de l’app : -* YunoHost Store: -* Signaler un bug : +- Site officiel de l’app : +- Documentation officielle de l'admin +- Dépôt de code officiel de l’app : +- YunoHost Store : +- Signaler un bug : ## Informations pour les développeurs -Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing). +Merci de faire vos pull request sur la [branche branch](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing), + Pour essayer la branche testing, procédez comme suit. -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug -ou +or sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug ``` -**Plus d’infos sur le packaging d’applications :** \ No newline at end of file +**Plus d'infos sur le packaging d'applications :** From efcfa2289960c817b1c467e22ea4b0084a25d798 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 23 Mar 2024 22:09:36 +0000 Subject: [PATCH 08/25] Auto-update READMEs --- ALL_README.md | 2 ++ README.md | 10 +++++----- README_fr.md | 10 +++++----- README_gl.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 60 insertions(+), 10 deletions(-) create mode 100644 README_gl.md diff --git a/ALL_README.md b/ALL_README.md index b412b5e..4a7dc57 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -5,4 +5,6 @@ * [Lire le README en français](README_fr.md) +* [Le o README en galego](README_gl.md) + diff --git a/README.md b/README.md index aabc269..3c21fe6 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Gitea pour YunoHost -[![Niveau d'intégration ](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Status du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut demaintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) +[![Niveau d'intégration](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Status du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut demaintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) [![Installer Gitea avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) @@ -26,8 +26,8 @@ Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to ## Documentations et ressources -- Site officiel de l’app : -- Documentation officielle de l'admin +- Site officiel de l’app : +- Documentation officielle de l'admin : - Dépôt de code officiel de l’app : - YunoHost Store : - Signaler un bug : @@ -45,4 +45,4 @@ or sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** +**Plus d'infos sur le packaging d'applications :** diff --git a/README_fr.md b/README_fr.md index aabc269..3c21fe6 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,11 +1,11 @@ # Gitea pour YunoHost -[![Niveau d'intégration ](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Status du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut demaintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) +[![Niveau d'intégration](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Status du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut demaintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) [![Installer Gitea avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) @@ -26,8 +26,8 @@ Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to ## Documentations et ressources -- Site officiel de l’app : -- Documentation officielle de l'admin +- Site officiel de l’app : +- Documentation officielle de l'admin : - Dépôt de code officiel de l’app : - YunoHost Store : - Signaler un bug : @@ -45,4 +45,4 @@ or sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** +**Plus d'infos sur le packaging d'applications :** diff --git a/README_gl.md b/README_gl.md new file mode 100644 index 0000000..3c21fe6 --- /dev/null +++ b/README_gl.md @@ -0,0 +1,48 @@ + + +# Gitea pour YunoHost + +[![Niveau d'intégration](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Status du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut demaintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) + +[![Installer Gitea avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) + +*[Lire le README dans d'autres langues.](./ALL_README.md)* + +> *Ce package vous permet d’installer Gitea rapidement et simplement sur un serveur YunoHost. +Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* + +## Vue d'ensemble + +Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. + +**Version incluse :** 1.21.9~ynh1 + +## Captures d'écran + +![Capture d'écran de Gitea](./doc/screenshots/screenshot.png) + +## Documentations et ressources + +- Site officiel de l’app : +- Documentation officielle de l'admin : +- Dépôt de code officiel de l’app : +- YunoHost Store : +- Signaler un bug : + +## Informations pour les développeurs + +Merci de faire vos pull request sur la [branche branch](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing), + + +Pour essayer la branche testing, procédez comme suit. + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug +or +sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug +``` + +**Plus d'infos sur le packaging d'applications :** From d8d293b5a733865b5b9aa2901e0615e49fc216c4 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 26 Mar 2024 02:37:01 +0100 Subject: [PATCH 09/25] Upgrade to v1.21.10 https://github.com/go-gitea/gitea/releases/tag/v1.21.10 --- manifest.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/manifest.toml b/manifest.toml index 679d1f8..a9bd855 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Gitea" description.en = "Lightweight Git forge" description.fr = "Forge Git légère" -version = "1.21.9~ynh1" +version = "1.21.10~ynh1" maintainers = ["Josué Tille"] # previous_maintainers = [ @@ -66,14 +66,14 @@ ram.runtime = "100M" extract = false rename = "gitea" - armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.9/gitea-1.21.9-linux-arm-6" - armhf.sha256 = "ad06597a48476afa6d11af0b5846370aed1f482fef5874d71dddfd0ff3a7b943" - arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.9/gitea-1.21.9-linux-arm64" - arm64.sha256 = "173f00710bb4e61e7d67c91547b6db084ed60d7e7ccda91b3ce823ad58c96841" - i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.9/gitea-1.21.9-linux-386" - i386.sha256 = "69fa591f7c7ffc69c440cd2827c08eae8dc29232c0ade1d47bc3fb46624c9a90" - amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.9/gitea-1.21.9-linux-amd64" - amd64.sha256 = "ffd269c8e6910fa21a38849d5155c953a8a83f364470d675e9378dbb3b231fc8" + armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.10/gitea-1.21.10-linux-arm-6" + armhf.sha256 = "219cfaf280ae189acdcff8a682b53adb8e3216523f2864ec76235b45af7e4546" + arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.10/gitea-1.21.10-linux-arm64" + arm64.sha256 = "b8ea5905b65c663113fdfa4e6f5bd73b7c43adcc05c4100b3c1627769af65a62" + i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.10/gitea-1.21.10-linux-386" + i386.sha256 = "cd256f53a2f13f4a8f2c1e43a7111d6f878849bc2c0866af056009c5a2588d21" + amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.10/gitea-1.21.10-linux-amd64" + amd64.sha256 = "17eb858f3ef2b7cdb649286e6a9cc050f9d949606327a7d6f27aaba49fc3b492" autoupdate.strategy = "latest_github_release" autoupdate.asset.armhf = "^gitea-.*-linux-arm-6$" From cd2e4d18e224d1317be172427fd41d9f184fbd0f Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 26 Mar 2024 01:37:03 +0000 Subject: [PATCH 10/25] Auto-update READMEs --- ALL_README.md | 10 ++-------- README.md | 44 ++++++++++++++++++++++---------------------- README_fr.md | 36 ++++++++++++++++++------------------ 3 files changed, 42 insertions(+), 48 deletions(-) diff --git a/ALL_README.md b/ALL_README.md index 4a7dc57..d6e8f9c 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,10 +1,4 @@ # All available README files by language -[Read the README in English](README.md) - - -* [Lire le README en français](README_fr.md) - -* [Le o README en galego](README_gl.md) - - +- [Read the README in English](README.md) +- [Lire le README en français](README_fr.md) diff --git a/README.md b/README.md index 3c21fe6..d9e996c 100644 --- a/README.md +++ b/README.md @@ -1,43 +1,43 @@ -# Gitea pour YunoHost +# Gitea for YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Status du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut demaintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Working status](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) -[![Installer Gitea avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) +[![Install Gitea with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) -*[Lire le README dans d'autres langues.](./ALL_README.md)* +*[Read this README is other languages.](./ALL_README.md)* -> *Ce package vous permet d’installer Gitea rapidement et simplement sur un serveur YunoHost. -Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* +> *This package allows you to install Gitea quickly and simply on a YunoHost server.* +> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* -## Vue d'ensemble +## Overview Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Version incluse :** 1.21.9~ynh1 -## Captures d'écran +**Shipped version:** 1.21.10~ynh1 -![Capture d'écran de Gitea](./doc/screenshots/screenshot.png) +## Screenshots -## Documentations et ressources +![Screenshot of Gitea](./doc/screenshots/screenshot.png) -- Site officiel de l’app : -- Documentation officielle de l'admin : -- Dépôt de code officiel de l’app : -- YunoHost Store : -- Signaler un bug : +## Documentation and resources -## Informations pour les développeurs +- Official app website: +- Official admin documentation: +- Upstream app code repository: +- YunoHost Store: +- Report a bug: -Merci de faire vos pull request sur la [branche branch](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing), +## Developer info +Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing). -Pour essayer la branche testing, procédez comme suit. +To try the `testing` branch, please proceed like that: ```bash sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug @@ -45,4 +45,4 @@ or sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** +**More info regarding app packaging:** diff --git a/README_fr.md b/README_fr.md index 3c21fe6..e8cb704 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,48 +1,48 @@ # Gitea pour YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Status du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut demaintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) [![Installer Gitea avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) *[Lire le README dans d'autres langues.](./ALL_README.md)* -> *Ce package vous permet d’installer Gitea rapidement et simplement sur un serveur YunoHost. -Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* +> *Ce package vous permet d’installer Gitea rapidement et simplement sur un serveur YunoHost.* +> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.* -## Vue d'ensemble +## Vue d’ensemble Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Version incluse :** 1.21.9~ynh1 -## Captures d'écran +**Version incluse :** 1.21.10~ynh1 -![Capture d'écran de Gitea](./doc/screenshots/screenshot.png) +## Captures d’écran + +![Capture d’écran de Gitea](./doc/screenshots/screenshot.png) ## Documentations et ressources - Site officiel de l’app : -- Documentation officielle de l'admin : -- Dépôt de code officiel de l’app : -- YunoHost Store : -- Signaler un bug : +- Documentation officielle de l’admin : +- Dépôt de code officiel de l’app : +- YunoHost Store : +- Signaler un bug : ## Informations pour les développeurs -Merci de faire vos pull request sur la [branche branch](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing), +Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing). - -Pour essayer la branche testing, procédez comme suit. +Pour essayer la branche `testing`, procédez comme suit : ```bash sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug -or +ou sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** +**Plus d’infos sur le packaging d’applications :** From fd8daa0f336c4f93b68bc5585a957c7abbad8be8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 17 Apr 2024 03:35:23 +0200 Subject: [PATCH 11/25] Upgrade to v1.21.11 https://github.com/go-gitea/gitea/releases/tag/v1.21.11 --- manifest.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/manifest.toml b/manifest.toml index a9bd855..9c7d846 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Gitea" description.en = "Lightweight Git forge" description.fr = "Forge Git légère" -version = "1.21.10~ynh1" +version = "1.21.11~ynh1" maintainers = ["Josué Tille"] # previous_maintainers = [ @@ -66,14 +66,14 @@ ram.runtime = "100M" extract = false rename = "gitea" - armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.10/gitea-1.21.10-linux-arm-6" - armhf.sha256 = "219cfaf280ae189acdcff8a682b53adb8e3216523f2864ec76235b45af7e4546" - arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.10/gitea-1.21.10-linux-arm64" - arm64.sha256 = "b8ea5905b65c663113fdfa4e6f5bd73b7c43adcc05c4100b3c1627769af65a62" - i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.10/gitea-1.21.10-linux-386" - i386.sha256 = "cd256f53a2f13f4a8f2c1e43a7111d6f878849bc2c0866af056009c5a2588d21" - amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.10/gitea-1.21.10-linux-amd64" - amd64.sha256 = "17eb858f3ef2b7cdb649286e6a9cc050f9d949606327a7d6f27aaba49fc3b492" + armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-arm-6" + armhf.sha256 = "bd81e208cf041d1bb0cde558b2808d96d0014066f8d572dfb569ee1fb0e707de" + arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-arm64" + arm64.sha256 = "1bdbb3507067b3db9c2178be0bc038c2549fddb4eafff96d4a7c0010c7d1e404" + i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-386" + i386.sha256 = "5e97e6047540b01038aed80eb147bd17f4e071edabb88c4be9466517d71e4daf" + amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-amd64" + amd64.sha256 = "238056fa4616633a9ec5a358aac75275bd3f271d5e5238af3dd5f22c713fe97e" autoupdate.strategy = "latest_github_release" autoupdate.asset.armhf = "^gitea-.*-linux-arm-6$" From 4bc7114e8f2936a2a00fb505d7c8efb64d57d2f7 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 17 Apr 2024 01:35:27 +0000 Subject: [PATCH 12/25] Auto-update READMEs --- ALL_README.md | 3 +++ README.md | 4 ++-- README_eu.md | 48 +++++++++++++++++++++++++++++++++++++++++++++++ README_fr.md | 2 +- README_gl.md | 46 ++++++++++++++++++++++----------------------- README_zh_Hans.md | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 125 insertions(+), 26 deletions(-) create mode 100644 README_eu.md create mode 100644 README_zh_Hans.md diff --git a/ALL_README.md b/ALL_README.md index d6e8f9c..a01b345 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,4 +1,7 @@ # All available README files by language - [Read the README in English](README.md) +- [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) +- [Le o README en galego](README_gl.md) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index d9e996c..a20ef85 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Gitea with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Gitea quickly and simply on a YunoHost server.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Shipped version:** 1.21.10~ynh1 +**Shipped version:** 1.21.11~ynh1 ## Screenshots diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..cf8fc05 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,48 @@ + + +# Gitea YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) + +[![Instalatu Gitea YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Gitea YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. + + +**Paketatutako bertsioa:** 1.21.11~ynh1 + +## Pantaila-argazkiak + +![Gitea(r)en pantaila-argazkia](./doc/screenshots/screenshot.png) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune ofiziala: +- Administratzaileen dokumentazio ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug +edo +sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index e8cb704..cade7da 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Version incluse :** 1.21.10~ynh1 +**Version incluse :** 1.21.11~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 3c21fe6..25dad38 100644 --- a/README_gl.md +++ b/README_gl.md @@ -1,48 +1,48 @@ -# Gitea pour YunoHost +# Gitea para YunoHost -[![Niveau d'intégration](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Status du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Statut demaintenance](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) +[![Nivel de integración](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) -[![Installer Gitea avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) +[![Instalar Gitea con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) -*[Lire le README dans d'autres langues.](./ALL_README.md)* +*[Le este README en outros idiomas.](./ALL_README.md)* -> *Ce package vous permet d’installer Gitea rapidement et simplement sur un serveur YunoHost. -Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* +> *Este paquete permíteche instalar Gitea de xeito rápido e doado nun servidor YunoHost.* +> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.* -## Vue d'ensemble +## Vista xeral Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Version incluse :** 1.21.9~ynh1 -## Captures d'écran +**Versión proporcionada:** 1.21.11~ynh1 -![Capture d'écran de Gitea](./doc/screenshots/screenshot.png) +## Capturas de pantalla -## Documentations et ressources +![Captura de pantalla de Gitea](./doc/screenshots/screenshot.png) -- Site officiel de l’app : -- Documentation officielle de l'admin : -- Dépôt de code officiel de l’app : -- YunoHost Store : -- Signaler un bug : +## Documentación e recursos -## Informations pour les développeurs +- Web oficial da app: +- Documentación oficial para admin: +- Repositorio de orixe do código: +- Tenda YunoHost: +- Informar dun problema: -Merci de faire vos pull request sur la [branche branch](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing), +## Info de desenvolvemento +Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing). -Pour essayer la branche testing, procédez comme suit. +Para probar a rama `testing`, procede deste xeito: ```bash sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug -or +ou sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** +**Máis info sobre o empaquetado da app:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..d976c15 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,48 @@ + + +# YunoHost 的 Gitea + +[![集成程度](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![工作状态](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) + +[![使用 YunoHost 安装 Gitea](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Gitea。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. + + +**分发版本:** 1.21.11~ynh1 + +## 截图 + +![Gitea 的截图](./doc/screenshots/screenshot.png) + +## 文档与资源 + +- 官方应用网站: +- 官方管理文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug +或 +sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** From 035adcf13438d1043b73bb3190f6054aa0ce4d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 8 Apr 2024 00:26:39 +0200 Subject: [PATCH 13/25] Use systemd is-active instead of systemd status --- scripts/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup b/scripts/backup index 294d4ca..f55ce8a 100644 --- a/scripts/backup +++ b/scripts/backup @@ -9,7 +9,7 @@ source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers -if [[ ! "$(systemctl status $app.service)" =~ 'Active: inactive (dead)' ]]; then +if systemctl is-active $app.service --quiet; then ynh_print_warn --message="It's hightly recommended to make your backup when the service is stopped. Please stop $app service with this command before to run the backup 'systemctl stop $app.service'" fi From f1fc56214320c0c34299a0389c742ce2ad86f7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 9 Apr 2024 18:42:14 +0200 Subject: [PATCH 14/25] Use yunohost cmd to retrive ssh port --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 8702cf6..09a83c3 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -3,7 +3,7 @@ #================================================= systemd_match_start_line='Starting new Web server: tcp:127.0.0.1:' -ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+") +ssh_port=$(yunohost settings get security.ssh.ssh_port) #================================================= # DEFINE ALL COMMON FONCTIONS From b0e95f93c258e696db131827d86713630ce97acd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 9 Apr 2024 22:21:11 +0200 Subject: [PATCH 15/25] Avoid to update source if not needed --- scripts/upgrade | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5284d7a..ab25c56 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -53,8 +53,10 @@ if [ ~"$app" != "$data_dir" ]; then usermod --home "$data_dir" "$app" fi -# Ensure secrets are defined -ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 --keep=custom +if [ "$upgrade_type" == UPGRADE_APP ]; then + # Ensure secrets are defined + ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 --keep=custom +fi #================================================= # MIGRATION STEP 2 (Set undefined Vars) From a689129d2a1c1822e93472b53881af3179f3c732 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 21 Apr 2024 12:03:38 +0200 Subject: [PATCH 16/25] Remove log only if purge are enabled --- scripts/remove | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index 1d0608e..2ca268e 100644 --- a/scripts/remove +++ b/scripts/remove @@ -26,8 +26,10 @@ ynh_remove_logrotate ynh_remove_fail2ban_config -ynh_script_progression --message='Removing logs...' -ynh_secure_remove --file="/var/log/$app" +if [ "$YNH_APP_PURGE" -eq 1 ]; then + ynh_script_progression --message="Removing logs..." + ynh_secure_remove --file=/var/log/"$app" +fi #================================================= # END OF SCRIPT From 414f6b7ad6fb04a579185f6cb621d60de838a220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 26 Apr 2024 22:00:58 +0200 Subject: [PATCH 17/25] Use = intead of space for helper args to avoid issue with parameter --- scripts/backup | 10 +++++----- scripts/install | 4 ++-- scripts/restore | 2 +- scripts/upgrade | 18 +++++++++--------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/scripts/backup b/scripts/backup index f55ce8a..27468e1 100644 --- a/scripts/backup +++ b/scripts/backup @@ -19,23 +19,23 @@ fi ynh_print_info --message='Declaring files to be backed up...' # Copy the app source files -ynh_backup --src_path "$install_dir" +ynh_backup --src_path="$install_dir" # Copy the data files -ynh_backup --src_path "$data_dir" --is_big=1 +ynh_backup --src_path="$data_dir" --is_big=1 # Copy the conf files -ynh_backup --src_path "/etc/nginx/conf.d/$domain.d/$app.conf" +ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_backup --src_path="/etc/fail2ban/jail.d/$app.conf" ynh_backup --src_path="/etc/fail2ban/filter.d/$app.conf" ynh_backup --src_path="/etc/logrotate.d/$app" -ynh_backup --src_path "/etc/systemd/system/$app.service" +ynh_backup --src_path="/etc/systemd/system/$app.service" # Backup logs -ynh_backup --src_path "/var/log/$app" +ynh_backup --src_path="/var/log/$app" # Dump the database ynh_print_info --message="Backing up the MySQL database" diff --git a/scripts/install b/scripts/install index 8ed9a0d..41504b4 100644 --- a/scripts/install +++ b/scripts/install @@ -50,7 +50,7 @@ jwt_secret=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET) ynh_app_setting_set --app="$app" --key=internal_token --value="$internal_token" ynh_app_setting_set --app="$app" --key=secret_key --value="$secret_key" ynh_app_setting_set --app="$app" --key=lfs_jwt_secret --value="$lfs_jwt_secret" -ynh_app_setting_set --app "$app" --key jwt_secret --value="$jwt_secret" +ynh_app_setting_set --app="$app" --key=jwt_secret --value="$jwt_secret" ynh_add_config --template='app.ini' --destination="$install_dir/custom/conf/app.ini" @@ -69,7 +69,7 @@ ynh_add_systemd_config yunohost service add "$app" --log="/var/log/$app/gitea.log" # Configure logrotate -ynh_use_logrotate --logfile "/var/log/$app" +ynh_use_logrotate --logfile="/var/log/$app" # Create a dedicated Fail2Ban config ynh_add_fail2ban_config --logpath="/var/log/$app/gitea.log" --failregex='.*Failed authentication attempt for .* from ' --max_retry=5 diff --git a/scripts/restore b/scripts/restore index 1fd0b31..32211bb 100644 --- a/scripts/restore +++ b/scripts/restore @@ -34,7 +34,7 @@ yunohost service add "$app" --log="/var/log/$app/gitea.log" # SETUP FAIL2BAN ynh_script_progression --message="Configuring fail2ban..." -ynh_add_fail2ban_config --logpath "/var/log/$app/gitea.log" --failregex ".*Failed authentication attempt for .* from " --max_retry 5 +ynh_add_fail2ban_config --logpath="/var/log/$app/gitea.log" --failregex=".*Failed authentication attempt for .* from " --max_retry=5 #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index ab25c56..746115d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,11 +18,11 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message='Ensuring downward compatibility...' --weight=1 -if ynh_compare_current_package_version --comparison lt --version "1.6.4~ynh1"; then +if ynh_compare_current_package_version --comparison=lt --version="1.6.4~ynh1"; then message="Upgrade from $YNH_APP_CURRENT_VERSION was dropped. You need to run this, then upgrade to the latest version: sudo yunohost app upgrade $app -u https://github.com/YunoHost-Apps/gitea_ynh/commit/a9ceb157032ae2290e944c1d0a255451ff2d133d" ynh_print_info "$message" - ynh_die --message="$message" --ret_code 1 + ynh_die --message="$message" --ret_code=1 fi #================================================= @@ -71,28 +71,28 @@ chmod +x "$install_dir/gitea" if [[ -z "${internal_token:-}" ]]; then internal_token=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret INTERNAL_TOKEN) - ynh_app_setting_set --app "$app" --key internal_token --value="$internal_token" + ynh_app_setting_set --app="$app" --key=internal_token --value="$internal_token" fi if [[ -z "${secret_key:-}" ]]; then secret_key=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret SECRET_KEY) - ynh_app_setting_set --app "$app" --key secret_key --value="$secret_key" + ynh_app_setting_set --app="$app" --key=secret_key --value="$secret_key" fi if [[ -n "${lfs_key:-}" ]]; then lfs_jwt_secret="$lfs_key" - ynh_app_setting_delete --app "$app" --key lfs_key - ynh_app_setting_set --app "$app" --key lfs_jwt_secret --value="$lfs_jwt_secret" + ynh_app_setting_delete --app="$app" --key=lfs_key + ynh_app_setting_set --app="$app" --key=lfs_jwt_secret --value="$lfs_jwt_secret" fi if [[ -z "${lfs_jwt_secret:-}" ]]; then lfs_jwt_secret=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET) - ynh_app_setting_set --app "$app" --key lfs_jwt_secret --value="$lfs_jwt_secret" + ynh_app_setting_set --app="$app" --key=lfs_jwt_secret --value="$lfs_jwt_secret" fi if [[ -z "${jwt_secret:-}" ]]; then jwt_secret=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET) - ynh_app_setting_set --app "$app" --key jwt_secret --value="$jwt_secret" + ynh_app_setting_set --app="$app" --key=jwt_secret --value="$jwt_secret" fi #================================================= @@ -141,7 +141,7 @@ yunohost service add "$app" --log="/var/log/$app/gitea.log" ynh_use_logrotate --non-append -ynh_add_fail2ban_config --logpath="/var/log/$app/gitea.log" --failregex=".*Failed authentication attempt for .* from " --max_retry 5 +ynh_add_fail2ban_config --logpath="/var/log/$app/gitea.log" --failregex=".*Failed authentication attempt for .* from " --max_retry=5 #================================================= # START SYSTEMD SERVICE From 35356ee97b51213d66b88e85654c85d5f2752c2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Fri, 26 Apr 2024 23:57:31 +0200 Subject: [PATCH 18/25] Note as SSO not available --- manifest.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 9c7d846..7110fc0 100644 --- a/manifest.toml +++ b/manifest.toml @@ -32,7 +32,8 @@ architectures = [ ] multi_instance = true ldap = true -sso = true +# reverse proxy authentication disabled until https://github.com/go-gitea/gitea/pull/18452 is merged +sso = false disk = "120M" ram.build = "0M" ram.runtime = "100M" From b2c1604b83302723d876d38e52d46ca6341bcbbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 27 Apr 2024 00:01:55 +0200 Subject: [PATCH 19/25] Fix typo --- scripts/upgrade | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 746115d..7f78e81 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,7 +54,6 @@ if [ ~"$app" != "$data_dir" ]; then fi if [ "$upgrade_type" == UPGRADE_APP ]; then - # Ensure secrets are defined ynh_setup_source --dest_dir="$install_dir" --source_id=main --full_replace=1 --keep=custom fi From 0614ab83dcaba0926d8c0ad67aabd89992adc795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sat, 27 Apr 2024 00:07:37 +0200 Subject: [PATCH 20/25] Add missing quotes --- scripts/_common.sh | 10 +++++----- scripts/backup | 2 +- scripts/install | 12 ++++++------ scripts/upgrade | 12 ++++++------ 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 09a83c3..281512f 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -3,7 +3,7 @@ #================================================= systemd_match_start_line='Starting new Web server: tcp:127.0.0.1:' -ssh_port=$(yunohost settings get security.ssh.ssh_port) +ssh_port="$(yunohost settings get security.ssh.ssh_port)" #================================================= # DEFINE ALL COMMON FONCTIONS @@ -15,10 +15,10 @@ _set_permissions() { chmod +x "$install_dir/gitea" chown -R "$app:$app" "$data_dir" - find $data_dir \( \! -perm -o= \ - -o \! -user $app \ - -o \! -group $app \) \ - -exec chown $app:$app {} \; \ + find "$data_dir" \( \! -perm -o= \ + -o \! -user "$app" \ + -o \! -group "$app" \) \ + -exec chown "$app:$app" {} \; \ -exec chmod u=rwX,g=rX,o= {} \; chmod -R u=rwX,g=,o= "$data_dir/.ssh" diff --git a/scripts/backup b/scripts/backup index 27468e1..b413ff1 100644 --- a/scripts/backup +++ b/scripts/backup @@ -9,7 +9,7 @@ source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers -if systemctl is-active $app.service --quiet; then +if systemctl is-active "$app".service --quiet; then ynh_print_warn --message="It's hightly recommended to make your backup when the service is stopped. Please stop $app service with this command before to run the backup 'systemctl stop $app.service'" fi diff --git a/scripts/install b/scripts/install index 41504b4..5ea75e6 100644 --- a/scripts/install +++ b/scripts/install @@ -17,10 +17,10 @@ source /usr/share/yunohost/helpers ynh_script_progression --message='Creating base directory...' -if [ -n "$(ls -A $data_dir)" ]; then +if [ -n "$(ls -A "$data_dir")" ]; then old_data_dir_path="${data_dir}_$(date '+%Y%m%d.%H%M%S')" ynh_print_warn "Data directory was not empty. Data was moved to $old_data_dir_path" - mkdir -p $old_data_dir_path + mkdir -p "$old_data_dir_path" mv -t "$old_data_dir_path" "$data_dir"/* fi @@ -42,10 +42,10 @@ _set_permissions ynh_script_progression --message="Configuring application, step 1/2..." -internal_token=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret INTERNAL_TOKEN) -secret_key=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret SECRET_KEY) -lfs_jwt_secret=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET) -jwt_secret=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET) +internal_token="$(ynh_exec_as "$app" "$install_dir/gitea" generate secret INTERNAL_TOKEN)" +secret_key="$(ynh_exec_as "$app" "$install_dir/gitea" generate secret SECRET_KEY)" +lfs_jwt_secret="$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET)" +jwt_secret="$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET)" ynh_app_setting_set --app="$app" --key=internal_token --value="$internal_token" ynh_app_setting_set --app="$app" --key=secret_key --value="$secret_key" diff --git a/scripts/upgrade b/scripts/upgrade index 7f78e81..0d3cfa0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,7 +9,7 @@ source _common.sh source /usr/share/yunohost/helpers -upgrade_type=$(ynh_check_app_version_changed) +upgrade_type="$(ynh_check_app_version_changed)" #================================================= # STANDARD UPGRADE STEPS @@ -69,12 +69,12 @@ chmod -R u=rwX,g=rX,o= "$install_dir" chmod +x "$install_dir/gitea" if [[ -z "${internal_token:-}" ]]; then - internal_token=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret INTERNAL_TOKEN) + internal_token="$(ynh_exec_as "$app" "$install_dir/gitea" generate secret INTERNAL_TOKEN)" ynh_app_setting_set --app="$app" --key=internal_token --value="$internal_token" fi if [[ -z "${secret_key:-}" ]]; then - secret_key=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret SECRET_KEY) + secret_key="$(ynh_exec_as "$app" "$install_dir/gitea" generate secret SECRET_KEY)" ynh_app_setting_set --app="$app" --key=secret_key --value="$secret_key" fi @@ -85,12 +85,12 @@ if [[ -n "${lfs_key:-}" ]]; then fi if [[ -z "${lfs_jwt_secret:-}" ]]; then - lfs_jwt_secret=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET) + lfs_jwt_secret="$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET)" ynh_app_setting_set --app="$app" --key=lfs_jwt_secret --value="$lfs_jwt_secret" fi if [[ -z "${jwt_secret:-}" ]]; then - jwt_secret=$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET) + jwt_secret="$(ynh_exec_as "$app" "$install_dir/gitea" generate secret JWT_SECRET)" ynh_app_setting_set --app="$app" --key=jwt_secret --value="$jwt_secret" fi @@ -98,7 +98,7 @@ fi # MIGRATION STEP Fix regression linked to 77c3678 and #76 #================================================= -list_param_sql=$(yunohost user list --output-as json | jq -c '.users | keys' | sed 's|\[|\(|' | sed 's|\]|\)|') +list_param_sql="$(yunohost user list --output-as json | jq -c '.users | keys' | sed 's|\[|\(|' | sed 's|\]|\)|')" ynh_replace_string --match_string=__APP__ --replace_string="$app" --target_file=./fix_user_db_for_local_users.sql ynh_replace_string --match_string=__USER_LIST__ --replace_string="$list_param_sql" --target_file=./fix_user_db_for_local_users.sql ynh_mysql_connect_as "$db_user" "$db_pwd" "$db_name" < ./fix_user_db_for_local_users.sql From 90dc5d29caff3103eb9223d808bac10daaf02beb Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 28 May 2024 03:36:15 +0200 Subject: [PATCH 21/25] Upgrade to v1.22.0 https://github.com/go-gitea/gitea/releases/tag/v1.22.0 --- manifest.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/manifest.toml b/manifest.toml index 7110fc0..9a5057d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Gitea" description.en = "Lightweight Git forge" description.fr = "Forge Git légère" -version = "1.21.11~ynh1" +version = "1.22.0~ynh1" maintainers = ["Josué Tille"] # previous_maintainers = [ @@ -67,14 +67,14 @@ ram.runtime = "100M" extract = false rename = "gitea" - armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-arm-6" - armhf.sha256 = "bd81e208cf041d1bb0cde558b2808d96d0014066f8d572dfb569ee1fb0e707de" - arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-arm64" - arm64.sha256 = "1bdbb3507067b3db9c2178be0bc038c2549fddb4eafff96d4a7c0010c7d1e404" - i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-386" - i386.sha256 = "5e97e6047540b01038aed80eb147bd17f4e071edabb88c4be9466517d71e4daf" - amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-amd64" - amd64.sha256 = "238056fa4616633a9ec5a358aac75275bd3f271d5e5238af3dd5f22c713fe97e" + armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.22.0/gitea-1.22.0-linux-arm-6" + armhf.sha256 = "a3881b9d065977923c5646547f1e80e71cffa503d81f08d70ec0419556ffd402" + arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.22.0/gitea-1.22.0-linux-arm64" + arm64.sha256 = "ef6afed370b14d33b2b8dcc0c7ea56105b73ce9a3361090708985a878475d94b" + i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.22.0/gitea-1.22.0-linux-386" + i386.sha256 = "b320cf3a853389b3159ccd611af3bd9f4d96b843bf8eda67613760aa8d566d4d" + amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.22.0/gitea-1.22.0-linux-amd64" + amd64.sha256 = "a31086f073cb9592d28611394b2de3655db515d961e4fdcf5b549cb40753ef3d" autoupdate.strategy = "latest_github_release" autoupdate.asset.armhf = "^gitea-.*-linux-arm-6$" From 05d4c20d6a7299c4d5eaa416f5426ad44773beb1 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 28 May 2024 01:36:17 +0000 Subject: [PATCH 22/25] Auto-update READMEs --- ALL_README.md | 1 + README.md | 2 +- README_es.md | 48 +++++++++++++++++++++++++++++++++++++++++++++++ README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 4 ++-- 7 files changed, 55 insertions(+), 6 deletions(-) create mode 100644 README_es.md diff --git a/ALL_README.md b/ALL_README.md index a01b345..152f2e7 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,7 @@ # All available README files by language - [Read the README in English](README.md) +- [Lea el README en español](README_es.md) - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) diff --git a/README.md b/README.md index a20ef85..93139d9 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Shipped version:** 1.21.11~ynh1 +**Shipped version:** 1.22.0~ynh1 ## Screenshots diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..f2a2e34 --- /dev/null +++ b/README_es.md @@ -0,0 +1,48 @@ + + +# Gitea para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) + +[![Instalar Gitea con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gitea) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarGitea rapidamente y simplement en un servidor YunoHost.* +> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.* + +## Descripción general + +Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. + + +**Versión actual:** 1.22.0~ynh1 + +## Capturas + +![Captura de Gitea](./doc/screenshots/screenshot.png) + +## Documentaciones y recursos + +- Sitio web oficial: +- Documentación administrador oficial: +- Repositorio del código fuente oficial de la aplicación : +- Catálogo YunoHost: +- Reportar un error: + +## Información para desarrolladores + +Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/gitea_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug +o +sudo yunohost app upgrade gitea -u https://github.com/YunoHost-Apps/gitea_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** diff --git a/README_eu.md b/README_eu.md index cf8fc05..b8944ff 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Paketatutako bertsioa:** 1.21.11~ynh1 +**Paketatutako bertsioa:** 1.22.0~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index cade7da..4ea482f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Version incluse :** 1.21.11~ynh1 +**Version incluse :** 1.22.0~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 25dad38..e75dad9 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**Versión proporcionada:** 1.21.11~ynh1 +**Versión proporcionada:** 1.22.0~ynh1 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index d976c15..6f61c12 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 Gitea +# YunoHost 上的 Gitea [![集成程度](https://dash.yunohost.org/integration/gitea.svg)](https://dash.yunohost.org/appci/app/gitea) ![工作状态](https://ci-apps.yunohost.org/ci/badges/gitea.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/gitea.maintain.svg) @@ -19,7 +19,7 @@ Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. -**分发版本:** 1.21.11~ynh1 +**分发版本:** 1.22.0~ynh1 ## 截图 From aaf86e735c7ab4e607ed94e7ae2c82885640edbb Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Sun, 23 Jun 2024 21:54:35 +0200 Subject: [PATCH 23/25] [autopatch] Do not delete logs on app removal --- scripts/remove | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 1d0608e..b2dbaf3 100644 --- a/scripts/remove +++ b/scripts/remove @@ -27,7 +27,6 @@ ynh_remove_logrotate ynh_remove_fail2ban_config ynh_script_progression --message='Removing logs...' -ynh_secure_remove --file="/var/log/$app" #================================================= # END OF SCRIPT From 7d7978ca19f61824983b7f8ebf12cee70a47d35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 24 Jun 2024 22:30:13 +0200 Subject: [PATCH 24/25] Cleanup --- scripts/remove | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/remove b/scripts/remove index b2dbaf3..907642d 100644 --- a/scripts/remove +++ b/scripts/remove @@ -26,8 +26,6 @@ ynh_remove_logrotate ynh_remove_fail2ban_config -ynh_script_progression --message='Removing logs...' - #================================================= # END OF SCRIPT #================================================= From 32797149735bbadf093ef9da7617b7e37ce92074 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 25 Jun 2024 05:35:18 +0000 Subject: [PATCH 25/25] Auto-update READMEs --- README_eu.md | 1 - README_fr.md | 1 - README_gl.md | 1 - README_zh_Hans.md | 2 -- 4 files changed, 5 deletions(-) diff --git a/README_eu.md b/README_eu.md index 736c4ff..b8944ff 100644 --- a/README_eu.md +++ b/README_eu.md @@ -21,7 +21,6 @@ Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to **Paketatutako bertsioa:** 1.22.0~ynh1 - ## Pantaila-argazkiak ![Gitea(r)en pantaila-argazkia](./doc/screenshots/screenshot.png) diff --git a/README_fr.md b/README_fr.md index a94535c..4ea482f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,6 @@ Il NE doit PAS être modifié à la main. Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. - **Version incluse :** 1.22.0~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index fdc96f9..e75dad9 100644 --- a/README_gl.md +++ b/README_gl.md @@ -21,7 +21,6 @@ Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to **Versión proporcionada:** 1.22.0~ynh1 - ## Capturas de pantalla ![Captura de pantalla de Gitea](./doc/screenshots/screenshot.png) diff --git a/README_zh_Hans.md b/README_zh_Hans.md index b8d62d4..6f61c12 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,10 +19,8 @@ Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to GitHub. - **分发版本:** 1.22.0~ynh1 - ## 截图 ![Gitea 的截图](./doc/screenshots/screenshot.png)