Compare commits

...

7 Commits

Author SHA1 Message Date
Rafi59 51a7340888 Merge branch 'testing' into 'master'
Testing

See merge request YunoHost-Apps/gitea_ynh!15
2018-06-12 18:25:57 +02:00
Rafi59 de58712602 Remove ynh_check_starting for the moment 2018-06-12 18:24:36 +02:00
Rafi59 a7322ea40a Merge branch 'master' into 'testing'
Fix commit error on master

See merge request YunoHost-Apps/gitea_ynh!14
2018-06-12 17:32:42 +02:00
Rafi59 f3a80a6316 Merge branch 'master' into 'master'
Fixes ; add support for other architectures ; bump to 1.4.2

See merge request YunoHost-Apps/gitea_ynh!12
2018-06-12 17:28:51 +02:00
Salamandar 59c3b7e1f6 Upgrade to 1.4.2 2018-06-12 14:33:21 +02:00
Salamandar 71ca75ae63 Fixes:
* use ynh_setup_source instead of wget
* do not fait on remove
2018-06-12 14:32:44 +02:00
Rafi59 c1ebf1e4e0 Merge branch 'testing' into 'master'
Testing

See merge request YunoHost-Apps/gitea_ynh!10
2018-06-07 14:45:31 +02:00
7 changed files with 12 additions and 10 deletions

View File

@ -1,4 +1,4 @@
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-arm-6
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.4.2/gitea-1.4.2-linux-arm-6
SOURCE_SUM=b1b20d5905cd275b384da2a08d36ed0730801f23fb33df5c45302c9a6ec62dc6
# (Optional) Program to check the integrity (sha256sum, md5sum...)
# default: sha256

View File

@ -1,4 +1,4 @@
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-386
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.4.2/gitea-1.4.2-linux-386
SOURCE_SUM=1b746cccffca446876ccc71efe328699f002622dab1d438e2142c8d7c23a22d7
# (Optional) Program to check the integrity (sha256sum, md5sum...)
# default: sha256

View File

@ -1,4 +1,4 @@
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-amd64
SOURCE_URL=https://github.com/go-gitea/gitea/releases/download/v1.4.2/gitea-1.4.2-linux-amd64
SOURCE_SUM=4f37b280eb9dcde7820e801e51ca07682faee703c220548da2f8aa9b6adb5231
# (Optional) Program to check the integrity (sha256sum, md5sum...)
# default: sha256

View File

@ -75,7 +75,7 @@ config_nginx
config_gitea
# Install gitea
wget -O gitea https://github.com/go-gitea/gitea/releases/download/v1.3.3/gitea-1.3.3-linux-amd64 $final_path/gitea
ynh_setup_source $final_path $architecture
# Set permissions
set_permission
@ -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"
systemctl gitea restart
# ynh_check_starting "Serving [::]:$port with pid" "/var/log/$app/gitea.log"
systemctl restart gitea

View File

@ -43,4 +43,6 @@ ynh_system_user_delete $app
ynh_remove_systemd_config
# Remove monitor
yunohost service remove "$app"
yunohost service remove "$app"
true # Do not fail if remove after install error

View File

@ -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"

View File

@ -67,7 +67,7 @@ then
ynh_secure_remove /opt/gogs
ynh_secure_remove /etc/gogs
ynh_secure_remove /opt/gogs_src
# create needed directories if not already created
create_dir
fi
@ -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"