yunohost-gitea_ynh/manifest.toml
Félix Piédallu 60cb5e5ae4 Migrate to manifestv2 and other changes:
* Move app install dir from /opt to /var/www
* Revamp the way binaries are downloaded thanks to manifestv2 (no need to check for arch, etc)
* Remove custom helpers (exec_as, ynh_handle_app_migration)
* Rename LFS_KEY as LFS_JWT_SECRET and KEY as SECRET_KEY as named in app.ini
* Add JWT_SECRET for oauth and INTERNAL_TOKEN in app.ini
* update upstream sample app.ini URL
* Disable actions for now.
* Automatically add ssh permissions to the system user
* Remove support for upgrade before 1.6.4. Edit test_upgrade_from accordingly.
2023-11-29 17:26:25 +01:00

97 lines
2.5 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.1~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 = false
disk = "120M"
ram.build = "100M"
ram.runtime = "100M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/gitea"
[install.admin]
type = "user"
[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"
[resources]
[resources.sources]
[resources.sources.main]
format = "whatever"
extract = false
rename = "gitea"
armhf.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.1/gitea-1.21.1-linux-arm-6"
armhf.sha256 = "a0ba97ba0fe65f5af5210dd173a86821e440188350dc3f7e61a07d1f4a4435a6"
arm64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.1/gitea-1.21.1-linux-arm64"
arm64.sha256 = "4aefbf61eee72bdd25d073354a48b1252e351627757d7d8c8a9ba658fa7330ce"
i386.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.1/gitea-1.21.1-linux-386"
i386.sha256 = "519b905c705a15f4da1fc0f853ff2e9f5b1a469095e3bdaf8236569cad2cd0ba"
amd64.url = "https://github.com/go-gitea/gitea/releases/download/v1.21.1/gitea-1.21.1-linux-amd64"
amd64.sha256 = "586b1b0df6940e847600625850ee7d766f103dc3341c1b4abfc269db57c5d826"
[resources.system_user]
# Hard-coded...
home = "/home/yunohost.app/__APP__"
allow_ssh = true
allow_email = true
[resources.install_dir]
[resources.data_dir]
[resources.permissions]
main.url = "/"
[resources.ports]
main.default = 6000
[resources.apt]
packages = [
"mariadb-server"
]
[resources.database]
type = "mysql"