package_linter/README.md

31 lines
620 B
Markdown
Raw Normal View History

# YunoHost apps package linter
2016-01-25 12:52:18 +01:00
Linter for YunoHost applications packages
2016-01-25 12:52:18 +01:00
## Use
```sh
git clone https://github.com/YunoHost/package_linter
cd package_linter
2016-01-25 12:52:18 +01:00
git clone https://github.com/<account>/<app>_ynh
./package_linter.py <app>_ynh
2016-01-25 12:52:18 +01:00
```
## Checks
* Check missing files
* Check manifest
* syntax
* missing fields
2016-02-17 18:51:42 +01:00
* missing type
2016-01-25 12:52:18 +01:00
* (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
2016-01-25 17:04:46 +01:00
## License
* GNU GPLv3