1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Merge remote-tracking branch 'origin/master' into app-store

This commit is contained in:
Alexandre Aubin 2023-09-19 17:03:39 +02:00
commit 68fb4735e8
12 changed files with 121 additions and 53 deletions

125
apps.toml
View file

@ -96,7 +96,7 @@ url = "https://github.com/YunoHost-Apps/airsonic_ynh"
[akkoma] [akkoma]
category = "social_media" category = "social_media"
level = 6 level = 0
potential_alternative_to = [ "X", "Mastodon", "Pleroma" ] potential_alternative_to = [ "X", "Mastodon", "Pleroma" ]
state = "working" state = "working"
subtags = [ "microblogging" ] subtags = [ "microblogging" ]
@ -227,7 +227,7 @@ url = "https://github.com/YunoHost-Apps/biboumi_ynh"
[bicbucstriim] [bicbucstriim]
category = "reading" category = "reading"
level = 8 level = 0
state = "working" state = "working"
subtags = [ "books" ] subtags = [ "books" ]
url = "https://github.com/YunoHost-Apps/bicbucstriim_ynh" url = "https://github.com/YunoHost-Apps/bicbucstriim_ynh"
@ -376,7 +376,7 @@ url = "https://github.com/YunoHost-Apps/chuwiki_ynh"
[chyrplite] [chyrplite]
category = "publishing" category = "publishing"
level = 1 level = 1
state = "working" state = "notworking"
subtags = [ "websites", "blog" ] subtags = [ "websites", "blog" ]
url = "https://github.com/YunoHost-Apps/chyrplite_ynh" url = "https://github.com/YunoHost-Apps/chyrplite_ynh"
@ -461,6 +461,7 @@ url = "https://github.com/YunoHost-Apps/concrete5_ynh"
[conduit] [conduit]
category = "communication" category = "communication"
level = 7
potential_alternative_to = [ "Discord", "Signal", "Whatsapp", "Facebook Messenger", "Telegram", "Skype" ] potential_alternative_to = [ "Discord", "Signal", "Whatsapp", "Facebook Messenger", "Telegram", "Skype" ]
state = "working" state = "working"
subtags = [ "chat" ] subtags = [ "chat" ]
@ -572,7 +573,7 @@ url = "https://github.com/YunoHost-Apps/dato_ynh"
category = "communication" category = "communication"
level = 0 level = 0
potential_alternative_to = [ "Cap Collectif", "Fluicity" ] potential_alternative_to = [ "Cap Collectif", "Fluicity" ]
state = "working" state = "notworking"
url = "https://github.com/YunoHost-Apps/decidim_ynh" url = "https://github.com/YunoHost-Apps/decidim_ynh"
[deluge] [deluge]
@ -593,7 +594,7 @@ url = "https://github.com/YunoHost-Apps/democracyos_ynh"
[dendrite] [dendrite]
antifeatures = [ "alpha-software" ] antifeatures = [ "alpha-software" ]
category = "communication" category = "communication"
level = 7 level = 6
potential_alternative_to = [ "Discord", "Signal", "Whatsapp", "Facebook Messenger", "Telegram", "Skype" ] potential_alternative_to = [ "Discord", "Signal", "Whatsapp", "Facebook Messenger", "Telegram", "Skype" ]
state = "working" state = "working"
subtags = [ "chat" ] subtags = [ "chat" ]
@ -709,7 +710,7 @@ url = "https://github.com/Jojo144/django_app_ynh"
[django_example] [django_example]
category = "dev" category = "dev"
level = 7 level = 6
state = "working" state = "working"
subtags = [ "programming" ] subtags = [ "programming" ]
url = "https://github.com/YunoHost-Apps/django_example_ynh" url = "https://github.com/YunoHost-Apps/django_example_ynh"
@ -827,7 +828,7 @@ url = "https://github.com/YunoHost-Apps/easyappointments_ynh"
[ecko] [ecko]
category = "social_media" category = "social_media"
level = 0 level = 0
state = "working" state = "notworking"
subtags = [ "microblogging" ] subtags = [ "microblogging" ]
url = "https://github.com/YunoHost-Apps/ecko_ynh" url = "https://github.com/YunoHost-Apps/ecko_ynh"
@ -925,9 +926,16 @@ state = "working"
subtags = [ "spreadsheet" ] subtags = [ "spreadsheet" ]
url = "https://github.com/YunoHost-Apps/ethercalc_ynh" url = "https://github.com/YunoHost-Apps/ethercalc_ynh"
[etherpad]
category = "office"
potential_alternative_to = [ "Google Docs", "G Suite", "Microsoft Word", "Microsoft Office", "Office 365" ]
state = "working"
subtags = [ "text" ]
url = "https://github.com/YunoHost-Apps/etherpad_ynh"
[etherpad_mypads] [etherpad_mypads]
category = "office" category = "office"
level = 6 level = 8
potential_alternative_to = [ "Google Docs", "G Suite", "Microsoft Word", "Microsoft Office", "Office 365" ] potential_alternative_to = [ "Google Docs", "G Suite", "Microsoft Word", "Microsoft Office", "Office 365" ]
state = "working" state = "working"
subtags = [ "text" ] subtags = [ "text" ]
@ -1233,7 +1241,7 @@ url = "https://github.com/YunoHost-Apps/getsimple_ynh"
[ghost] [ghost]
antifeatures = [ "arbitrary-limitations" ] antifeatures = [ "arbitrary-limitations" ]
category = "publishing" category = "publishing"
level = 6 level = 8
state = "working" state = "working"
subtags = [ "websites" ] subtags = [ "websites" ]
url = "https://github.com/YunoHost-Apps/ghost_ynh" url = "https://github.com/YunoHost-Apps/ghost_ynh"
@ -1293,7 +1301,7 @@ url = "https://github.com/matlink/gitweb_ynh"
[glitchsoc] [glitchsoc]
category = "social_media" category = "social_media"
level = 6 level = 7
state = "working" state = "working"
subtags = [ "microblogging" ] subtags = [ "microblogging" ]
url = "https://github.com/YunoHost-Apps/glitchsoc_ynh" url = "https://github.com/YunoHost-Apps/glitchsoc_ynh"
@ -1571,6 +1579,7 @@ url = "https://github.com/YunoHost-Apps/indexhibit_ynh"
[influxdb_v2] [influxdb_v2]
branch = "main" branch = "main"
category = "system_tools" category = "system_tools"
level = 7
state = "working" state = "working"
subtags = [ "db", "monitoring" ] subtags = [ "db", "monitoring" ]
url = "https://github.com/YunoHost-Apps/influxdb_v2_ynh" url = "https://github.com/YunoHost-Apps/influxdb_v2_ynh"
@ -1578,7 +1587,7 @@ url = "https://github.com/YunoHost-Apps/influxdb_v2_ynh"
[internetarchive] [internetarchive]
category = "wat" category = "wat"
level = 0 level = 0
state = "working" state = "notworking"
url = "https://github.com/YunoHost-Apps/internetarchive_ynh" url = "https://github.com/YunoHost-Apps/internetarchive_ynh"
[invidious] [invidious]
@ -1593,7 +1602,7 @@ url = "https://github.com/YunoHost-Apps/invidious_ynh"
[invoiceninja] [invoiceninja]
antifeatures = [ "deprecated-software" ] antifeatures = [ "deprecated-software" ]
category = "productivity_and_management" category = "productivity_and_management"
level = 8 level = 7
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/invoiceninja_ynh" url = "https://github.com/YunoHost-Apps/invoiceninja_ynh"
@ -1640,12 +1649,19 @@ url = "https://github.com/YunoHost-Apps/jeedom_ynh"
[jellyfin] [jellyfin]
category = "multimedia" category = "multimedia"
level = 8 level = 6
potential_alternative_to = [ "Plex", "Netflix" ] potential_alternative_to = [ "Plex", "Netflix" ]
state = "working" state = "working"
subtags = [ "music", "mediacenter" ] subtags = [ "music", "mediacenter" ]
url = "https://github.com/YunoHost-Apps/jellyfin_ynh" url = "https://github.com/YunoHost-Apps/jellyfin_ynh"
[jellyfin-vue]
category = "multimedia"
potential_alternative_to = [ "Plex", "Netflix" ]
state = "working"
subtags = [ "music", "mediacenter" ]
url = "https://github.com/YunoHost-Apps/jellyfin-vue_ynh"
[jellyseerr] [jellyseerr]
category = "multimedia" category = "multimedia"
level = 7 level = 7
@ -1699,7 +1715,7 @@ url = "https://github.com/YunoHost-Apps/kanboard_ynh"
[kavita] [kavita]
category = "reading" category = "reading"
level = 6 level = 7
state = "working" state = "working"
subtags = [ "books" ] subtags = [ "books" ]
url = "https://github.com/YunoHost-Apps/kavita_ynh" url = "https://github.com/YunoHost-Apps/kavita_ynh"
@ -1714,7 +1730,7 @@ url = "https://github.com/YunoHost-Apps/keeweb_ynh"
[kimai2] [kimai2]
category = "productivity_and_management" category = "productivity_and_management"
level = 8 level = 2
potential_alternative_to = [ "Toggl Track", "RescueTime", "Hamster" ] potential_alternative_to = [ "Toggl Track", "RescueTime", "Hamster" ]
state = "working" state = "working"
subtags = [ "task" ] subtags = [ "task" ]
@ -1737,10 +1753,17 @@ url = "https://github.com/YunoHost-Apps/kiwix_ynh"
category = "multimedia" category = "multimedia"
level = 0 level = 0
potential_alternative_to = [ "Plex", "QuickTime", "Windows Media Center", "Windows Media Player", "Netflix" ] potential_alternative_to = [ "Plex", "QuickTime", "Windows Media Center", "Windows Media Player", "Netflix" ]
state = "working" state = "notworking"
subtags = [ "mediacenter" ] subtags = [ "mediacenter" ]
url = "https://github.com/YunoHost-Apps/kodi_ynh" url = "https://github.com/YunoHost-Apps/kodi_ynh"
[koel]
category = "multimedia"
potential_alternative_to = [ "Deezer", "SoundCloud", "Spotify", "Airsonic" ]
state = "working"
subtags = [ "music" ]
url = "https://github.com/YunoHost-Apps/koel_ynh"
[komga] [komga]
category = "reading" category = "reading"
level = 6 level = 6
@ -1843,7 +1866,7 @@ url = "https://github.com/YunoHost-Apps/libremdb_ynh"
category = "multimedia" category = "multimedia"
level = 0 level = 0
potential_alternative_to = [ "Google Photos" ] potential_alternative_to = [ "Google Photos" ]
state = "working" state = "notworking"
subtags = [ "pictures" ] subtags = [ "pictures" ]
url = "https://github.com/YunoHost-Apps/librephotos_ynh" url = "https://github.com/YunoHost-Apps/librephotos_ynh"
@ -1986,7 +2009,7 @@ antifeatures = [ "deprecated-software" ]
category = "communication" category = "communication"
level = 0 level = 0
potential_alternative_to = [ "Google Groups" ] potential_alternative_to = [ "Google Groups" ]
state = "working" state = "notworking"
subtags = [ "email" ] subtags = [ "email" ]
url = "https://github.com/yunohost-apps/mailman_ynh" url = "https://github.com/yunohost-apps/mailman_ynh"
@ -2217,7 +2240,7 @@ url = "https://github.com/YunoHost-Apps/mongo-express_ynh"
[monica] [monica]
category = "wat" category = "wat"
level = 8 level = 6
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/monica_ynh" url = "https://github.com/YunoHost-Apps/monica_ynh"
@ -2319,7 +2342,7 @@ url = "https://github.com/YunoHost-Apps/my-mind_ynh"
[my_capsule] [my_capsule]
category = "publishing" category = "publishing"
level = 8 level = 0
state = "working" state = "working"
subtags = [ "gemini" ] subtags = [ "gemini" ]
url = "https://github.com/YunoHost-Apps/my_capsule_ynh" url = "https://github.com/YunoHost-Apps/my_capsule_ynh"
@ -2333,7 +2356,7 @@ url = "https://github.com/YunoHost-Apps/my_webapp_ynh"
[mybb] [mybb]
category = "communication" category = "communication"
level = 8 level = 6
state = "working" state = "working"
subtags = [ "forum" ] subtags = [ "forum" ]
url = "https://github.com/YunoHost-Apps/mybb_ynh" url = "https://github.com/YunoHost-Apps/mybb_ynh"
@ -2588,12 +2611,11 @@ state = "working"
url = "https://github.com/YunoHost-Apps/owncast_ynh" url = "https://github.com/YunoHost-Apps/owncast_ynh"
[owncloud] [owncloud]
antifeatures = [ "package-not-maintained" ]
category = "synchronization" category = "synchronization"
level = 7
potential_alternative_to = [ "Apple iCloud", "Dropbox", "Google Drive", "Microsoft OneDrive" ] potential_alternative_to = [ "Apple iCloud", "Dropbox", "Google Drive", "Microsoft OneDrive" ]
revision = "dd78f3575b025b78bae116cc094db4d8b6fef2e2" state = "working"
state = "notworking" subtags = [ "files" ]
subtags = [ "files", "calendar", "contacts" ]
url = "https://github.com/YunoHost-Apps/owncloud_ynh" url = "https://github.com/YunoHost-Apps/owncloud_ynh"
[owntracks] [owntracks]
@ -2641,7 +2663,7 @@ url = "https://github.com/YunoHost-Apps/peertube_ynh"
[peertube-search-index] [peertube-search-index]
category = "social_media" category = "social_media"
level = 0 level = 6
state = "working" state = "working"
subtags = [ "videos" ] subtags = [ "videos" ]
url = "https://github.com/YunoHost-Apps/peertube-search-index_ynh" url = "https://github.com/YunoHost-Apps/peertube-search-index_ynh"
@ -2692,7 +2714,7 @@ url = "https://github.com/YunoHost-Apps/pgadmin_ynh"
antifeatures = [ "package-not-maintained" ] antifeatures = [ "package-not-maintained" ]
category = "multimedia" category = "multimedia"
level = 0 level = 0
state = "working" state = "notworking"
subtags = [ "pictures" ] subtags = [ "pictures" ]
url = "https://github.com/YunoHost-Apps/photonix_ynh" url = "https://github.com/YunoHost-Apps/photonix_ynh"
@ -2789,7 +2811,7 @@ url = "https://github.com/YunoHost-Apps/pico_ynh"
[pihole] [pihole]
category = "system_tools" category = "system_tools"
level = 6 level = 8
state = "working" state = "working"
subtags = [ "network" ] subtags = [ "network" ]
url = "https://github.com/YunoHost-Apps/pihole_ynh" url = "https://github.com/YunoHost-Apps/pihole_ynh"
@ -2969,7 +2991,7 @@ url = "https://github.com/YunoHost-Apps/pydio_ynh"
[pyinventory] [pyinventory]
category = "productivity_and_management" category = "productivity_and_management"
level = 6 level = 8
state = "working" state = "working"
subtags = [ "business_and_ngos" ] subtags = [ "business_and_ngos" ]
url = "https://github.com/YunoHost-Apps/pyinventory_ynh" url = "https://github.com/YunoHost-Apps/pyinventory_ynh"
@ -3025,7 +3047,7 @@ url = "https://github.com/YunoHost-Apps/radarr_ynh"
[radicale] [radicale]
category = "synchronization" category = "synchronization"
level = 0 level = 0
state = "working" state = "notworking"
subtags = [ "calendar", "contacts" ] subtags = [ "calendar", "contacts" ]
url = "https://github.com/YunoHost-Apps/radicale_ynh" url = "https://github.com/YunoHost-Apps/radicale_ynh"
@ -3097,7 +3119,7 @@ url = "https://github.com/YunoHost-Apps/roadiz_ynh"
[rocketchat] [rocketchat]
antifeatures = [ "not-totally-free" ] antifeatures = [ "not-totally-free" ]
category = "communication" category = "communication"
level = 8 level = 6
potential_alternative_to = [ "Slack" ] potential_alternative_to = [ "Slack" ]
state = "working" state = "working"
subtags = [ "chat" ] subtags = [ "chat" ]
@ -3141,7 +3163,7 @@ url = "https://github.com/CotzaDev/rutorrent_ynh"
[samba] [samba]
category = "system_tools" category = "system_tools"
level = 6 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/samba_ynh" url = "https://github.com/YunoHost-Apps/samba_ynh"
@ -3202,6 +3224,7 @@ subtags = [ "files" ]
url = "https://github.com/YunoHost-Apps/seafile_ynh" url = "https://github.com/YunoHost-Apps/seafile_ynh"
[searx] [searx]
antifeatures = [ "deprecated-software" ]
category = "small_utilities" category = "small_utilities"
level = 8 level = 8
state = "working" state = "working"
@ -3254,7 +3277,7 @@ url = "https://github.com/YunoHost-Apps/shadowsocks_ynh"
[shellinabox] [shellinabox]
category = "system_tools" category = "system_tools"
level = 8 level = 6
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/shellinabox_ynh" url = "https://github.com/YunoHost-Apps/shellinabox_ynh"
@ -3449,7 +3472,7 @@ url = "https://github.com/YunoHost-Apps/squid3_ynh"
[ssbroom] [ssbroom]
category = "communication" category = "communication"
level = 0 level = 7
state = "working" state = "working"
subtags = [ "scuttlebutt" ] subtags = [ "scuttlebutt" ]
url = "https://github.com/YunoHost-Apps/ssbroom_ynh" url = "https://github.com/YunoHost-Apps/ssbroom_ynh"
@ -3521,7 +3544,7 @@ url = "https://github.com/drfred1981/subsonic_ynh"
[sutom] [sutom]
category = "games" category = "games"
level = 8 level = 6
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/sutom_ynh" url = "https://github.com/YunoHost-Apps/sutom_ynh"
@ -3580,7 +3603,7 @@ url = "https://github.com/Omodaka9375/tailoredflow_ynh"
[tandoor] [tandoor]
category = "small_utilities" category = "small_utilities"
level = 6 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/tandoor_ynh" url = "https://github.com/YunoHost-Apps/tandoor_ynh"
@ -3672,7 +3695,7 @@ url = "https://github.com/YunoHost-Apps/tinyfilemanager_ynh"
[tldraw] [tldraw]
category = "office" category = "office"
level = 7 level = 8
potential_alternative_to = [ "Lucidchart" ] potential_alternative_to = [ "Lucidchart" ]
state = "working" state = "working"
subtags = [ "draw" ] subtags = [ "draw" ]
@ -3681,7 +3704,7 @@ url = "https://github.com/YunoHost-Apps/tldraw_ynh"
[tooljet] [tooljet]
branch = "master" branch = "master"
category = "productivity_and_management" category = "productivity_and_management"
state = "inprogress" state = "working"
url = "https://github.com/YunoHost-Apps/tooljet_ynh" url = "https://github.com/YunoHost-Apps/tooljet_ynh"
[torrelay] [torrelay]
@ -3852,7 +3875,7 @@ url = "https://github.com/YunoHost-Apps/vaultwarden_ynh"
category = "games" category = "games"
level = 0 level = 0
potential_alternative_to = [ "Minecraft" ] potential_alternative_to = [ "Minecraft" ]
state = "working" state = "notworking"
url = "https://github.com/YunoHost-Apps/veloren_ynh" url = "https://github.com/YunoHost-Apps/veloren_ynh"
[vikunja] [vikunja]
@ -3893,7 +3916,7 @@ url = "https://github.com/YunoHost-Apps/wallabag2_ynh"
[weblate] [weblate]
category = "dev" category = "dev"
level = 8 level = 6
potential_alternative_to = [ "Locize", "Transifex" ] potential_alternative_to = [ "Locize", "Transifex" ]
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/weblate_ynh" url = "https://github.com/YunoHost-Apps/weblate_ynh"
@ -3914,7 +3937,7 @@ url = "https://github.com/YunoHost-Apps/webogram_ynh"
[webtrees] [webtrees]
category = "wat" category = "wat"
level = 1 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/webtrees_ynh" url = "https://github.com/YunoHost-Apps/webtrees_ynh"
@ -4018,6 +4041,14 @@ state = "working"
subtags = [ "monitoring" ] subtags = [ "monitoring" ]
url = "https://github.com/YunoHost-Apps/x-prober_ynh" url = "https://github.com/YunoHost-Apps/x-prober_ynh"
[xbackbone]
category = "synchronization"
level = 7
potential_alternative_to = [ "WeTransfer" ]
state = "working"
subtags = [ "files" ]
url = "https://github.com/YunoHost-Apps/xbackbone_ynh"
[yacy] [yacy]
category = "small_utilities" category = "small_utilities"
level = 8 level = 8
@ -4078,12 +4109,12 @@ url = "https://github.com/YunoHost-Apps/yunomonitor_ynh"
[yunorunner] [yunorunner]
category = "dev" category = "dev"
level = 0 level = 0
state = "working" state = "notworking"
url = "https://github.com/YunoHost-Apps/yunorunner_ynh" url = "https://github.com/YunoHost-Apps/yunorunner_ynh"
[z-push] [z-push]
category = "synchronization" category = "synchronization"
level = 8 level = 4
state = "working" state = "working"
subtags = [ "calendar", "contacts" ] subtags = [ "calendar", "contacts" ]
url = "https://github.com/YunoHost-Apps/z-push_ynh" url = "https://github.com/YunoHost-Apps/z-push_ynh"
@ -4127,6 +4158,14 @@ state = "working"
subtags = [ "network" ] subtags = [ "network" ]
url = "https://github.com/YunoHost-Apps/zerotier_ynh" url = "https://github.com/YunoHost-Apps/zerotier_ynh"
[zeroui]
antifeatures = [ "non-free-dependencies" ]
category = "system_tools"
level = 7
state = "working"
subtags = [ "network" ]
url = "https://github.com/YunoHost-Apps/zeroui_ynh"
[zomburl] [zomburl]
antifeatures = [ "package-not-maintained" ] antifeatures = [ "package-not-maintained" ]
category = "small_utilities" category = "small_utilities"

BIN
logos/etherpad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

BIN
logos/firefish.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
logos/galene.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
logos/owncloud.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

BIN
logos/xbackbone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9 KiB

View file

@ -1,6 +1,6 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/YunoHost/apps/blob/master/schemas/manifest.v2.schema.json", "$id": "https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json",
"title": "Yunohost app manifest.toml schema", "title": "Yunohost app manifest.toml schema",
"version": "0", "version": "0",

View file

@ -1,6 +1,6 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/YunoHost/apps/blob/master/schemas/tests.v1.schema.json", "$id": "https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json",
"title": "Yunohost app package tests.toml schema", "title": "Yunohost app package tests.toml schema",
"version": "0", "version": "0",
@ -21,12 +21,10 @@
"additionalProperties": false, "additionalProperties": false,
"patternProperties": { "patternProperties": {
"^[a-z][a-z0-9_]*$": { "^[a-z][a-z0-9_]*$": {
"type": { "anyOf": [
"anyOf": [ {"type": "string"},
{"type": "string"}, {"type": "number"}
{"type": "number"} ]
]
}
} }
} }
}, },
@ -56,7 +54,7 @@
"required": [], "required": [],
"additionalProperties": false, "additionalProperties": false,
"patternProperties": { "patternProperties": {
"^[a-z][a-z0-9_]*$": { "^[a-z0-9_]*$": {
"type": "object", "type": "object",
"required": [], "required": [],
"additionalProperties": false, "additionalProperties": false,

View file

@ -0,0 +1,19 @@
#!/usr/bin/env bash
MANIFEST_SCHEMA_LINE='#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json'
TESTS_SCHEMA_LINE='#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json'
if [ -f "manifest.toml" ]; then
if ! grep "#:schema" "manifest.toml" >/dev/null; then
sed -i "1 s|^|$MANIFEST_SCHEMA_LINE\n|" manifest.toml
fi
fi
if [ -f "tests.toml" ]; then
if ! grep "#:schema" "tests.toml" >/dev/null; then
sed -i "1 s|^|$TESTS_SCHEMA_LINE\n|" tests.toml
fi
fi
git add manifest.toml tests.toml

View file

@ -0,0 +1,9 @@
This is an ***automated*** patch to add the TOML schemas URLs to manifest.toml and tests.toml.
This allows to check for the validity of your TOML files.
Multiple tools can be used to validate files against their schema:
* `taplo`, a command line tool: `taplo lint manifest.toml`
* IDEs like VScode have plugins to automagically validate files

View file

@ -0,0 +1 @@
Add TOML schemas URLs

View file

@ -474,6 +474,8 @@ if __name__ == "__main__":
args = parser.parse_args() args = parser.parse_args()
manifest = _convert_v1_manifest_to_v2(args.app_path) manifest = _convert_v1_manifest_to_v2(args.app_path)
open(args.app_path + "/manifest.toml", "w").write(_dump_v2_manifest_as_toml(manifest)) with open(args.app_path + "/manifest.toml", "w") as manifest_file:
manifest_file.write("#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json\n\n")
manifest_file.write(_dump_v2_manifest_as_toml(manifest))
cleanup_scripts_and_conf(args.app_path) cleanup_scripts_and_conf(args.app_path)