1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlist_ynh.git synced 2024-09-03 18:36:18 +02:00
This commit is contained in:
Éric Gaspar 2023-01-29 15:00:40 +01:00
parent 05ab705dae
commit b7cbb0941c
3 changed files with 24 additions and 5 deletions

View file

@ -4,7 +4,7 @@ parameters:
title: GitList title: GitList
# Locale configuration # Locale configuration
locale: en locale: __LANGUAGE__
# Theme # Theme
theme: default theme: default

View file

@ -3,6 +3,16 @@ version = "1.0"
[main] [main]
name = "GitList configuration" name = "GitList configuration"
[main.config]
name = "Configuration Options"
[main.config.datadir]
ask = "Default Repository Directories"
type = "path"
default = "/home/yunohost.app/__APP__"
help = "List of directories containing repositories"
bind = "EnableCoverAnimation:/var/www/__APP__/config/config.yml"
[main.php_fpm_config] [main.php_fpm_config]
name = "PHP-FPM configuration" name = "PHP-FPM configuration"

View file

@ -9,15 +9,14 @@
"version": "2.0.0~ynh1", "version": "2.0.0~ynh1",
"url": "https://gitlist.org/", "url": "https://gitlist.org/",
"upstream": { "upstream": {
"license": "free", "license": "BSD 3-Clause",
"website": "https://gitlist.org/", "website": "https://gitlist.org/",
"demo": "https://demo.example.com",
"admindoc": "https://github.com/klaussilveira/gitlist/wiki", "admindoc": "https://github.com/klaussilveira/gitlist/wiki",
"code": "https://github.com/klaussilveira/gitlist" "code": "https://github.com/klaussilveira/gitlist"
}, },
"license": "free", "license": "BSD 3-Clause",
"maintainer": { "maintainer": {
"name": "", "name": "eric_G",
"email": "" "email": ""
}, },
"requirements": { "requirements": {
@ -38,6 +37,16 @@
"name": "is_public", "name": "is_public",
"type": "boolean", "type": "boolean",
"default": true "default": true
},
{
"name": "language",
"type": "string",
"ask": {
"en": "Choose the application language",
"fr": "Choisissez la langue de l'application"
},
"choices": ["fr", "en"],
"default": "fr"
} }
] ]
} }