2024-02-10 14:39:41 +01:00
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "flohmarkt"
name = "flohmarkt"
description . en = "A decentral federated small ads platform"
2024-04-17 16:54:31 +02:00
version = "1.0~ynh2"
2024-02-10 14:39:41 +01:00
maintainers = [ "Chris Vogel" ]
[ upstream ]
license = "AGPL-3.0"
website = "https://codeberg.org/flohmarkt/flohmarkt"
demo = "https://flohmarkt.ween.de/"
admindoc = "https://codeberg.org/flohmarkt/flohmarkt/wiki"
userdoc = "https://codeberg.org/flohmarkt/flohmarkt/wiki"
code = "https://codeberg.org/flohmarkt/flohmarkt"
# For example, for Nextcloud, the CPE is 'cpe:2.3:a:nextcloud:nextcloud' (no need to include the version number)
# cpe = "does_not_exist_yet"
# This is meant to be an URL where people can financially support this app, especially when its development is based
# on volunteers and/or financed by its community. YunoHost may later advertise it in the webadmin.
# fund = "???"
[ integration ]
2024-04-19 14:18:16 +02:00
yunohost = ">= 11.2.11"
2024-02-10 14:39:41 +01:00
architectures = "all"
2024-04-17 14:34:31 +02:00
# https://codeberg.org/ChriChri/flohmarkt_ynh/issues/11
# multi_instance = true
multi_instance = false
2024-02-10 14:39:41 +01:00
# the "ldap" key corresponds to wether or not a user *can* login on the app using
# its YunoHost credentials.
# https://codeberg.org/ChriChri/flohmarkt_ynh/issues/2
2024-04-18 17:26:18 +02:00
ldap = false
2024-02-10 14:39:41 +01:00
# the "sso" key corresponds to wether or not a user is *automatically logged-in*
# on the app when logged-in on the YunoHost portal.
# "Internally, SSOwat will on-the-fly inject HTTP Basic Auth Headers like Authorization:
# Basic <base64credentials>."
# https://yunohost.org/de/packaging_sso_ldap_integration#sso-integration
# https://codeberg.org/ChriChri/flohmarkt_ynh/issues/3
2024-04-18 17:26:18 +02:00
sso = false
2024-02-10 14:39:41 +01:00
2024-04-18 20:30:03 +02:00
# **estimate** minimum disk and RAM requirements
disk = "100M"
ram . build = "200M"
ram . runtime = "100M"
2024-02-10 14:39:41 +01:00
[ install ]
[ install . domain ]
# ask admin on which domain to run flohmarkt
type = "domain"
2024-04-17 14:28:57 +02:00
# https://codeberg.org/ChriChri/flohmarkt_ynh/issues/4
# [install.path]
# # ask admin under which path flohmarkt will be reachable
# # e.g. 'https://doma.in/path' - might not work, needs to be tested:
# # https://codeberg.org/ChriChri/flohmarkt_ynh/issues/4
# type = "path"
# default = "/"
2024-02-10 14:39:41 +01:00
[ install . init_main_permission ]
# who will be able to access the apps URL after installation?
type = "group"
default = "visitors"
2024-02-24 15:29:02 +01:00
[ install . password_couchdb_admin ]
2024-02-24 15:17:33 +01:00
# couchdb admin password
2024-02-24 15:29:02 +01:00
type = "password"
2024-04-14 10:56:04 +02:00
ask . en = "CouchDB password for admin user"
help . en = "Don't forget to note this password somewhere! You need to provide this password during install and for future upgrades. If there's already a CouchDB installed provide the adminpassword for the existing installation."
ask . de = "Passwort für den admin Benutzer von CouchDB"
help . de = "Bitte das Passwort notieren und aufheben! Dieses Passwort muss bei der Installation und bei zukünftigen Upgrades eingegeben werden. Wenn bereits eine CouchDB installiert ist, hier das Passwort der bestehenden Installation eingeben."
2024-02-24 15:17:33 +01:00
2024-04-14 10:56:04 +02:00
[ install . mail_user ]
# @@ any type for this to make sure it can be used as the user part of an email address?
default = "flohmarkt"
2024-04-18 17:26:18 +02:00
type = "string"
2024-04-14 10:56:04 +02:00
ask . en = "mail sender local part"
help . en = "flohmarkt will send emails using the sender <mail_user>@<mail_domain>. Please provide the <mail_user> part."
ask . de = "E-Mail-Absender Benutzername"
help . de = "flohmarkt verschickt emails unter dem Absender <mail_user>@<mail_domain>. Bitte gib Deinen <mail_user> ein."
2024-04-10 21:08:02 +02:00
2024-04-10 21:22:20 +02:00
[ install . mail_domain ]
# @@ is there a 'type' that makes sure that on this domain email service is enabled?
type = "domain"
2024-04-14 10:56:04 +02:00
ask . en = "mail sender domain part"
help . en = "flohmarkt will send emails using the sender <mail_user>@<mail_domain>. Please provide the <mail_domain> part."
ask . de = "E-Mail-Absender Domain"
help . de = "flohmarkt verschickt emails unter dem Absender <mail_user>@<mail_domain>. Bitte gib Deine <mail_domain> ein."
2024-04-10 21:22:20 +02:00
2024-04-11 15:00:40 +02:00
[ install . flohmarkt_name ]
# flohmarkt.conf: "InstanceName"
2024-04-18 17:26:18 +02:00
type = "string"
2024-04-14 10:56:04 +02:00
default = "my yunohost flohmarkt"
ask . en = "name of your flohmarkt instance"
ask . de = "Name des Flohmarkts"
2024-04-11 15:00:40 +02:00
2024-02-10 14:39:41 +01:00
[ resources ]
# See the packaging documentation for the full set
# of explanation regarding the behavior and properties for each of those
[ resources . sources ]
[ resources . sources . main ]
# This will pre-fetch the asset which can then be deployed during the install/upgrade scripts with :
# ynh_setup_source --dest_dir="$install_dir"
# You can also define other assets than "main" and add --source_id="foobar" in the previous command
2024-04-15 08:12:40 +02:00
url = "https://codeberg.org/flohmarkt/flohmarkt/archive/490a748cc3a6698c8a6400df3fa9cfdcf4fd76da.tar.gz"
sha256 = "45d40fb96c9997502755939d0ba6bac9df39d3ca30d271be01b69202b88839fb"
2024-02-10 14:39:41 +01:00
# These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
# to auto-update the previous asset urls and sha256sum + manifest version
# assuming the upstream's code repo is on github and relies on tags or releases
# See the 'sources' resource documentation for more details
# autoupdate.strategy = "latest_github_tag"
# This will provision/deprovision a unix system user named id form above → 'flohmarkt'
2024-04-10 21:08:02 +02:00
[ resources . system_user ]
allow_email = true
2024-04-10 21:50:24 +02:00
# ++ where to get/put mail_user and mail_domain to let the user set the address?
2024-04-10 21:08:02 +02:00
# https://yunohost.org/de/packaging_apps_resources#properties-4
2024-04-10 21:50:24 +02:00
# → [install] section
# these shouldn't be necessary, because defined in the [install] section
2024-04-11 15:00:40 +02:00
# → yes, works. With the values from install section the mailuser ends up in
# /etc/postfix/app_senders_login_maps
2024-04-10 21:50:24 +02:00
# mail_user = "replace_mail_user_in_manifest_toml"
# mail_domain = "replace_mail_domain_in_manifest.toml"
# @@ how to create a couchdb user if needed? in install-script manually?
2024-02-10 14:39:41 +01:00
[ resources . install_dir ]
dir = "/opt/flohmarkt"
[ resources . data_dir ]
# This will create/remove the data dir as /home/yunohost.app/$app
# and store the corresponding setting $data_dir
[ resources . permissions ]
# This will configure SSOwat permission for $domain/$path/
# The initial allowed group of user is configured via the init_main_permission question
# (public=visitors, private=all_users)
# https://codeberg.org/ChriChri/flohmarkt_ynh/issues/5
main . url = "/"
[ resources . ports ]
# This will pick a random port for reverse-proxying and store it as the $port setting
# uvicorn running the flohmarkt app will be started listening to this port
# if 'main.default' is already in use another random port will be used
main . default = 8000
2024-04-10 14:33:26 +02:00
couchdb . default = 5984
2024-02-10 14:39:41 +01:00
[ resources . apt ]
# python dependencies shall be installed in a venv using pip.
packages = "python3-pip python3-full curl apt-transport-https gnupg"
2024-04-19 17:06:25 +02:00
# repo for couchdb - doesn't work, yet
# extras.couchdb.repo = "deb https://apache.jfrog.io/artifactory/couchdb-deb/ __YNH_DEBIAN_VERSION__ main"
# extras.couchdb.key = "https://couchdb.apache.org/repo/keys.asc"
# extras.couchdb.packages = ["couchdb"]
# extras.couchdb.name = "couchdb"
2024-04-17 14:28:57 +02:00
[ antifeatures ]
[ alpha-software ]
description . en = "Early development stage. May contain changing or unstable features, bugs, and security vulnerability."
description . eu = "Garapenaren hasierako fasean dago. Ezaugarri aldakor edo ezegonkorrak, erroreak eta segurtasuneko arazoak izan ditzazke."
description . fr = "Le logiciel est au tout début de son développement. Il pourrait contenir des fonctionnalités changeantes ou instables, des bugs, et des failles de sécurité."
description . it = "Questo software è all’ inizio della sua fase di sviluppo. Potrebbe dunque essere instabile, contenere bug e vulnerabilità di sicurezza."
icon = "flask"
title . en = "Alpha software"
title . eu = "Alfa softwarea"
title . fr = "Logiciel en version alpha "
title . it = "Software in versione alpha"
2024-04-18 19:20:39 +02:00
[ arbitrary-limitations ]
2024-04-18 20:16:36 +02:00
title . en = "Exclusive use of couchdb — Exclusive use of (sub)domain — No integration in yunohost user database"
description . en = "flohmarkt expects to install CouchDB from the Apache repository for its own, exclusive use. Installation might break already existing installs of CouchDB. https://codeberg.org/ChriChri/flohmarkt_ynh/issues/9 — flohmarkt expects to bei installed on its own (sub)domain. https://codeberg.org/ChriChri/flohmarkt_ynh/issues/4 — flohmarkt mainanins its own user database in CouchDB. Users have to register to flohmarkt to get an account. Registration cannot be restricted to yunohost users. https://codeberg.org/ChriChri/flohmarkt_ynh/issues/5"
2024-04-17 14:28:57 +02:00
icon = "star-half-empty"
2024-04-18 20:03:35 +02:00