Linter for YunoHost applications packages
Find a file
M5oul b9bbb7d93c Merge pull request #22 from YunoHost/18_arg_retrieval_env_var
[enh] #18: check arguments retrieval is done with env var.
2017-03-08 21:30:51 +01: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 [enh] #18: check arguments retrieval is done with env var. 2017-03-07 13:59:37 +01:00
README.md [mod] readme: add sources management. 2017-02-04 08:50:11 +01:00

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