You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Please keep the content of doc/screenshots under ~512Kb. Having screenshots bigger than 512kb is probably a waste of resource and will take unecessarily long time to load on the webadmin UI and app catalog."
if (app.path/"doc").exists() andnot (app.path/"doc"/"DESCRIPTION.md").exists():
416
416
yieldError(
417
417
"A DESCRIPTION.md is now mandatory in packaging v2 and is meant to contains an extensive description of what the app is and does. Consider also adding a '/doc/screenshots/' folder with a few screenshots of what the app looks like."
yieldError("It looks like DESCRIPTION.md just contains placeholder texts")
426
426
427
-
ifos.path.exists(app.path+"/doc/DISCLAIMER.md"):
427
+
if (app.path/"doc"/"DISCLAIMER.md").exists():
428
428
yieldWarning(
429
429
"""DISCLAIMER.md has been replaced with several files in packaging v2 to improve the UX and provide the user with key information at the appropriate step of the app install / upgrade cycles.
if (app.path/"doc").exists() andos.system(cmd) ==0:
461
461
yieldWarning(
462
462
"(doc folder) It looks like this app requires the admin to finish the install by entering DB credentials. Unless it's absolutely not easily automatizable, this should be handled automatically by the app install script using curl calls, or (CLI tools provided by the upstream maybe ?)."
"The script 'config' exists but there is no config_panel.toml ... Please remove the 'config' script if this is just the example from example_ynh, or add a proper config_panel.toml if the point is really to have a config panel"
531
529
)
532
530
533
-
iffile_exists(app.path+"/config_panel.toml"):
534
-
if (
535
-
os.system(
536
-
"grep -q 'version = \"0.1\"' '%s'"
537
-
% (app.path+"/config_panel.toml")
538
-
)
539
-
==0
540
-
):
531
+
ifnot_empty(app.path/"config_panel.toml"):
532
+
check_old_panel=os.system(
533
+
"grep -q 'version = \"0.1\"' '%s'"
534
+
% (app.path/"config_panel.toml")
535
+
)
536
+
ifcheck_old_panel==0:
541
537
yieldError(
542
538
"Config panels version 0.1 are not supported anymore, should be adapted for version 1.0"
0 commit comments