Commit graph

154 commits

Author SHA1 Message Date
julienmalik
9916146a81 Explicitely specify utf-8 encoding 2017-01-31 09:15:18 +01:00
Moul
ed392f0e4e [enh] #17: check 'set -(e)u': check it's present on five first lines. 2017-01-28 12:01:49 +01:00
Moul
be1f2b2eb5 [enh] #17: check 'set -(e)u' usage on scripts. 2017-01-28 11:55:50 +01:00
Moul
7806446235 [enh] don't do some checks on extra scripts. 2017-01-28 10:47:09 +01:00
Moul
54201c50cf [mod] #16: temporarily comment license field check. 2017-01-27 22:11:54 +01:00
Moul
78f9d30950 [mod] readme: update information. 2017-01-27 22:04:34 +01:00
Moul
9f30350c99 Merge branch 'master' of github.com:/YunoHost/package_linter 2017-01-27 22:01:15 +01:00
Moul
9253514432 [mod] #13: remove bash header check. 2017-01-27 22:00:52 +01:00
M5oul
dddc15f941 Merge pull request #13 from YunoHost/clean_comments
[fix] don't take comments into account
2017-01-27 21:59:18 +01:00
M5oul
8677998310 Merge pull request #14 from YunoHost/return_1
[enh] script returns 1 if there are errors fix #12
2017-01-27 21:54:58 +01:00
Laurent Peuch
0de5e00421 [enh] script returns 1 if there are errors fix #12 2016-12-23 18:21:39 +01:00
Laurent Peuch
ef437e255e [fix] don't take comments into account 2016-12-23 18:07:39 +01:00
M5oul
9c2aec8746 Merge pull request #10 from YunoHost/fix+pythonic_style
Fix+pythonic style
2016-12-19 10:13:22 +04:00
Moul
b14023d2f3 [mod] call one time 'print()'. 2016-12-19 10:10:09 +04:00
Moul
664993985c [enh] use more explicit variables names. 2016-12-19 10:10:09 +04:00
Moul
6e4fc3ae54 [fix] use 'enumerate' for line_nbr. Relicat. 2016-12-19 10:10:04 +04:00
Laurent Peuch
78661a4c66 [mod] more pythonic style 2016-12-18 02:37:07 +01:00
Laurent Peuch
45b320cf9c [fix] unexisting variable 2016-12-18 02:36:58 +01:00
Moul
8ecf91dac8 [mod] remove todo comments. Move them to #8 and #9. 2016-11-25 18:05:13 +01:00
Moul
f3dd498b62 [mod] readme: update features. 2016-11-25 16:24:03 +01:00
Moul
640b3cd5aa [enh] add check for deprecated methods to manage app settings and propose helpers. 2016-11-25 16:14:49 +01:00
Moul
b89eb4c3e8 [enh] also check 'ynh_die' helper, as 'exit' command,…
…is used before system modifications.
2016-11-15 13:46:07 +01:00
Moul
468e6ff936 [fix] do not check swap files from Vim which make the linter fail. 2016-11-05 20:09:10 +01:00
Moul
81ddabf580 [enh] handle checking extra script file containing functions. 2016-11-03 19:42:00 +01:00
Moul
5dad4c184c [mod] autopep8: two tabs converted to four spaces. 2016-11-03 19:09:07 +01:00
Moul
141b9284cb [mod] add vim swap file on gitignore. 2016-11-03 18:32:23 +01:00
Moul
c5f0ca39ae [fix] remove curl and wget check which doesn't works. 2016-06-25 21:03:23 +02:00
Moul
f223d7a571 [enh] manifest: add check of 'requirements' key. 2016-06-15 20:40:46 +00:00
opi
201b4bf14a [fix] Wording. 2016-06-01 09:44:20 +02:00
opi
734ff54363 [enh] Improve sudo error display. 2016-06-01 09:36:02 +02:00
Moul
59274abbd7 [enh] manifest: enhance package_format key check.
- Check point by point and display an error message if a check fail
- display success message if all tests succeed.
2016-05-31 18:28:31 +02:00
Moul
efeb25584d [fix] remove package which isn't ending with _ynh. 2016-05-25 23:13:34 +02:00
Moul
10a7cadcfd [enh] do not check the file and consider the file is not here when the file is empty. 2016-05-25 23:01:16 +02:00
Moul
e30f22b48c [enh] readme: rename checker –> linter. 2016-04-28 23:36:54 +02:00
Moul
7fb539abbd [enh] readme: rename checker –> linter. 2016-04-28 23:36:20 +02:00
Moul
d762f9f4f1 [enh] manifest: add succeed message for 'multi_instance' key check. 2016-04-28 23:32:13 +02:00
Moul
ce2a11b0ba [enh] manifest: check new rule 'packaging_format' and it's value. 2016-04-28 23:28:28 +02:00
Moul
90b77f8094 [enh] manifest: 'multi_instance' key are now boolean values type. 2016-04-28 19:31:33 +02:00
Moul
f66e1e3cc1 [enh] rename repository: checker –> linter. 2016-04-28 19:15:41 +02:00
Moul
d36881b7e2 [enh] Update readme. 2016-02-17 18:51:42 +01:00
Moul
4b12410ca9 [fix] 'user' type was in double. 2016-02-17 18:50:29 +01:00
Moul
2c928736fb [enh] Handle 'user' type for key name 'user' and 'admin'. 2016-02-17 18:46:40 +01:00
Moul
0d463a3794 Add more explicit warn when manifest parsing fail. 2016-02-01 23:31:33 +01:00
Moul
1887e31f18 Display one time the warning when many commands are run before exit command. 2016-02-01 23:26:58 +01:00
Moul
79b4e2a30a Rename function. 2016-01-31 14:27:07 +01:00
Moul
9f4fa2ef7e Don't check comment line. 2016-01-31 14:22:17 +01:00
Moul
eb5bfa2762 Use generic function to check scripts. 2016-01-31 14:18:59 +01:00
Moul
166ad9b7a8 Add email services, use print_wrong function when service doesn't exist. 2016-01-28 22:15:50 +01:00
Moul
43dfdd29f4 cp and mkdir don't need to be prefix with 'sudo'. 2016-01-26 18:58:15 +01:00
Moul
3838462531 Fix ortho. 2016-01-25 21:03:34 +01:00