package_linter/README.md

31 lines
585 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
2016-11-25 16:24:03 +01:00
```bash
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
* warn missing sudo before commands
* make sure verifications are done before modifications on the system
2016-11-25 16:24:03 +01:00
* check non usage of helpers and propose them
2016-01-25 17:04:46 +01:00
## License
* GNU GPLv3