5 Commits

Author SHA1 Message Date
bf29c870b4 Flag a lot of apps as deprecated. Add an alternative in the wishlist. 2024-03-09 15:46:05 +01:00
48ca810d12 Merge pull request #2109 from YunoHost/OniriCorpe-patch-1
Readme: add alt text and edit 'antifeatures' and 'category' comments
2024-03-09 12:53:26 +01:00
31f92a1bd1 Readme: add alt text and edit 'antifeatures' and 'category' comments 2024-03-09 06:11:43 +01:00
68741582d0 Merge pull request #2105 from YunoHost/readme_generator_generic_lang_list
feat(readme_generator): don't hardcode the list of languages, extract it from the README templates
2024-03-08 21:08:48 +01:00
a14b644665 feat(readme_generator): don't hardcode the list of languages, extract it from the README templates 2024-03-08 04:16:36 +01:00
10 changed files with 74 additions and 142 deletions

View File

@ -1,6 +1,6 @@
# YunoHost application catalog # YunoHost application catalog
<img src="https://avatars.githubusercontent.com/u/1519495?s=200&v=4" width=80><img src="https://yunohost.org/user/images/yunohost_package.png" width=80> <img alt="YunoHost logo" src="https://avatars.githubusercontent.com/u/1519495?s=200&v=4" width=80><img alt="Package logo" src="https://yunohost.org/user/images/yunohost_package.png" width=80>
This repository contains the default YunoHost app catalog, as well as related This repository contains the default YunoHost app catalog, as well as related
tools that can be run manually or automatically. tools that can be run manually or automatically.
@ -16,7 +16,7 @@ them such as their category or maintenance state. This file is regularly read by
- You can browse [the contributor documentation](https://yunohost.org/contributordoc) - You can browse [the contributor documentation](https://yunohost.org/contributordoc)
- If you are not familiar with Git/GitHub, you can have a look at our [homemade guide](https://yunohost.org/packaging_apps_git) - If you are not familiar with Git/GitHub, you can have a look at our [homemade guide](https://yunohost.org/packaging_apps_git)
- Don't hesitate to reach for help on the dedicated [application packaging chatroom](https://yunohost.org/chat_rooms) ... we can even schedule an audio meeting to help you get started! - Don't hesitate to reach for help on the dedicated [application packaging chatroom](https://yunohost.org/chat_rooms)... we can even schedule an audio meeting to help you get started!
## How to add your app to the application catalog ## How to add your app to the application catalog
@ -46,9 +46,9 @@ App example addition:
```toml ```toml
[your_app] [your_app]
antifeatures = [ "deprecated-software" ] # Remove if no relevant antifeature applies antifeatures = [ "deprecated-software" ] # Replace with the appropriate category id found in antifeatures.toml, remove if no relevant antifeature applies
potential_alternative_to = [ "YouTube" ] # Indicate if your app can be thought of as an alternative to popular proprietary services (or remove if none applies) potential_alternative_to = [ "YouTube" ] # Indicate if your app can be thought of as an alternative to popular proprietary services (or remove if none applies)
category = "foobar" # Replace with the appropriate category id found in categories.toml category = "foobar" # Replace with the appropriate category id found in categories.toml, don't invent a category
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/your_app_ynh" url = "https://github.com/YunoHost-Apps/your_app_ynh"
``` ```

View File

@ -1,5 +1,3 @@
#:schema https://github.com/YunoHost/apps/blob/master/schemas/antifeatures.toml.schema.json
[tracking] [tracking]
icon = "user-secret" icon = "user-secret"
title.en = "Tracking" title.en = "Tracking"

View File

@ -1,5 +1,3 @@
#:schema https://github.com/YunoHost/apps/raw/master/schemas/apps.toml.schema.json
[13ft] [13ft]
category = "reading" category = "reading"
level = 7 level = 7
@ -39,6 +37,7 @@ level = 6
state = "working" state = "working"
subtags = [ "microblogging", "pictures" ] subtags = [ "microblogging", "pictures" ]
url = "https://github.com/YunoHost-Apps/acropolis_ynh" url = "https://github.com/YunoHost-Apps/acropolis_ynh"
antifeatures = ["deprecated-software"]
[actual] [actual]
category = "productivity_and_management" category = "productivity_and_management"
@ -61,6 +60,7 @@ level = 8
state = "working" state = "working"
subtags = [ "db" ] subtags = [ "db" ]
url = "https://github.com/YunoHost-Apps/adminer_ynh" url = "https://github.com/YunoHost-Apps/adminer_ynh"
antifeatures = ["deprecated-software"]
[aeneria] [aeneria]
category = "iot" category = "iot"
@ -75,6 +75,7 @@ potential_alternative_to = [ "Google Agenda", "Microsoft Outlook" ]
state = "working" state = "working"
subtags = [ "calendar" ] subtags = [ "calendar" ]
url = "https://github.com/YunoHost-Apps/agendav_ynh" url = "https://github.com/YunoHost-Apps/agendav_ynh"
antifeatures = ["deprecated-software"]
[agora] [agora]
category = "wat" category = "wat"
@ -187,6 +188,7 @@ category = "iot"
level = 8 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/beehive_ynh" url = "https://github.com/YunoHost-Apps/beehive_ynh"
antifeatures = ["deprecated-software"]
[biboumi] [biboumi]
category = "communication" category = "communication"
@ -201,6 +203,7 @@ level = 7
state = "working" state = "working"
subtags = [ "books" ] subtags = [ "books" ]
url = "https://github.com/YunoHost-Apps/bicbucstriim_ynh" url = "https://github.com/YunoHost-Apps/bicbucstriim_ynh"
antifeatures = ["deprecated-software"]
[blogotext] [blogotext]
category = "publishing" category = "publishing"
@ -209,6 +212,7 @@ potential_alternative_to = [ "Blogger", "Coldfusion", "Wix" ]
state = "working" state = "working"
subtags = [ "blog" ] subtags = [ "blog" ]
url = "https://github.com/YunoHost-Apps/blogotext_ynh" url = "https://github.com/YunoHost-Apps/blogotext_ynh"
antifeatures = ["deprecated-software"]
[bludit] [bludit]
category = "publishing" category = "publishing"
@ -333,6 +337,7 @@ category = "small_utilities"
level = 8 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/cheky_ynh" url = "https://github.com/YunoHost-Apps/cheky_ynh"
antifeatures = ["deprecated-software"]
[chitchatter] [chitchatter]
category = "communication" category = "communication"
@ -436,6 +441,7 @@ potential_alternative_to = [ "Disqus" ]
state = "working" state = "working"
subtags = [ "website" ] subtags = [ "website" ]
url = "https://github.com/YunoHost-Apps/commento_ynh" url = "https://github.com/YunoHost-Apps/commento_ynh"
antifeatures = ["deprecated-software"]
[compteur_du_gase] [compteur_du_gase]
category = "office" category = "office"
@ -489,7 +495,7 @@ subtags = [ "db" ]
url = "https://github.com/YunoHost-Apps/couchdb_ynh" url = "https://github.com/YunoHost-Apps/couchdb_ynh"
[couchpotato] [couchpotato]
antifeatures = [ "package-not-maintained" ] antifeatures = [ "package-not-maintained", "deprecated-software" ]
category = "multimedia" category = "multimedia"
level = 0 level = 0
potential_alternative_to = [ "Netflix" ] potential_alternative_to = [ "Netflix" ]
@ -659,6 +665,7 @@ level = 6
state = "working" state = "working"
subtags = [ "pastebin" ] subtags = [ "pastebin" ]
url = "https://github.com/YunoHost-Apps/distbin_ynh" url = "https://github.com/YunoHost-Apps/distbin_ynh"
antifeatures = ["deprecated-software"]
[django-fmd] [django-fmd]
category = "iot" category = "iot"
@ -838,6 +845,7 @@ category = "small_utilities"
level = 8 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/encryptor-decryptor_ynh" url = "https://github.com/YunoHost-Apps/encryptor-decryptor_ynh"
antifeatures = ["deprecated-software"]
[endi] [endi]
category = "productivity_and_management" category = "productivity_and_management"
@ -867,6 +875,7 @@ potential_alternative_to = [ "Google Sheets", "G Suite", "Microsoft Excel", "Off
state = "working" state = "working"
subtags = [ "spreadsheet" ] subtags = [ "spreadsheet" ]
url = "https://github.com/YunoHost-Apps/ethercalc_ynh" url = "https://github.com/YunoHost-Apps/ethercalc_ynh"
antifeatures = ["deprecated-software"]
[etherpad] [etherpad]
category = "office" category = "office"
@ -904,6 +913,7 @@ level = 8
state = "working" state = "working"
subtags = [ "monitoring" ] subtags = [ "monitoring" ]
url = "https://github.com/YunoHost-Apps/facette_ynh" url = "https://github.com/YunoHost-Apps/facette_ynh"
antifeatures = ["deprecated-software"]
[facilmap] [facilmap]
category = "productivity_and_management" category = "productivity_and_management"
@ -945,6 +955,7 @@ potential_alternative_to = [ "WeTransfer" ]
state = "working" state = "working"
subtags = [ "files" ] subtags = [ "files" ]
url = "https://github.com/YunoHost-Apps/filepizza_ynh" url = "https://github.com/YunoHost-Apps/filepizza_ynh"
antifeatures = ["deprecated-software"]
[firefish] [firefish]
category = "social_media" category = "social_media"
@ -1004,6 +1015,7 @@ potential_alternative_to = [ "Invision Community", "Vanilla", "vBulletin", "XenF
state = "working" state = "working"
subtags = [ "forum" ] subtags = [ "forum" ]
url = "https://github.com/YunoHost-Apps/fluxbb_ynh" url = "https://github.com/YunoHost-Apps/fluxbb_ynh"
antifeatures = ["deprecated-software"]
[focalboard] [focalboard]
category = "productivity_and_management" category = "productivity_and_management"
@ -1125,6 +1137,7 @@ level = 8
state = "working" state = "working"
subtags = [ "website", "blog" ] subtags = [ "website", "blog" ]
url = "https://github.com/YunoHost-Apps/getsimple_ynh" url = "https://github.com/YunoHost-Apps/getsimple_ynh"
antifeatures = ["deprecated-software"]
[ghost] [ghost]
antifeatures = [ "arbitrary-limitations" ] antifeatures = [ "arbitrary-limitations" ]
@ -1356,6 +1369,7 @@ category = "system_tools"
level = 7 level = 7
state = "working" state = "working"
url = "https://github.com/Yunohost-Apps/httpsh_ynh" url = "https://github.com/Yunohost-Apps/httpsh_ynh"
antifeatures = ["deprecated-software"]
[hubzilla] [hubzilla]
category = "social_media" category = "social_media"
@ -1444,7 +1458,6 @@ subtags = [ "videos" ]
url = "https://github.com/YunoHost-Apps/invidious_ynh" url = "https://github.com/YunoHost-Apps/invidious_ynh"
[invoiceninja] [invoiceninja]
antifeatures = [ "deprecated-software" ]
category = "productivity_and_management" category = "productivity_and_management"
level = 7 level = 7
state = "working" state = "working"
@ -1477,7 +1490,7 @@ state = "working"
url = "https://github.com/YunoHost-Apps/jackett_ynh" url = "https://github.com/YunoHost-Apps/jackett_ynh"
[jappix] [jappix]
antifeatures = [ "package-not-maintained" ] antifeatures = [ "package-not-maintained", "deprecated-software" ]
category = "communication" category = "communication"
level = 7 level = 7
state = "working" state = "working"
@ -1648,7 +1661,7 @@ subtags = [ "text" ]
url = "https://github.com/YunoHost-Apps/languagetool_ynh" url = "https://github.com/YunoHost-Apps/languagetool_ynh"
[laverna] [laverna]
antifeatures = [ "package-not-maintained" ] antifeatures = [ "package-not-maintained", "deprecated-software" ]
category = "office" category = "office"
level = 7 level = 7
state = "working" state = "working"
@ -1729,6 +1742,7 @@ level = 7
state = "working" state = "working"
subtags = [ "wiki" ] subtags = [ "wiki" ]
url = "https://github.com/YunoHost-Apps/libreto_ynh" url = "https://github.com/YunoHost-Apps/libreto_ynh"
antifeatures = ["deprecated-software"]
[libretranslate] [libretranslate]
category = "small_utilities" category = "small_utilities"
@ -1776,6 +1790,7 @@ level = 6
state = "working" state = "working"
subtags = [ "monitoring" ] subtags = [ "monitoring" ]
url = "https://github.com/YunoHost-Apps/linuxdash_ynh" url = "https://github.com/YunoHost-Apps/linuxdash_ynh"
antifeatures = ["deprecated-software"]
[lionwiki-t2t] [lionwiki-t2t]
category = "publishing" category = "publishing"
@ -1814,6 +1829,7 @@ potential_alternative_to = [ "Google Docs", "Microsoft Excel" ]
state = "working" state = "working"
subtags = [ "spreadsheet" ] subtags = [ "spreadsheet" ]
url = "https://github.com/YunoHost-Apps/luckysheet_ynh" url = "https://github.com/YunoHost-Apps/luckysheet_ynh"
antifeatures = ["deprecated-software"]
[lufi] [lufi]
category = "synchronization" category = "synchronization"
@ -1988,6 +2004,7 @@ level = 8
state = "working" state = "working"
subtags = [ "chat" ] subtags = [ "chat" ]
url = "https://github.com/YunoHost-Apps/minchat_ynh" url = "https://github.com/YunoHost-Apps/minchat_ynh"
antifeatures = ["deprecated-software"]
[mindmaps] [mindmaps]
category = "office" category = "office"
@ -1995,6 +2012,7 @@ level = 8
state = "working" state = "working"
subtags = [ "mindmap" ] subtags = [ "mindmap" ]
url = "https://github.com/YunoHost-Apps/mindmaps_ynh" url = "https://github.com/YunoHost-Apps/mindmaps_ynh"
antifeatures = ["deprecated-software"]
[minetest] [minetest]
category = "games" category = "games"
@ -2008,6 +2026,7 @@ category = "publishing"
level = 8 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/mineweb_ynh" url = "https://github.com/YunoHost-Apps/mineweb_ynh"
antifeatures = ["deprecated-software"]
[minidlna] [minidlna]
category = "multimedia" category = "multimedia"
@ -2120,6 +2139,7 @@ level = 8
state = "working" state = "working"
subtags = [ "meeting" ] subtags = [ "meeting" ]
url = "https://github.com/YunoHost-Apps/mumble-web_ynh" url = "https://github.com/YunoHost-Apps/mumble-web_ynh"
antifeatures = ["deprecated-software"]
[mumbleserver] [mumbleserver]
category = "communication" category = "communication"
@ -2355,6 +2375,7 @@ category = "wat"
level = 8 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/osjs_ynh" url = "https://github.com/YunoHost-Apps/osjs_ynh"
antifeatures = ["deprecated-software"]
[osticket] [osticket]
category = "productivity_and_management" category = "productivity_and_management"
@ -2592,6 +2613,7 @@ level = 8
state = "working" state = "working"
subtags = [ "website", "blog" ] subtags = [ "website", "blog" ]
url = "https://github.com/YunoHost-Apps/pico_ynh" url = "https://github.com/YunoHost-Apps/pico_ynh"
antifeatures = ["deprecated-software"]
[pihole] [pihole]
category = "system_tools" category = "system_tools"
@ -2691,6 +2713,7 @@ potential_alternative_to = [ "Wix" ]
state = "working" state = "working"
subtags = [ "website" ] subtags = [ "website" ]
url = "https://github.com/YunoHost-Apps/prettynoemiecms_ynh" url = "https://github.com/YunoHost-Apps/prettynoemiecms_ynh"
antifeatures = ["deprecated-software"]
[privatebin] [privatebin]
category = "small_utilities" category = "small_utilities"
@ -2972,6 +2995,7 @@ category = "small_utilities"
level = 8 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/scrumblr_ynh" url = "https://github.com/YunoHost-Apps/scrumblr_ynh"
antifeatures = ["deprecated-software"]
[scrutiny] [scrutiny]
category = "system_tools" category = "system_tools"
@ -3037,6 +3061,7 @@ category = "system_tools"
level = 6 level = 6
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/shellinabox_ynh" url = "https://github.com/YunoHost-Apps/shellinabox_ynh"
antifeatures = ["deprecated-software"]
[shiori] [shiori]
category = "small_utilities" category = "small_utilities"
@ -3059,6 +3084,7 @@ potential_alternative_to = [ "bitly" ]
state = "working" state = "working"
subtags = [ "url_shortener" ] subtags = [ "url_shortener" ]
url = "https://github.com/YunoHost-Apps/shuri_ynh" url = "https://github.com/YunoHost-Apps/shuri_ynh"
antifeatures = ["deprecated-software"]
[signaturepdf] [signaturepdf]
category = "small_utilities" category = "small_utilities"
@ -3071,12 +3097,14 @@ category = "small_utilities"
level = 6 level = 6
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/simple-file-manager_ynh" url = "https://github.com/YunoHost-Apps/simple-file-manager_ynh"
antifeatures = ["deprecated-software"]
[simple-hash-generator] [simple-hash-generator]
category = "small_utilities" category = "small_utilities"
level = 8 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/simple-hash-generator_ynh" url = "https://github.com/YunoHost-Apps/simple-hash-generator_ynh"
antifeatures = ["deprecated-software"]
[simple-torrent] [simple-torrent]
antifeatures = [ "deprecated-software" ] antifeatures = [ "deprecated-software" ]
@ -3094,7 +3122,7 @@ subtags = [ "chat" ]
url = "https://github.com/YunoHost-Apps/simplex_ynh" url = "https://github.com/YunoHost-Apps/simplex_ynh"
[simplytranslate] [simplytranslate]
antifeatures = [ "non-free-network" ] antifeatures = [ "non-free-network", "deprecated-software" ]
category = "small_utilities" category = "small_utilities"
level = 7 level = 7
state = "working" state = "working"
@ -3106,6 +3134,7 @@ level = 8
state = "working" state = "working"
subtags = [ "website" ] subtags = [ "website" ]
url = "https://github.com/YunoHost-Apps/sitemagiccms_ynh" url = "https://github.com/YunoHost-Apps/sitemagiccms_ynh"
antifeatures = ["deprecated-software"]
[slingcode] [slingcode]
category = "dev" category = "dev"
@ -3113,6 +3142,7 @@ level = 8
state = "working" state = "working"
subtags = [ "programming" ] subtags = [ "programming" ]
url = "https://github.com/YunoHost-Apps/slingcode_ynh" url = "https://github.com/YunoHost-Apps/slingcode_ynh"
antifeatures = ["deprecated-software"]
[snappymail] [snappymail]
category = "communication" category = "communication"
@ -3201,6 +3231,7 @@ category = "system_tools"
level = 8 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/ssh_chroot_dir_ynh" url = "https://github.com/YunoHost-Apps/ssh_chroot_dir_ynh"
antifeatures = ["deprecated-software"]
[statpingng] [statpingng]
category = "system_tools" category = "system_tools"
@ -3230,6 +3261,7 @@ potential_alternative_to = [ "Google Slides", "Office 365", "Prezi", "SoZi" ]
state = "working" state = "working"
subtags = [ "impress" ] subtags = [ "impress" ]
url = "https://github.com/YunoHost-Apps/strut_ynh" url = "https://github.com/YunoHost-Apps/strut_ynh"
antifeatures = ["deprecated-software"]
[superset] [superset]
category = "wat" category = "wat"
@ -3286,7 +3318,7 @@ state = "working"
url = "https://github.com/YunoHost-Apps/tandoor_ynh" url = "https://github.com/YunoHost-Apps/tandoor_ynh"
[taskboard] [taskboard]
antifeatures = [ "package-not-maintained" ] antifeatures = [ "package-not-maintained", "deprecated-software" ]
category = "productivity_and_management" category = "productivity_and_management"
level = 7 level = 7
potential_alternative_to = [ "Trello" ] potential_alternative_to = [ "Trello" ]
@ -3472,6 +3504,7 @@ level = 8
state = "working" state = "working"
subtags = [ "task" ] subtags = [ "task" ]
url = "https://github.com/YunoHost-Apps/tyto_ynh" url = "https://github.com/YunoHost-Apps/tyto_ynh"
antifeatures = ["deprecated-software"]
[ulogger] [ulogger]
category = "small_utilities" category = "small_utilities"
@ -3589,6 +3622,7 @@ category = "wat"
level = 8 level = 8
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/wemawema_ynh" url = "https://github.com/YunoHost-Apps/wemawema_ynh"
antifeatures = ["deprecated-software"]
[wetty] [wetty]
category = "system_tools" category = "system_tools"
@ -3757,6 +3791,7 @@ level = 6
potential_alternative_to = [ "Mullvad" ] potential_alternative_to = [ "Mullvad" ]
state = "working" state = "working"
url = "https://github.com/YunoHost-Apps/zeronet_ynh" url = "https://github.com/YunoHost-Apps/zeronet_ynh"
antifeatures = ["deprecated-software"]
[zerotier] [zerotier]
antifeatures = [ "not-totally-free-upstream", "non-free-network" ] antifeatures = [ "not-totally-free-upstream", "non-free-network" ]

View File

@ -1,5 +1,3 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/categories.toml.schema.json
[synchronization] [synchronization]
icon = "cloud" icon = "cloud"
title.en = "Synchronization" title.en = "Synchronization"

View File

@ -1,5 +1,3 @@
#:schema https://github.com/YunoHost/apps/raw/master/schemas/graveyard.toml.schema.json
[anfora] [anfora]
category = "social_media" category = "social_media"
subtags = [ "pictures" ] subtags = [ "pictures" ]

View File

@ -1,63 +0,0 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/YunoHost/apps/blob/master/schemas/antifeatures.toml.schema.json",
"title": "Yunohost's antifeatures.toml schema",
"version": "0",
"$defs": {
"translated_string": {
"type": "object",
"required": [
"en"
],
"additionalProperties": false,
"patternProperties": {
"^[a-z]{2}$": {
"type": "string"
}
}
}
},
"type": "object",
"required": [],
"additionalProperties": false,
"patternProperties": {
"^[a-z0-9_-]*$": {
"type": "object",
"required": [
"icon",
"title",
"description"
],
"additionalProperties": false,
"properties": {
"icon": {
"type": "string"
},
"title": {
"$ref": "#/$defs/translated_string"
},
"description": {
"$ref": "#/$defs/translated_string"
},
"subtags": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^[a-z_]*$": {
"type": "object",
"required": [
"title"
],
"additionalProperties": false,
"properties": {
"title": {
"$ref": "#/$defs/translated_string"
}
}
}
}
}
}
}
}
}

View File

@ -1,48 +0,0 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/YunoHost/apps/blob/master/schemas/graveyard.toml.schema.json",
"title": "Yunohost's graveyard.toml schema",
"version": "0",
"type": "object",
"required": [],
"additionalProperties": false,
"patternProperties": {
"^[a-z0-9_-]*$": {
"type": "object",
"required": [
"url"
],
"additionalProperties": false,
"properties": {
"category": {
"type": "string"
},
"subtags": {
"type": "array",
"items": {
"type": "string"
},
"additionalItems": false
},
"url": {
"type": "string",
"format": "url"
},
"antifeatures": {
"type": "array",
"items": {
"type": "string"
},
"additionalItems": false
},
"potential_alternative_to": {
"type": "array",
"items": {
"type": "string"
},
"additionalItems": false
}
}
}
}
}

View File

@ -3,16 +3,14 @@
"$id": "https://github.com/YunoHost/apps/blob/master/schemas/wishlist.toml.schema.json", "$id": "https://github.com/YunoHost/apps/blob/master/schemas/wishlist.toml.schema.json",
"title": "Yunohost's wishlist.toml schema", "title": "Yunohost's wishlist.toml schema",
"version": "0", "version": "0",
"type": "object", "type": "object",
"required": [], "required": [],
"additionalProperties": false, "additionalProperties": false,
"patternProperties": { "patternProperties": {
"^[a-z0-9_-]*$": { "^[a-z0-9_-]*$": {
"type": "object", "type": "object",
"required": [ "required": ["name", "upstream"],
"name",
"upstream"
],
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"name": { "name": {
@ -28,12 +26,9 @@
"website": { "website": {
"type": "string", "type": "string",
"format": "url" "format": "url"
},
"draft": {
"type": "string",
"format": "url"
} }
} }
} }
} }
}
}

View File

@ -6,7 +6,7 @@ import os
from pathlib import Path from pathlib import Path
from copy import deepcopy from copy import deepcopy
from typing import Dict, Optional, List from typing import Dict, Optional, List, Tuple
import toml import toml
from jinja2 import Environment, FileSystemLoader from jinja2 import Environment, FileSystemLoader
@ -51,7 +51,22 @@ def generate_READMEs(app_path: Path):
env = Environment(loader=FileSystemLoader(Path(__file__).parent / "templates")) env = Environment(loader=FileSystemLoader(Path(__file__).parent / "templates"))
for lang, lang_suffix in [("en", ""), ("fr", "_fr")]: # parse available README template and generate a list in the form of:
# > [("en", ""), ("fr", "_fr"), ...]
available_langs: List[Tuple[str, str]] = [("en", "")]
for README_template in (Path(__file__).parent / "templates").iterdir():
# we only want README_{lang}.md.j2 files
if README_template.name == "README.md.j2":
continue
if not README_template.name.endswith(".j2") or not README_template.name.startswith("README_"):
continue
language_code = README_template.name.split("_")[1].split(".")[0]
available_langs.append((language_code, "_" + language_code))
for lang, lang_suffix in available_langs:
template = env.get_template(f"README{lang_suffix}.md.j2") template = env.get_template(f"README{lang_suffix}.md.j2")
if (app_path / "doc" / f"DESCRIPTION{lang_suffix}.md").exists(): if (app_path / "doc" / f"DESCRIPTION{lang_suffix}.md").exists():

View File

@ -1,5 +1,3 @@
#:schema https://github.com/YunoHost/apps/raw/master/schemas/wishlist.toml.schema.json
[access-to-memory-atom] [access-to-memory-atom]
name = "Access to Memory (AtoM)" name = "Access to Memory (AtoM)"
description = "Standards-based archival description and access in a multilingual, multi-repository environment." description = "Standards-based archival description and access in a multilingual, multi-repository environment."
@ -1713,6 +1711,12 @@ upstream = ""
website = "https://umap.openstreetmap.fr/" website = "https://umap.openstreetmap.fr/"
draft = "https://github.com/YunoHost-Apps/umap_ynh" draft = "https://github.com/YunoHost-Apps/umap_ynh"
[univer]
name = "Univer"
description = "Replacement of Luckysheet (deprecated, in yunohost packages)"
upstream = "https://github.com/dream-num/univer"
website = "https://univer.ai/"
[upmpdcli] [upmpdcli]
name = "upmpdcli" name = "upmpdcli"
description = "" description = ""