From c4f6a7b89d23d18eb0a64dbba958a88bee7d3b1e Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Thu, 7 Jun 2018 13:10:43 +0200 Subject: [PATCH 1/3] New README --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 98d0f37..742dcd7 100644 --- a/README.md +++ b/README.md @@ -5,22 +5,21 @@ Gitea is a fork of Gogs a self-hosted Git service written in Go. Alternative to [![Integration level](https://dash.yunohost.org/integration/gitea.svg)](https://ci-apps.yunohost.org/jenkins/job/gitea%20%28Community%29/lastBuild/consoleFull) -[![Build Status](https://srvmaison.fr.nf/jenkins/job/gitea%20(Community)%20stable/badge/icon)](https://srvmaison.fr.nf/jenkins/job/gitea%20(Community)%20stable/) - [![Install Gitea with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=gitea) +![](https://gitea.io/images/screenshot.png) ## Requirements A functional instance of [YunoHost](https://yunohost.org) ## Installation From the command-line: -`sudo yunohost app install https://github.com/YunoHost-Apps/gitea_ynh` +`sudo yunohost app install https://framagit.org/YunoHost-Apps/gitea_ynh` ## Upgrade From the command-line: -`sudo yunohost app upgrade Gitea -u https://github.com/YunoHost-Apps/gogs_ynh gogs` +`sudo yunohost app upgrade Gitea -u https://framagit.org/YunoHost-Apps/gitea_ynh gitea` ## Notes on SSH usage If you want to use Gitea with ssh and be able to pull/push with you ssh key, your ssh daemon must be properly configured to use private/public keys. Here is a sample configuration of `/etc/ssh/sshd_config` that works with Gitea: From c64abee4ef0142986cc1d0fb84e09c637c145788 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Thu, 7 Jun 2018 16:56:23 +0200 Subject: [PATCH 2/3] Replace GitHub by Framagit in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 742dcd7..701726f 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Architecture: this package is compatible with amd64, i386 and arm. The package w ## Issue -Any issue is welcome here : https://github.com/YunoHost-Apps/gitea_ynh/issues +Any issue is welcome here : https://framagit.org/YunoHost-Apps/gitea_ynh/issues ## License Gitea is published under the MIT License: From de587126027882cc4e4c9e8336a6a76d51923768 Mon Sep 17 00:00:00 2001 From: Rafi59 Date: Tue, 12 Jun 2018 18:24:36 +0200 Subject: [PATCH 3/3] Remove ynh_check_starting for the moment --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index a4036c2..a821a32 100644 --- a/scripts/install +++ b/scripts/install @@ -111,5 +111,5 @@ yunohost service add "$app" --log "/var/log/$app/$app.log" ynh_use_logrotate "/var/log/$app" # Reload services -ynh_check_starting "Serving [::]:$port with pid" "/var/log/$app/gitea.log" +# ynh_check_starting "Serving [::]:$port with pid" "/var/log/$app/gitea.log" systemctl restart gitea diff --git a/scripts/restore b/scripts/restore index 3ea6635..c9aaf05 100644 --- a/scripts/restore +++ b/scripts/restore @@ -63,4 +63,4 @@ yunohost service add "$app" --log /var/log/"$app"/"$app".log # Reload services systemctl reload nginx.service -ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gogs.log" +# ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gogs.log" diff --git a/scripts/upgrade b/scripts/upgrade index 8c4b740..1044149 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -107,4 +107,4 @@ config_nginx set_permission # Reload services -ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gogs.log" +# ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gogs.log"