mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Complain about super old build statuses in README é_è
This commit is contained in:
parent
24e9c9574a
commit
c0b225941f
1 changed files with 10 additions and 0 deletions
|
@ -578,6 +578,16 @@ class App(TestSuite):
|
|||
% (id_, id_)
|
||||
)
|
||||
|
||||
superoldstuff = ["%20%28Apps%29", "%20%28Community%29", "/jenkins/job", "ci-buster", "ci-stretch"]
|
||||
if any(oldstuff in content for oldstuff in superoldstuff):
|
||||
yield Warning(
|
||||
"The README contains references to super-old build status (such as old jenkins job or ci-apps-arm or ci-stretch...) which are not relevant anymore. Please consider switching to the new auto-generated README format which contains the standard CI badge at the top."
|
||||
)
|
||||
elif "ci-apps-arm" in content:
|
||||
yield Info(
|
||||
"The README contains references to super-old build status (such as old jenkins job or ci-apps-arm or ci-stretch...) which are not relevant anymore. Please consider switching to the new auto-generated README format which contains the standard CI badge at the top."
|
||||
)
|
||||
|
||||
@test()
|
||||
def placeholder_help_string(self):
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue