Commit graph

472 commits

Author SHA1 Message Date
1f035c4456 Use a wrapper for file-backed cached functions 2024-06-09 23:22:11 +02:00
Alexandre Aubin
91b14e1dc7 (Forgot to update comment) 2024-05-20 11:37:48 +02:00
Alexandre Aubin
9d2c4c8706 Update list of official helpers 2024-05-20 11:36:47 +02:00
OniriCorpe
365eb27e15
Merge pull request #148 from YunoHost/actions/black
Format Python code with Black
2024-05-19 19:29:58 +02:00
tituspijean
ecbc8749f1 🎨 Format Python code with Black 2024-05-19 16:42:29 +00:00
OniriCorpe
9eb04be676
makes level 8 disqualification explicit (#147) 2024-05-19 18:42:12 +02:00
Alexandre Aubin
32fb8d4049 Report using supervisorctl as a warning 2024-05-18 17:35:56 +02:00
Alexandre Aubin
6da772f7fd
Merge pull request #146 from YunoHost/OniriCorpe-patch-1
'sed -i' info: added mention of 'ynh_replace_string'
2024-04-23 00:05:11 +02:00
OniriCorpe
3a8904ad80
'sed -i' info: added mention of 'ynh_replace_string' 2024-04-23 00:02:56 +02:00
tituspijean
305a99c890
Lower needed exposed ports warning to info (#116) 2024-04-22 18:55:12 +02:00
Alexandre Aubin
02265400d9
Merge pull request #145 from YunoHost/actions/black
Format Python code with Black
2024-04-22 18:35:17 +02:00
alexAubin
b1202a8b77 🎨 Format Python code with Black 2024-04-22 16:10:28 +00:00
Alexandre Aubin
428f125065 Check 'maintainers' key contain sensible values 2024-04-22 18:10:03 +02:00
Alexandre Aubin
8a22ded3f0
Merge pull request #136 from YunoHost/fix_conf_perisistent
Avoid ssowat config persistent error on /doc
2024-04-10 23:51:03 +02:00
OniriCorpe
a51c679991
Merge pull request #144 from YunoHost/actions/black 2024-03-21 03:51:50 +01:00
Psycojoker
db38b31db2 🎨 Format Python code with Black 2024-03-21 02:50:44 +00:00
Laurent Peuch
d67269a185 ci/fix(autoblacks): put autoblacks.yml in the correct folder 2024-03-21 03:50:26 +01:00
OniriCorpe
75b29cfe12 make 'doc_dir' test recursive for subfolders 2024-03-21 03:38:05 +01:00
OniriCorpe
259ebcd127 fix warning for subfolders in '/doc/screenshots' 2024-03-21 03:09:21 +01:00
OniriCorpe
7179390b2c Fix bad_ynh_exec_syntax 2024-03-11 16:31:14 +01:00
OniriCorpe
a76822b39c
Merge pull request #133 from YunoHost/OniriCorpe-patch-1 2024-03-11 16:12:05 +01:00
Tagada
39285a6072
Update package_linter.py 2024-03-11 15:00:32 +01:00
OniriCorpe
d3609c6b6a ident fix (due to merge) ((really this time)) 2024-03-11 04:06:02 +01:00
OniriCorpe
8154a86f4c ident fix (due to merge) 2024-03-11 04:04:32 +01:00
OniriCorpe
8876de53ba
Merge branch 'master' into OniriCorpe-patch-1 2024-03-11 03:54:29 +01:00
OniriCorpe
20a7c8ea2a ouspi, forgot the filename 2024-03-11 03:45:44 +01:00
OniriCorpe
2e4e5cf37e Fix showed path in 'bind_public_ip' message 2024-03-11 03:45:44 +01:00
OniriCorpe
f940b415c1
Merge pull request #141 from ewilly/master 2024-03-10 21:58:01 +01:00
Sylvain
788b9aa769 Fix #138 2024-03-10 17:04:42 +01:00
Tagada
472fa0a35e
Merge pull request #140 from YunoHost/black
ci: add autoblacks actions
2024-03-07 14:25:52 +01:00
OniriCorpe
cbf5adfd25 add PULL_REQUEST_TEMPLATE.md 2024-03-07 09:55:53 +01:00
OniriCorpe
8191361d50 ci: add autoblacks actions 2024-03-07 03:04:53 +01:00
Tagada
d9d08762ff Revert " Downgrade misc_nginx_check_regex_in_location from Warning to Info" 2024-03-05 21:27:13 +01:00
Josué Tille
2dd1357c50
Avoid ssowat config persistent error on /doc 2024-03-01 08:12:10 +01:00
Kayou
7808953343
Merge pull request #134 from Salamandar/patch-1
Fix nginx test
2024-02-26 10:11:09 +01:00
Salamandar
1a06153655
Fix nginx test
grep will return 0 when it finds matches.
In our case, when it finds matches, we need to print the warning.
2024-02-24 12:09:38 +01:00
OniriCorpe
d86cf6b1eb
fix for .js config files 2024-02-23 18:38:17 +01:00
Tagada
daf913007a
Merge pull request #132 from YunoHost/OniriCorpe-patch-1
Downgrade misc_nginx_check_regex_in_location from Warning to Info
2024-02-21 01:40:31 +01:00
OniriCorpe
037e527971
Downgrade misc_nginx_check_regex_in_location from Warning to Info 2024-02-21 01:37:29 +01:00
Tagada
61213c1bb4
Merge pull request #131 from Salamandar/fix_nginx_regex
Fix nginx regex
2024-02-20 17:15:09 +01:00
25603267c6 Fix typo nginx 2024-02-20 17:14:20 +01:00
107e6ed790 Fix test misc_nginx_check_regex_in_location : /conf/ was missing... 2024-02-20 16:47:16 +01:00
377f425d17 Reapply "nginx check regex in location field"
This reverts commit 8fb78d904b.

Original commit from Kayou
2024-02-20 16:45:22 +01:00
Tagada
6d02162945
Merge pull request #130 from YunoHost/revert-124-nginx-check-regex-in-location-field
Revert "nginx check regex in location field"
2024-02-20 16:39:15 +01:00
Tagada
8fb78d904b
Revert "nginx check regex in location field" 2024-02-20 16:38:45 +01:00
Kayou
e0813a39d9
Merge pull request #124 from YunoHost/nginx-check-regex-in-location-field
nginx check regex in location field
2024-02-20 07:54:05 +01:00
Kayou
375034c333
Merge pull request #125 from OniriCorpe/check-binb-public-ip
add bind_public_ip check
2024-02-20 07:53:29 +01:00
Kayou
856d7a957c
Merge pull request #129 from oleole39/patch-1
Fix regex in helpers_sourcing_after_official()
2024-02-20 07:47:42 +01:00
oleole39
7110959e51
Fix regex for source
Current regex will match any of the ten line after the official helper files starting with the string "source". 
Thus, in my specific case for which I declare a variable named source_filename="{...}", the linter will display a warning for it: `    ! Please avoid sourcing additional helpers after the official helpers (in this case file _filename=$(basename$upstream__url)) `.
As it should be only interested in matching the command `source` (`source path/to/file`), a space should be appended to the current regex.
2024-02-19 22:13:30 +01:00
Alexandre Aubin
8c00413d2f
Merge pull request #127 from orhtej2/more_set_headers_regex
Allow multiple whitespace after 'more_set_headers'
2024-02-12 20:08:36 +01:00