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

Reorder sources, add autoupdate

This commit is contained in:
Salamandar 2024-03-22 23:21:21 +01:00
parent af96ff8b18
commit b367612023

View file

@ -57,16 +57,20 @@ ram.runtime = "50M"
type = "password" type = "password"
[resources] [resources]
[resources.sources] [resources.sources.main]
url = "https://piwigo.org/download/dlcounter.php?code=14.3.0"
sha256 = "ab1d329afbb092ef74534bc09f56ef75a81d26443383e6ae47fe9801808552ef"
format = "zip"
autoupdate.strategy = "latest_github_release"
[resources.sources.ldap_plugin] [resources.sources.ldap_plugin]
url = "https://piwigo.org/ext/download.php?rid=7036" url = "https://piwigo.org/ext/download.php?rid=7036"
sha256 = "3c22652f6c0653aaeebe239435796748ee57612ad44e8e5f2553277545d36e5e" sha256 = "3c22652f6c0653aaeebe239435796748ee57612ad44e8e5f2553277545d36e5e"
format = "zip" format = "zip"
[resources.sources.main] autoupdate.upstream = "https://github.com/kipjr/ldap_login"
url = "https://piwigo.org/download/dlcounter.php?code=14.3.0" autoupdate.strategy = "latest_github_release"
sha256 = "ab1d329afbb092ef74534bc09f56ef75a81d26443383e6ae47fe9801808552ef"
format = "zip"
[resources.sources.log_failed_logins_plugin] [resources.sources.log_failed_logins_plugin]
url = "http://piwigo.org/ext/download.php?rid=5525" url = "http://piwigo.org/ext/download.php?rid=5525"
@ -85,7 +89,16 @@ ram.runtime = "50M"
main.url = "/" main.url = "/"
[resources.apt] [resources.apt]
packages = "mariadb-server, imagemagick, php8.0-gd, php8.0-imagick, php8.0-xml, php8.0-mbstring, php8.0-mysqli, php8.0-ldap" packages = [
"mariadb-server",
"imagemagick",
"php8.0-gd",
"php8.0-imagick",
"php8.0-xml",
"php8.0-mbstring",
"php8.0-mysqli",
"php8.0-ldap",
]
[resources.database] [resources.database]
type = "mysql" type = "mysql"