Linter for YunoHost applications packages
Find a file
2016-05-25 23:01:16 +02:00
phpsysinfo_for_yunohost@b93a9b9617 [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
.gitignore First commit. 2016-01-25 12:52:18 +01:00
LICENSE First commit. 2016-01-25 12:52:18 +01:00
package_linter.py [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
README.md [enh] readme: rename checker –> linter. 2016-04-28 23:36:54 +02: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
  • check no sources are retrieve from internet via wget or curl for security reason
  • warn missing sudo before commands
  • make sure verifications are done before modifications on the system

License

  • GNU GPLv3