yunohost-gitea_ynh/manifest.toml

111 lines
3.2 KiB
TOML

#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "gitea"
name = "Gitea"
description.en = "Lightweight Git forge"
description.fr = "Forge Git légère"
version = "1.21.11~ynh1"
maintainers = ["Josué Tille"]
# previous_maintainers = [
# "rafi59"
# ]
[upstream]
license = "MIT"
website = "https://gitea.io/"
admindoc = "https://docs.gitea.io/"
code = "https://github.com/go-gitea/gitea"
cpe = "cpe:2.3:a:gitea:gitea"
fund = "https://opencollective.com/gitea"
[integration]
yunohost = ">= 11.2"
architectures = [
"amd64",
"i386",
"armhf",
"arm64"
]
multi_instance = true
ldap = true
sso = true
disk = "120M"
ram.build = "0M"
ram.runtime = "100M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/gitea"
[install.init_main_permission]
help.en = "Gitea should be visible by visitors to use git via HTTP and to use the API. You can still set repositories as private individually."
help.fr = "Gitea doit être visible par les visiteurs pour utiliser git via HTTP et utiliser l'API. Vous pouvez toujours rendre les dépôts privés individuellement."
type = "group"
default = "visitors"
[install.init_admin_permission]
ask.en = "Which group will have access to Gitea admin page"
ask.fr = "Quel groupe aura accès à l'administration de Gitea"
help.en = "Users of this group should have access to Gitea admin page"
help.fr = "Les utilisateurs de ce groupe devrait avoir accès à la page d'administration de Gitea"
type = "group"
default = "admins"
[resources]
[resources.sources.main]
extract = false
rename = "gitea"
armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-arm-6"
armhf.sha256 = "bd81e208cf041d1bb0cde558b2808d96d0014066f8d572dfb569ee1fb0e707de"
arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-arm64"
arm64.sha256 = "1bdbb3507067b3db9c2178be0bc038c2549fddb4eafff96d4a7c0010c7d1e404"
i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-386"
i386.sha256 = "5e97e6047540b01038aed80eb147bd17f4e071edabb88c4be9466517d71e4daf"
amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.11/gitea-1.21.11-linux-amd64"
amd64.sha256 = "238056fa4616633a9ec5a358aac75275bd3f271d5e5238af3dd5f22c713fe97e"
autoupdate.strategy = "latest_github_release"
autoupdate.asset.armhf = "^gitea-.*-linux-arm-6$"
autoupdate.asset.arm64 = "^gitea-.*-linux-arm64$"
autoupdate.asset.i386 = "^gitea-.*-linux-386$"
autoupdate.asset.amd64 = "^gitea-.*-linux-amd64$"
[resources.system_user]
home = "/home/yunohost.app/__APP__"
allow_ssh = true
allow_email = true
[resources.install_dir]
dir = "/opt/yunohost/__APP__"
[resources.data_dir]
[resources.permissions]
main.url = "/"
admin.show_tile = false
admin.auth_header = false
admin.label = "Admins"
[resources.ports]
main.default = 6000
[resources.apt]
packages = [
"mariadb-server"
]
[resources.database]
type = "mysql"