Commit graph

374 commits

Author SHA1 Message Date
Alexandre Aubin
adec1fdf02
Requalify the check that app is working as an Error instead of Critical because that's hella confusing for CI test on apps not yet in the catalog 2021-01-21 20:30:13 +01:00
Alexandre Aubin
9db63cc2ce Ignore binary file match derp 2021-01-17 15:32:34 +01:00
Alexandre Aubin
0e5c8a4504 Report default/placeholder help string + remaining REPLACEBYYOURAPP 2021-01-10 18:53:00 +01:00
Alexandre Aubin
d6bfb089c9 Report having a message talking about configuring firewall when it's only about finding an available port ... 2021-01-09 22:11:44 +01:00
Alexandre Aubin
8ba4a25b8b Report black magic with conf.json.persistent 2021-01-09 18:45:40 +01:00
Alexandre Aubin
6d04f17c8e
Merge pull request #91 from YunoHost/fix-version
Fix error when revision version > 9
2021-01-09 16:22:05 +01:00
ericgaspar
403fff1e7c
Update package_linter.py 2021-01-09 14:46:53 +01:00
Alexandre Aubin
360da39e15 Improved regex to avoid matching timer/target services 2021-01-07 18:43:58 +01:00
Alexandre Aubin
2650e4cc4b Report starting services with systemctl start instead of ynh_systemd_action 2021-01-07 18:37:51 +01:00
Alexandre Aubin
a47f5952cd Return qualify_for_level_9 if app is flagged high quality 2020-12-17 22:47:24 +01:00
Alexandre Aubin
095a690fe7 Fix change_url check + set it as info? 2020-12-05 17:02:27 +01:00
Alexandre Aubin
371237c093
Merge pull request #88 from YunoHost/small-typos
Update package_linter.py
2020-12-05 15:54:49 +01:00
ericgaspar
cb6548e2ad
Update package_linter.py 2020-12-05 15:52:38 +01:00
ericgaspar
582fe709a9
Update package_linter.py 2020-12-05 15:37:23 +01:00
Alexandre Aubin
522092764c
Merge pull request #87 from YunoHost/long_term_quality_and_checks_for_level_7
New definitions for level 7, 8 (and 9)
2020-12-01 22:42:54 +01:00
Alexandre Aubin
1539c5da74 Report deprecated 'yunohost app addaccess' 2020-12-01 01:25:57 +01:00
Alexandre Aubin
035ba260cb Ugly code to check consistency of 'yunohost service add' deeper :| 2020-12-01 01:19:58 +01:00
Alexandre Aubin
8b30b547a5 Report use of ynh_normalize_url_path 2020-11-29 07:02:19 +01:00
Alexandre Aubin
595edefa59 Report lack of badge in the README 2020-11-28 19:55:26 +01:00
Alexandre Aubin
8447af9142 Report (as info) ynh_script_progression during backup 2020-11-28 18:51:19 +01:00
Alexandre Aubin
ee3d38c177 Report using md5sum for checksums (as info) 2020-11-28 18:43:15 +01:00
Alexandre Aubin
657c33e575 Don't lint systemd override files 2020-11-28 18:32:51 +01:00
Alexandre Aubin
14a199a944 Merge branch 'master' into long_term_quality_and_checks_for_level_7 2020-11-27 06:53:07 +01:00
Alexandre Aubin
6cc1b2f330 Report is_public default value being a string 2020-11-25 02:11:26 +01:00
Alexandre Aubin
b00ef3d23c Make sure wget is quiet 2020-11-24 03:45:10 +01:00
Alexandre Aubin
c1f2bfe536 Recommend to add --quiet when using raw systemclt enable/disable 2020-11-24 03:25:45 +01:00
Alexandre Aubin
809232f8b3 Support multiple licenses 2020-11-21 02:34:01 +01:00
Alexandre Aubin
ce36805ad5 Turn some error into critical ? 2020-11-21 00:33:09 +01:00
Alexandre Aubin
a682a34454 Misc message tweaks 2020-11-19 00:47:57 +01:00
Alexandre Aubin
ef8256372f Minor tweak about version requirements 2020-11-19 00:40:35 +01:00
Alexandre Aubin
0b4a17ddd6 Uuuh more info vs. warning tweaks ? 2020-11-19 00:35:17 +01:00
Alexandre Aubin
9d88e90857 Misc fix 2020-11-19 00:07:36 +01:00
Alexandre Aubin
84d9a3a5c2 Cosmetics 2020-11-18 23:56:58 +01:00
Alexandre Aubin
d80db3d9a4 Implement new level 7 and 8 definitions 2020-11-18 23:56:52 +01:00
Alexandre Aubin
fe90e3acec Warning -> Info for not-so-important-warnings 2020-11-18 20:32:40 +01:00
Alexandre Aubin
8970d3b960 Change the test for the license key: expect a license ID listed on spxd. I really doubt we need to cover the case of "the license is free but not listed on spdx" ... Spdx's list is quite exhaustive... 2020-11-18 20:30:55 +01:00
Alexandre Aubin
91cd621e0c Refactor app catalog checks, add a check related to long-term good-quality-ness... + eligibility of 'new' level 7 ? 2020-11-17 01:13:05 +01:00
Alexandre Aubin
d66362f08f Report incorrect syntax for more_set_headers 2020-11-16 18:11:26 +01:00
Alexandre Aubin
813b244f01 Report obsolete use of -i/--installed with yunohost app list 2020-11-16 17:49:29 +01:00
Alexandre Aubin
6e0c314098 Try/except because flarum has a nonutf8 file >_> 2020-11-11 17:13:01 +01:00
Alexandre Aubin
bd199390cd Add checks for running systemd and php worker as non-root ... + small refactor to have a proper 'config' test suite 2020-11-11 17:08:49 +01:00
Alexandre Aubin
0c9f532e36 Better manifest syntax issue handling 2020-11-10 14:08:16 +01:00
Alexandre Aubin
f6b9acc401 Path may contain spaces >_> 2020-11-10 13:46:47 +01:00
Alexandre Aubin
eb774ae2fc Weird CHECK_SIZE helper >_> 2020-11-09 18:56:29 +01:00
Alexandre Aubin
efcacd2bd2 Typo 2020-11-09 18:31:59 +01:00
Alexandre Aubin
f803acd1fd Report references to php5 2020-11-09 18:21:31 +01:00
Alexandre Aubin
4b513b4cd6 Misc fixes + some apps are using rm -fR or -Rf instead of -rf, which wasnt caught by linter... 2020-11-09 15:46:32 +01:00
Alexandre Aubin
e3dcea7299
Merge pull request #85 from YunoHost/epic_refactoring
Refactor with a more "unit-test" like approach, + enforce some tests as error (instead of warning) for moaaar quality
2020-11-09 03:38:25 +01:00
Alexandre Aubin
c4e823062f
Apply suggestions from code review
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2020-11-08 15:41:53 +01:00
Alexandre Aubin
e15a959860 No more 'app' type 2020-11-07 17:41:40 +01:00