1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redmine_ynh.git synced 2024-09-03 20:16:16 +02:00

Merge pull request #15 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2023-01-16 22:03:44 +01:00 committed by GitHub
commit 1f26310dc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 50 additions and 20 deletions

View file

@ -18,8 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Redmine is a flexible project management web application written using Ruby on Rails framework.
**Shipped version:** 4.2.7~ynh1
**Shipped version:** 5.0.4~ynh1
## Screenshots

View file

@ -5,25 +5,24 @@ It shall NOT be edited by hand.
# Redmine pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/redmine.svg)](https://dash.yunohost.org/appci/app/redmine) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/redmine.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/redmine.maintain.svg)
[![Niveau dintégration](https://dash.yunohost.org/integration/redmine.svg)](https://dash.yunohost.org/appci/app/redmine) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/redmine.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/redmine.maintain.svg)
[![Installer Redmine avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=redmine)
*[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer Redmine 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 dinstaller Redmine rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble
## Vue densemble
Redmine est une application web de gestion de projet flexible écrite à l'aide du framework Ruby on Rails.
**Version incluse :** 4.2.7~ynh1
**Version incluse :** 5.0.4~ynh1
## Captures décran
## Captures d'écran
![Capture d'écran de Redmine](./doc/screenshots/Redmine-demo.png)
![Capture décran de Redmine](./doc/screenshots/Redmine-demo.png)
## Avertissements / informations importantes
@ -36,8 +35,8 @@ Vous pouvez aller dans le menu Administration et choisir Paramètres pour modifi
## Documentations et ressources
* Site officiel de l'app : <https://www.redmine.org>
* Dépôt de code officiel de l'app : <https://github.com/redmine/redmine>
* Site officiel de lapp : <https://www.redmine.org>
* Dépôt de code officiel de lapp : <https://github.com/redmine/redmine>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_redmine>
* Signaler un bug : <https://github.com/YunoHost-Apps/redmine_ynh/issues>
@ -53,4 +52,4 @@ ou
sudo yunohost app upgrade redmine -u https://github.com/YunoHost-Apps/redmine_ynh/tree/testing --debug
```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -11,8 +11,6 @@
setup_private=1
setup_public=1
upgrade=1
# 4.2.4~ynh1
upgrade=1 from_commit=6277cb3c4fa367d87b83895961f7733a7a278fe1
# 4.2.4~ynh2
upgrade=1 from_commit=758922052169f08178c704d889246532fe5fae83
backup_restore=1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/redmine/redmine/archive/refs/tags/4.2.7.tar.gz
SOURCE_SUM=aa413ed529da0576c08f2d42ab65555692dd40a632604fb22fa60b20338b0ff9
SOURCE_URL=https://github.com/redmine/redmine/archive/refs/tags/5.0.4.tar.gz
SOURCE_SUM=131ef749ac40af475374659d69dfa53e02a520c6354857fc24dfce5b9443cad3
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -16,5 +16,39 @@ TimeoutSec=30
RestartSec=15s
Restart=always
# Sandboxing options to harden security
# Depending on specificities of your service/app, you may need to tweak these
# .. but this should be a good baseline
# Details for these options: https://www.freedesktop.org/software/systemd/man/systemd.exec.html
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
RestrictNamespaces=yes
RestrictRealtime=yes
DevicePolicy=closed
ProtectClock=yes
ProtectHostname=yes
ProtectProc=invisible
ProtectSystem=full
ProtectControlGroups=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
LockPersonality=yes
SystemCallArchitectures=native
SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap @cpu-emulation @privileged
# Denying access to capabilities that should not be relevant for webapps
# Doc: https://man7.org/linux/man-pages/man7/capabilities.7.html
CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD
CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE
CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_TIME CAP_SYS_MODULE CAP_SYS_PACCT
CapabilityBoundingSet=~CAP_LEASE CAP_LINUX_IMMUTABLE CAP_IPC_LOCK
CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_WAKE_ALARM
CapabilityBoundingSet=~CAP_SYS_TTY_CONFIG
CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE
CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW
CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG
[Install]
WantedBy=multi-user.target

View file

@ -6,7 +6,7 @@
"en": "Flexible project management web application",
"fr": "Gestionnaire de projet flexible sous forme d'application web"
},
"version": "4.2.7~ynh1",
"version": "5.0.4~ynh1",
"url": "https://www.redmine.org/",
"upstream": {
"license": "GPL-2.0",
@ -19,7 +19,7 @@
"email": "liberodark@gmail.com"
},
"requirements": {
"yunohost": ">= 4.3.0"
"yunohost": ">= 11.0.9"
},
"multi_instance": true,
"services": [

View file

@ -84,7 +84,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/config/database.yml $final_path/config/configuration.yml"
ynh_setup_source --dest_dir="$final_path" --keep="config/database.yml config/configuration.yml"
fi
mkdir -p "$final_path/files" "$final_path/log" "$final_path/tmp" "$final_path/public/plugin_assets"