Linter for YunoHost applications packages
Find a file
2016-12-19 10:10:09 +04:00
.gitignore [mod] add vim swap file on gitignore. 2016-11-03 18:32:23 +01:00
LICENSE First commit. 2016-01-25 12:52:18 +01:00
package_linter.py [mod] call one time 'print()'. 2016-12-19 10:10:09 +04:00
README.md [mod] readme: update features. 2016-11-25 16:24:03 +01:00

YunoHost apps package linter

Linter for YunoHost applications packages

Use

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 manifest
  • syntax
  • missing fields
  • missing type
  • (field value)
  • Check scripts
  • check bash header is present
  • warn missing sudo before commands
  • make sure verifications are done before modifications on the system
  • check non usage of helpers and propose them

License

  • GNU GPLv3