1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kimai2_ynh.git synced 2024-09-03 19:26:26 +02:00
* Upgrade to v2.19.1 (#109)

* Upgrade sources
- `main` v2.19.1: https://github.com/kevinpapst/kimai2/releases/tag/2.19.1

* Auto-update READMEs

* Update manifest.toml (#107)

Upgrade php to v8.3

* Update manifest.toml

* Auto-update READMEs

* Update backup

* cleaning

* Upgrade to v2.20.1 (#112)

* Upgrade sources
- `main` v2.20.1: https://github.com/kevinpapst/kimai2/releases/tag/2.20.1

* Auto-update READMEs

* Auto-update READMEs

* Keep logs and plugins (#114)

* Update upgrade

Update files to keep during upgrade

* Update manifest.toml

Update APT sources

---------

Co-authored-by: YunoHost Bot <yunohost-bot@users.noreply.github.com>
Co-authored-by: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
eric_G 2024-08-24 19:08:15 +02:00 committed by GitHub
parent 36dd96a3ef
commit 15cbaa3b30
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 17 additions and 16 deletions

View file

@ -19,7 +19,7 @@ It shall NOT be edited by hand.
Kimai v2 has nothing in common with its predecessor Kimai v1 besides the basic ideas of time-tracking and the current development team. It is based on a lot of great frameworks. Special thanks to Symfony v4, Doctrine, AdminThemeBundle (based on AdminLTE).
**Shipped version:** 2.19.1~ynh2
**Shipped version:** 2.20.1~ynh1
**Demo:** <https://www.kimai.org/demo/>

View file

@ -19,7 +19,7 @@ No se debe editar a mano.
Kimai v2 has nothing in common with its predecessor Kimai v1 besides the basic ideas of time-tracking and the current development team. It is based on a lot of great frameworks. Special thanks to Symfony v4, Doctrine, AdminThemeBundle (based on AdminLTE).
**Versión actual:** 2.19.1~ynh2
**Versión actual:** 2.20.1~ynh1
**Demo:** <https://www.kimai.org/demo/>

View file

@ -19,7 +19,7 @@ EZ editatu eskuz.
Kimai v2 has nothing in common with its predecessor Kimai v1 besides the basic ideas of time-tracking and the current development team. It is based on a lot of great frameworks. Special thanks to Symfony v4, Doctrine, AdminThemeBundle (based on AdminLTE).
**Paketatutako bertsioa:** 2.19.1~ynh2
**Paketatutako bertsioa:** 2.20.1~ynh1
**Demoa:** <https://www.kimai.org/demo/>

View file

@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
Kimai v2 has nothing in common with its predecessor Kimai v1 besides the basic ideas of time-tracking and the current development team. It is based on a lot of great frameworks. Special thanks to Symfony v4, Doctrine, AdminThemeBundle (based on AdminLTE).
**Version incluse:** 2.19.1~ynh2
**Version incluse:** 2.20.1~ynh1
**Démo:** <https://www.kimai.org/demo/>

View file

@ -19,7 +19,7 @@ NON debe editarse manualmente.
Kimai v2 has nothing in common with its predecessor Kimai v1 besides the basic ideas of time-tracking and the current development team. It is based on a lot of great frameworks. Special thanks to Symfony v4, Doctrine, AdminThemeBundle (based on AdminLTE).
**Versión proporcionada:** 2.19.1~ynh2
**Versión proporcionada:** 2.20.1~ynh1
**Demo:** <https://www.kimai.org/demo/>

View file

@ -19,7 +19,7 @@ Ini TIDAK boleh diedit dengan tangan.
Kimai v2 has nothing in common with its predecessor Kimai v1 besides the basic ideas of time-tracking and the current development team. It is based on a lot of great frameworks. Special thanks to Symfony v4, Doctrine, AdminThemeBundle (based on AdminLTE).
**Versi terkirim:** 2.19.1~ynh2
**Versi terkirim:** 2.20.1~ynh1
**Demo:** <https://www.kimai.org/demo/>

View file

@ -19,7 +19,7 @@
Kimai v2 has nothing in common with its predecessor Kimai v1 besides the basic ideas of time-tracking and the current development team. It is based on a lot of great frameworks. Special thanks to Symfony v4, Doctrine, AdminThemeBundle (based on AdminLTE).
**分发版本:** 2.19.1~ynh2
**分发版本:** 2.20.1~ynh1
**演示:** <https://www.kimai.org/demo/>

View file

@ -9,7 +9,9 @@ description.fr = "Application multi-utilisateurs de suivi du temps compatible av
description.de = "Eine web-basierte Mehrbenutzer-Zeiterfassung mit Rechnungsdruck mit Unterstützung für mobile Endgeräte"
description.cs = "Víceuživatelská webová aplikace pro sledování času s podporou mobilních zařízení"
version = "2.19.1~ynh2"
version = "2.20.1~ynh1"
maintainers = []
@ -55,8 +57,8 @@ ram.runtime = "80M"
[resources]
[resources.sources.main]
url = "https://github.com/kevinpapst/kimai2/archive/refs/tags/2.19.1.tar.gz"
sha256 = "d3e3a50518fef5aeb26982b2436c9c69c2a3454978a026852cd3533e7670118d"
url = "https://github.com/kevinpapst/kimai2/archive/refs/tags/2.20.1.tar.gz"
sha256 = "4bdeafaed831061c6981cb8059a9458564cde6ea8a49e359edbb3b41ebbdbbb3"
autoupdate.strategy = "latest_github_tag"
@ -82,12 +84,12 @@ ram.runtime = "80M"
"php8.3-json",
"php8.3-mbstring",
"php8.3-pdo",
"php8.3-zip",
"php8.3-tokenizer",
"php8.3-xml",
"php8.3-zip",
"php8.3-xsl",
"php8.3-ldap",
"php8.3-mysql",
"php8.3-sqlite3",
"mariadb-server",
]

View file

@ -28,12 +28,11 @@ if ynh_compare_current_package_version --comparison le --version 1.30.0~ynh1; th
ynh_script_progression --message="Doing a hard cache flush for major Kimai 2 update from version 1.x to 2.x"
# Download, check integrity, uncompress and patch the source from app.src
# Remove local.yaml as recommended for major version upgrade https://github.com/kimai/kimai/blob/main/UPGRADING.md
# As a full_replace (see https://www.kimai.org/documentation/updates.html) is performed keep .env file
ynh_setup_source --dest_dir="$install_dir" --keep=".env var/invoices/ var/data/" --full_replace=1
# Remove var/cache/* and var/plugins/* as recommended for major version upgrade https://github.com/kimai/kimai/blob/main/UPGRADING.md
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env var/data/ var/invoices/ var/log/"
else
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/packages/local.yaml var/invoices/ var/data/"
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env var/cache/ var/data/ var/invoices/ var/log/ var/plugins/ "
fi
chmod 750 "$install_dir"