Recategorize error as warning because it's clearly too aggressive @_@

This commit is contained in:
Alexandre Aubin 2023-04-01 14:07:40 +02:00
parent f281436e88
commit e5b29238b2

View file

@ -682,7 +682,7 @@ class App(TestSuite):
content = open(app.path + "/README.md").read() content = open(app.path + "/README.md").read()
if not "This README was automatically generated" in content or not "dash.yunohost.org/integration/%s.svg" % id_ in content: if not "This README was automatically generated" in content or not "dash.yunohost.org/integration/%s.svg" % id_ in content:
yield Error( yield Warning(
"It looks like the README was not generated automatically by https://github.com/YunoHost/apps/tree/master/tools/README-generator. " "It looks like the README was not generated automatically by https://github.com/YunoHost/apps/tree/master/tools/README-generator. "
"Note that nowadays you are not suppose to edit README.md, the yunohost bot will usually automatically update it if your app is hosted in the YunoHost-Apps org ... or you can also generate it by running the README-generator yourself." "Note that nowadays you are not suppose to edit README.md, the yunohost bot will usually automatically update it if your app is hosted in the YunoHost-Apps org ... or you can also generate it by running the README-generator yourself."
) )