1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librarian_ynh.git synced 2024-09-03 19:36:01 +02:00
This commit is contained in:
Éric Gaspar 2023-04-12 23:21:04 +02:00
parent d95137ea48
commit d0a7a9fc55
4 changed files with 14 additions and 70 deletions

View file

@ -1,26 +0,0 @@
;; Test complet
; Manifest
domain="domain.tld"
path="/"
is_public=1
instance_country=France
instance_provider=OVH
; Checks
pkg_linter=1
setup_sub_dir=0
setup_root=1
setup_nourl=0
setup_private=1
setup_public=1
upgrade=1
#upgrade=1 from_commit=CommitHash
backup_restore=1
multi_instance=1
change_url=1
;;; Options
Email=
Notification=none
;;; Upgrade options
; commit=CommitHash
name=Name and date of the commit.
manifest_arg=domain=DOMAIN&path=PATH&is_public=1&language=fr&admin=USER&password=pass&port=666&

View file

@ -1,43 +0,0 @@
{
"name": "Librarian",
"id": "librarian",
"packaging_format": 1,
"description": {
"en": "Alternative frontend for LBRY/Odysee",
"fr": "Interface alternative pour LBRY/Odysee"
},
"version": "2022.05.14~ynh1",
"url": "https://lbry.bcow.xyz/",
"upstream": {
"license": "AGPL-3.0-only",
"website": "https://lbry.bcow.xyz/",
"demo": "https://lbry.bcow.xyz/@RetroMusic:d/1987-Rick-Astley-Never-Gonna-Give-You-Up-1920x1080:f",
"admindoc": "https://codeberg.org/librarian/librarian/wiki",
"code": "https://codeberg.org/librarian/librarian"
},
"license": "AGPL-3.0-only",
"maintainer": {
"name": "eric_G",
"email": ""
},
"requirements": {
"yunohost": ">= 11.0.9"
},
"multi_instance": true,
"services": [
"nginx"
],
"arguments": {
"install" : [
{
"name": "domain",
"type": "domain"
},
{
"name": "is_public",
"type": "boolean",
"default": true
}
]
}
}

View file

@ -56,4 +56,3 @@ ram.runtime = "50M"
api.allowed="visitors" api.allowed="visitors"
api.show_tile = false api.show_tile = false
api.protected = true api.protected = true

14
tests.toml Normal file
View file

@ -0,0 +1,14 @@
test_format = 1.0
[default]
# -------------------------------
# Default args to use for install
# -------------------------------
args.instance_country = "France"
args.instance_provider = "OVH"
# -------------------------------
# Commits to test upgrade from
# -------------------------------