forgejo_ynh/manifest.toml
2024-02-10 17:52:18 +01:00

87 lines
2.5 KiB
TOML

packaging_format = 2
id = "forgejo"
name = "Forgejo"
description.en = "Lightweight software forge"
description.fr = "Forge logiciel légère"
version = "1.21.5-0~ynh1"
maintainers = ["Emmanuel Averty"]
[upstream]
license = "MIT"
website = "https://forgejo.org"
admindoc = "https://forgejo.org/docs/latest/admin/"
userdoc = "https://forgejo.org/docs/latest/user/"
code = "https://codeberg.org/forgejo/forgejo"
[integration]
yunohost = ">= 11.2"
architectures = ["amd64", "arm64", "armhf"]
multi_instance = true
ldap = true
sso = true
disk = "150M"
ram.build = "50M"
ram.runtime = "2G"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/forgejo"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.init_admin_permission]
ask.en = "Which group will have access to forgejo admin page (broken feature : see appliction description)"
ask.fr = "Quel groupe aura accès à l'administration de forgejo (ne fonctionne pas : voir la description de l'application)"
help.en = "Users of this group should have access to Forgejo admin page"
help.fr = "Les utilisateurs de ce groupe devrait avoir accès à la page d'administration de Forgejo"
type = "group"
default = "admins"
[resources]
[resources.sources.main]
amd64.url = "https://codeberg.org/forgejo/forgejo/releases/download/v1.21.5-0/forgejo-1.21.5-0-linux-amd64.xz"
amd64.sha256 = "c288aac36bff1d1a699537694e49b74bbf01d5ddf88e53193f97f6fbd8f26512"
arm64.url = "https://codeberg.org/forgejo/forgejo/releases/download/v1.21.5-0/forgejo-1.21.5-0-linux-arm64.xz"
arm64.sha256 = "a2c481b6c72886d5d0b7b79f24ee06d589d1c65db7412bf3de59ff664360aecb"
armhf.url = "https://codeberg.org/forgejo/forgejo/releases/download/v1.21.5-0/forgejo-1.21.5-0-linux-arm-6.xz"
armhf.sha256 = "7bb71546249d1a69f1146d6bd5f6b537661af18c82b27ca5d459e209b1f8249d"
format = "whatever"
extract = false # will be extracted during install script
rename = "forgejo.xz"
[resources.system_user]
allow_ssh = true
[resources.ports]
main.default = 6000
[resources.install_dir]
[resources.data_dir]
[resources.permissions]
main.url = "/"
admin.show_tile = false
admin.auth_header = false
admin.protected = true
api.url = "/api"
api.show_tile = false
api.allowed = "visitors"
api.auth_header = false
[resources.apt]
packages = "postgresql"
[resources.database]
type = "postgresql"