1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/omeka-s_ynh.git synced 2024-09-03 19:56:05 +02:00

Merge pull request #2 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2021-08-09 16:31:25 +02:00 committed by GitHub
commit f4487c3681
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 61 deletions

View file

@ -5,8 +5,8 @@ It shall NOT be edited by hand.
# Omeka S for YunoHost # Omeka S for YunoHost
[![Integration level](https://dash.yunohost.org/integration/omeka.svg)](https://dash.yunohost.org/appci/app/omeka) ![](https://ci-apps.yunohost.org/ci/badges/omeka.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/omeka.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/omeka-s.svg)](https://dash.yunohost.org/appci/app/omeka-s) ![](https://ci-apps.yunohost.org/ci/badges/omeka-s.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/omeka-s.maintain.svg)
[![Install Omeka S with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=omeka) [![Install Omeka S with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=omeka-s)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -31,18 +31,18 @@ Web publication system for universities, galleries, libraries, archives, and mus
* Official user documentation: https://yunohost.org/apps * Official user documentation: https://yunohost.org/apps
* Official admin documentation: https://omeka.org/s/docs/user-manual/ * Official admin documentation: https://omeka.org/s/docs/user-manual/
* Upstream app code repository: https://github.com/omeka/omeka-s * Upstream app code repository: https://github.com/omeka/omeka-s
* YunoHost documentation for this app: https://yunohost.org/app_omeka * YunoHost documentation for this app: https://yunohost.org/app_omeka-s
* Report a bug: https://github.com/YunoHost-Apps/omeka_ynh/issues * Report a bug: https://github.com/YunoHost-Apps/omeka-s_ynh/issues
## Developer info ## Developer info
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/omeka_ynh/tree/testing). Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing).
To try the testing branch, please proceed like that. To try the testing branch, please proceed like that.
``` ```
sudo yunohost app install https://github.com/YunoHost-Apps/omeka_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
or or
sudo yunohost app upgrade omeka -u https://github.com/YunoHost-Apps/omeka_ynh/tree/testing --debug sudo yunohost app upgrade omeka-s -u https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
``` ```
**More info regarding app packaging:** https://yunohost.org/packaging_apps **More info regarding app packaging:** https://yunohost.org/packaging_apps

View file

@ -1,7 +1,7 @@
# Omeka S pour YunoHost # Omeka S pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/omeka.svg)](https://dash.yunohost.org/appci/app/omeka) ![](https://ci-apps.yunohost.org/ci/badges/omeka.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/omeka.maintain.svg) [![Niveau d'intégration](https://dash.yunohost.org/integration/omeka-s.svg)](https://dash.yunohost.org/appci/app/omeka-s) ![](https://ci-apps.yunohost.org/ci/badges/omeka-s.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/omeka-s.maintain.svg)
[![Installer Omeka S avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=omeka) [![Installer Omeka S avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=omeka-s)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -27,18 +27,18 @@ Système de publication Web pour les universités, les galeries, les bibliothèq
* Documentation officielle utilisateur : https://yunohost.org/apps * Documentation officielle utilisateur : https://yunohost.org/apps
* Documentation officielle de l'admin : https://omeka.org/s/docs/user-manual/ * Documentation officielle de l'admin : https://omeka.org/s/docs/user-manual/
* Dépôt de code officiel de l'app : https://github.com/omeka/omeka-s * Dépôt de code officiel de l'app : https://github.com/omeka/omeka-s
* Documentation YunoHost pour cette app : https://yunohost.org/app_omeka * Documentation YunoHost pour cette app : https://yunohost.org/app_omeka-s
* Signaler un bug : https://github.com/YunoHost-Apps/omeka_ynh/issues * Signaler un bug : https://github.com/YunoHost-Apps/omeka-s_ynh/issues
## Informations pour les développeurs ## Informations pour les développeurs
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/omeka_ynh/tree/testing). Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing).
Pour essayer la branche testing, procédez comme suit. Pour essayer la branche testing, procédez comme suit.
``` ```
sudo yunohost app install https://github.com/YunoHost-Apps/omeka_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
ou ou
sudo yunohost app upgrade omeka -u https://github.com/YunoHost-Apps/omeka_ynh/tree/testing --debug sudo yunohost app upgrade omeka-s -u https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps **Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps

View file

@ -1,45 +0,0 @@
[Unit]
Description=Small description of the service
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/script
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit
# 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
RestrictNamespaces=yes
RestrictRealtime=yes
DevicePolicy=closed
ProtectSystem=full
ProtectControlGroups=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
LockPersonality=yes
SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap
# 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

@ -1,6 +1,6 @@
{ {
"name": "Omeka S", "name": "Omeka S",
"id": "omeka", "id": "omeka-s",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "Web publication system for universities, galleries, libraries, archives, and museums", "en": "Web publication system for universities, galleries, libraries, archives, and museums",
@ -18,7 +18,7 @@
}, },
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"maintainer": { "maintainer": {
"name": "", "name": "eric_G",
"email": "" "email": ""
}, },
"requirements": { "requirements": {