mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Linter for YunoHost applications packages
since YunoHost 3.6 release (https://forum.yunohost.org/t/yunohost-3-6-release-sortie-de-yunohost-3-6/8359), apps.json is the standard repo for packaging Apps, making YEP1.2 obsolete. The code has been changed but other documentation and misc must be updated as well, consider this PR as collaborative. |
||
---|---|---|
.gitignore | ||
LICENSE | ||
package_linter.py | ||
README.md |
YunoHost apps package linter
Linter for YunoHost applications packages
Usage
git clone https://github.com/YunoHost/package_linter
cd package_linter
git clone https://github.com/<account>/<app>_ynh
./package_linter.py <app>_ynh
Checks
- Check missing files
- Check sources mangement
- Check manifest
- syntax
- missing fields
- missing type
- (field value)
- Check scripts
- warn missing sudo before commands
- make sure verifications are done before modifications on the system
- check non usage of helpers and propose them
- check 'set -eu' usage
License
- GNU AGPLv3