2023-11-11 14:01:42 +01:00
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "galette"
|
|
|
|
name = "Galette"
|
|
|
|
description.en = "Membership management web application for non profit organizations"
|
|
|
|
description.fr = "Outil de gestion d'adhérents et de cotisation en ligne pour associations"
|
|
|
|
|
2023-11-11 14:51:31 +01:00
|
|
|
version = "1.0.0~ynh1"
|
2023-11-11 14:01:42 +01:00
|
|
|
|
|
|
|
maintainers = []
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "GPL-3.0-or-later"
|
|
|
|
website = "https://www.galette.eu"
|
|
|
|
demo = "https://demo.galette.eu/login"
|
|
|
|
admindoc = "https://doc.galette.eu/fr/master/"
|
|
|
|
code = "https://github.com/galette/galette"
|
|
|
|
|
|
|
|
[integration]
|
2023-11-11 14:14:26 +01:00
|
|
|
yunohost = ">= 11.2"
|
|
|
|
architectures = "all"
|
2023-11-11 14:01:42 +01:00
|
|
|
multi_instance = true
|
2023-11-11 14:29:11 +01:00
|
|
|
|
2023-11-11 14:14:26 +01:00
|
|
|
ldap = false
|
2023-11-11 14:29:11 +01:00
|
|
|
|
2023-11-11 14:14:26 +01:00
|
|
|
sso = false
|
|
|
|
|
|
|
|
disk = "50M"
|
2023-11-11 14:53:23 +01:00
|
|
|
ram.build = "150M"
|
2023-11-11 14:14:26 +01:00
|
|
|
ram.runtime = "50M"
|
2023-11-11 14:01:42 +01:00
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[install.path]
|
|
|
|
type = "path"
|
|
|
|
default = "/galette"
|
|
|
|
|
|
|
|
[install.init_main_permission]
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
|
|
|
[install.admin]
|
|
|
|
type = "user"
|
|
|
|
|
|
|
|
[install.password]
|
|
|
|
type = "password"
|
|
|
|
|
|
|
|
[install.database]
|
2023-11-11 14:20:15 +01:00
|
|
|
ask.en = "Choose SQL database you want"
|
|
|
|
ask.fr = "Choisissez la base de données SQL souhaitée"
|
2023-11-11 14:14:26 +01:00
|
|
|
type = "select"
|
2023-11-11 14:29:11 +01:00
|
|
|
choices = ["postgresql", "mysql"]
|
2023-11-11 15:03:52 +01:00
|
|
|
default = "postgresql"
|
2023-11-11 14:01:42 +01:00
|
|
|
|
|
|
|
[resources]
|
|
|
|
[resources.sources.main]
|
2023-11-11 14:51:31 +01:00
|
|
|
url = "https://github.com/galette/galette/releases/download/1.0.0rc2/galette-1.0.0-rc2-20231017-a030a93d5e.tar.bz2"
|
|
|
|
sha256 = "ad3d7aaf46b8a0980ddb9e98fb22db10d0d01b6742f1272b577e573791b16313"
|
2023-11-11 14:01:42 +01:00
|
|
|
|
|
|
|
[resources.system_user]
|
2023-11-11 15:25:55 +01:00
|
|
|
allow_email = true
|
2023-11-11 14:01:42 +01:00
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
|
|
|
|
2023-11-11 14:14:26 +01:00
|
|
|
[resources.apt]
|
2023-11-11 14:51:31 +01:00
|
|
|
packages = "php8.2-tidy, php8.2-intl, php8.2-mbstring, php8.2-xml, php8.2-gd, php8.2-curl"
|
2023-11-11 14:14:26 +01:00
|
|
|
|
|
|
|
packages_from_raw_bash = """
|
|
|
|
if [[ "$database" == "mysql" ]]; then
|
2023-11-11 14:51:31 +01:00
|
|
|
echo "mariadb-server, php8.2-mysql"
|
2023-11-11 14:14:26 +01:00
|
|
|
|
|
|
|
elif [[ "$database" == "postgresql" ]]; then
|
2023-11-11 14:51:31 +01:00
|
|
|
echo "postgresql, postgresql-contrib, php8.2-pgsql"
|
2023-11-11 14:14:26 +01:00
|
|
|
fi
|
|
|
|
"""
|