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 #35 from YunoHost-Apps/ci-auto-update-4.1.0

Upgrade to v4.1.0
This commit is contained in:
eric_G 2024-04-19 18:10:08 +02:00 committed by GitHub
commit 992aed72f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 205 additions and 42 deletions

7
ALL_README.md Normal file
View file

@ -0,0 +1,7 @@
# All available README files by language
- [Read the README in English](README.md)
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)
- [阅读中文(简体)的 README](README_zh_Hans.md)

View file

@ -1,5 +1,5 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator N.B.: This README was automatically generated by <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
It shall NOT be edited by hand. It shall NOT be edited by hand.
--> -->
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
[![Install Omeka S with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=omeka-s) [![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)* *[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install Omeka S quickly and simply on a YunoHost server. > *This package allows you to install Omeka S quickly and simply on a YunoHost server.*
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
## Overview ## Overview
@ -23,9 +23,9 @@ Omeka S is a web publication system for universities, galleries, libraries, arch
- Connect to the semantic Web - Connect to the semantic Web
- Share with DPLA - Share with DPLA
**Shipped version:** 4.0.4~ynh1 **Shipped version:** 4.1.0~ynh1
**Demo:** https://omeka.org/s/download/#sandbox **Demo:** <https://omeka.org/s/download/#sandbox>
## Screenshots ## Screenshots
@ -33,17 +33,17 @@ Omeka S is a web publication system for universities, galleries, libraries, arch
## Documentation and resources ## Documentation and resources
* Official app website: <https://omeka.org/s/> - Official app website: <https://omeka.org/s/>
* Official user documentation: <https://omeka.org/s/docs/user-manual/> - Official user 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 Store: <https://apps.yunohost.org/app/omeka-s> - YunoHost Store: <https://apps.yunohost.org/app/omeka-s>
* Report a bug: <https://github.com/YunoHost-Apps/omeka-s_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-s_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:
```bash ```bash
sudo yunohost app install https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug

54
README_eu.md Normal file
View file

@ -0,0 +1,54 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# Omeka S YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/omeka-s.svg)](https://dash.yunohost.org/appci/app/omeka-s) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/omeka-s.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/omeka-s.maintain.svg)
[![Instalatu Omeka S YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=omeka-s)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek Omeka S YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
Omeka S is a web publication system for universities, galleries, libraries, archives, and museums. It consists of a local network of independently curated exhibits sharing a collaboratively built pool of items, media, and their metadata.
### Features
- Connect to the semantic Web
- Share with DPLA
**Paketatutako bertsioa:** 4.1.0~ynh1
**Demoa:** <https://omeka.org/s/download/#sandbox>
## Pantaila-argazkiak
![Omeka S(r)en pantaila-argazkia](./doc/screenshots/omeka-s.png)
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://omeka.org/s/>
- Erabiltzaileen dokumentazio ofiziala: <https://omeka.org/s/docs/user-manual/>
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/omeka/omeka-s>
- YunoHost Denda: <https://apps.yunohost.org/app/omeka-s>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/omeka-s_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
edo
sudo yunohost app upgrade omeka-s -u https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -1,6 +1,6 @@
<!-- <!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator Nota bene: ce README est automatiquement généré par <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
It shall NOT be edited by hand. Il NE doit PAS être modifié à la main.
--> -->
# Omeka S pour YunoHost # Omeka S pour YunoHost
@ -9,10 +9,10 @@ It shall NOT be edited by hand.
[![Installer Omeka S avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=omeka-s) [![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)* *[Lire le README dans d'autres langues.](./ALL_README.md)*
> *Ce package vous permet dinstaller Omeka S rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller Omeka S 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.* > *Si vous navez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment linstaller et en profiter.*
## Vue densemble ## Vue densemble
@ -23,9 +23,9 @@ Omeka S est un système de publication Web pour les universités, les galeries,
- Se connecter au Web sémantique - Se connecter au Web sémantique
- Partager avec DPLA - Partager avec DPLA
**Version incluse :** 4.0.4~ynh1 **Version incluse:** 4.1.0~ynh1
**Démo :** https://omeka.org/s/download/#sandbox **Démo:** <https://omeka.org/s/download/#sandbox>
## Captures décran ## Captures décran
@ -33,17 +33,17 @@ Omeka S est un système de publication Web pour les universités, les galeries,
## Documentations et ressources ## Documentations et ressources
* Site officiel de lapp : <https://omeka.org/s/> - Site officiel de lapp: <https://omeka.org/s/>
* Documentation officielle utilisateur : <https://omeka.org/s/docs/user-manual/> - Documentation officielle utilisateur: <https://omeka.org/s/docs/user-manual/>
* Dépôt de code officiel de lapp : <https://github.com/omeka/omeka-s> - Dépôt de code officiel de lapp: <https://github.com/omeka/omeka-s>
* YunoHost Store: <https://apps.yunohost.org/app/omeka-s> - YunoHost Store: <https://apps.yunohost.org/app/omeka-s>
* Signaler un bug : <https://github.com/YunoHost-Apps/omeka-s_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-s_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:
```bash ```bash
sudo yunohost app install https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug sudo yunohost app install https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
@ -51,4 +51,4 @@ ou
sudo yunohost app upgrade omeka-s -u https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug sudo yunohost app upgrade omeka-s -u https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
``` ```
**Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications:** <https://yunohost.org/packaging_apps>

54
README_gl.md Normal file
View file

@ -0,0 +1,54 @@
<!--
NOTA: Este README foi creado automáticamente por <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
NON debe editarse manualmente.
-->
# Omeka S para YunoHost
[![Nivel de integración](https://dash.yunohost.org/integration/omeka-s.svg)](https://dash.yunohost.org/appci/app/omeka-s) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/omeka-s.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/omeka-s.maintain.svg)
[![Instalar Omeka S con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=omeka-s)
*[Le este README en outros idiomas.](./ALL_README.md)*
> *Este paquete permíteche instalar Omeka S de xeito rápido e doado nun servidor YunoHost.*
> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.*
## Vista xeral
Omeka S is a web publication system for universities, galleries, libraries, archives, and museums. It consists of a local network of independently curated exhibits sharing a collaboratively built pool of items, media, and their metadata.
### Features
- Connect to the semantic Web
- Share with DPLA
**Versión proporcionada:** 4.1.0~ynh1
**Demo:** <https://omeka.org/s/download/#sandbox>
## Capturas de pantalla
![Captura de pantalla de Omeka S](./doc/screenshots/omeka-s.png)
## Documentación e recursos
- Web oficial da app: <https://omeka.org/s/>
- Documentación oficial para usuarias: <https://omeka.org/s/docs/user-manual/>
- Repositorio de orixe do código: <https://github.com/omeka/omeka-s>
- Tenda YunoHost: <https://apps.yunohost.org/app/omeka-s>
- Informar dun problema: <https://github.com/YunoHost-Apps/omeka-s_ynh/issues>
## Info de desenvolvemento
Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing).
Para probar a rama `testing`, procede deste xeito:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
ou
sudo yunohost app upgrade omeka-s -u https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
```
**Máis info sobre o empaquetado da app:** <https://yunohost.org/packaging_apps>

54
README_zh_Hans.md Normal file
View file

@ -0,0 +1,54 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# YunoHost 的 Omeka S
[![集成程度](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)
[![使用 YunoHost 安装 Omeka S](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=omeka-s)
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Omeka S。*
> *如果您还没有 YunoHost请参阅[指南](https://yunohost.org/install)了解如何安装它。*
## 概况
Omeka S is a web publication system for universities, galleries, libraries, archives, and museums. It consists of a local network of independently curated exhibits sharing a collaboratively built pool of items, media, and their metadata.
### Features
- Connect to the semantic Web
- Share with DPLA
**分发版本:** 4.1.0~ynh1
**演示:** <https://omeka.org/s/download/#sandbox>
## 截图
![Omeka S 的截图](./doc/screenshots/omeka-s.png)
## 文档与资源
- 官方应用网站: <https://omeka.org/s/>
- 官方用户文档: <https://omeka.org/s/docs/user-manual/>
- 上游应用代码库: <https://github.com/omeka/omeka-s>
- YunoHost 商店: <https://apps.yunohost.org/app/omeka-s>
- 报告 bug <https://github.com/YunoHost-Apps/omeka-s_ynh/issues>
## 开发者信息
请向 [`testing` 分支](https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing) 发送拉取请求。
如要尝试 `testing` 分支,请这样操作:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
sudo yunohost app upgrade omeka-s -u https://github.com/YunoHost-Apps/omeka-s_ynh/tree/testing --debug
```
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>

View file

@ -5,7 +5,7 @@ name = "Omeka S"
description.en = "Web publication system for universities, galleries, libraries, archives, and museums" description.en = "Web publication system for universities, galleries, libraries, archives, and museums"
description.fr = "Système de publication Web pour les universités, les galeries, les bibliothèques, les archives et les musées" description.fr = "Système de publication Web pour les universités, les galeries, les bibliothèques, les archives et les musées"
version = "4.0.4~ynh1" version = "4.1.0~ynh1"
maintainers = ["eric_G"] maintainers = ["eric_G"]
@ -48,8 +48,8 @@ ram.runtime = "50M"
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/omeka/omeka-s/releases/download/v4.0.4/omeka-s-4.0.4.zip" url = "https://github.com/omeka/omeka-s/releases/download/v4.1.0/omeka-s-4.1.0.zip"
sha256 = "6162a2621a20e9110bf376b0866da407f4f8ea82932fcaaef467202f0d83d9f3" sha256 = "bc0f87c07906c1aef1538b8cd1ab1ee9c3c3fe227ffea96b433a691fbd72d05f"
autoupdate.strategy = "latest_github_tag" autoupdate.strategy = "latest_github_tag"
[resources.system_user] [resources.system_user]

View file

@ -9,8 +9,6 @@
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
# ENSURE DOWNWARD COMPATIBILITY # ENSURE DOWNWARD COMPATIBILITY
#================================================= #=================================================
@ -37,14 +35,10 @@ fi
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="config/local.config.php config/database.ini modules themes files" ynh_setup_source --dest_dir="$install_dir" --keep="config/local.config.php config/database.ini modules themes files"
fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"