diff --git a/store/app.py b/store/app.py
index 73a4b8f5..7a2b6f30 100644
--- a/store/app.py
+++ b/store/app.py
@@ -217,6 +217,7 @@ def add_to_wishlist():
description = request.form["description"].strip().replace("\n", "")
upstream = request.form["upstream"].strip().replace("\n", "")
website = request.form["website"].strip().replace("\n", "")
+ license = request.form["license"].strip().replace("\n", "")
boring_keywords_to_check_for_people_not_reading_the_instructions = ["free", "open source", "open-source", "self-hosted", "simple", "lightweight", "light-weight", "best", "most", "fast", "flexible", "puissante", "powerful", "secure"]
@@ -239,6 +240,14 @@ def add_to_wishlist():
len(upstream) <= 150,
_("Upstream code repo URL should be less than 150 characters"),
),
+ (
+ len(license) >= 10,
+ _("License URL should be at least 10 characters"),
+ ),
+ (
+ len(license) <= 250,
+ _("License URL should be less than 250 characters"),
+ ),
(len(website) <= 150, _("Website URL should be less than 150 characters")),
(
re.match(r"^[\w\.\-\(\)\ ]+$", name),
@@ -338,6 +347,7 @@ Proposed by **{session['user']['username']}**
Website: {website}
Upstream repo: {upstream}
+License: {license}
Description: {description}
- [ ] Confirm app is self-hostable and generally makes sense to possibly integrate in YunoHost
diff --git a/store/templates/wishlist_add.html b/store/templates/wishlist_add.html
index 6d1003f4..7fb2a561 100644
--- a/store/templates/wishlist_add.html
+++ b/store/templates/wishlist_add.html
@@ -66,6 +66,10 @@
+
+
+ {{ _("The YunoHost project will only package free/open-source software (with possible case-by-case exceptions for apps which are not-totally-free)") }}
+
{{ _("Please *do not* just copy-paste the code repository URL. If the project has no proper website, then leave the field empty.") }}