Merge branch 'testing' into 'master'

Testing

See merge request YunoHost-Apps/gitea_ynh!15
This commit is contained in:
Rafi59 2018-06-12 18:25:57 +02:00
commit 51a7340888
4 changed files with 7 additions and 8 deletions

View File

@ -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) [![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) [![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 ## Requirements
A functional instance of [YunoHost](https://yunohost.org) A functional instance of [YunoHost](https://yunohost.org)
## Installation ## Installation
From the command-line: 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 ## Upgrade
From the command-line: 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 ## 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: 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:
@ -47,7 +46,7 @@ Architecture: this package is compatible with amd64, i386 and arm. The package w
## Issue ## 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 ## License
Gitea is published under the MIT License: Gitea is published under the MIT License:

View File

@ -111,5 +111,5 @@ yunohost service add "$app" --log "/var/log/$app/$app.log"
ynh_use_logrotate "/var/log/$app" ynh_use_logrotate "/var/log/$app"
# Reload services # 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 systemctl restart gitea

View File

@ -63,4 +63,4 @@ yunohost service add "$app" --log /var/log/"$app"/"$app".log
# Reload services # Reload services
systemctl reload nginx.service 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"

View File

@ -107,4 +107,4 @@ config_nginx
set_permission set_permission
# Reload services # 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"