package_linter/README.md

32 lines
607 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
2017-01-27 22:04:34 +01:00
## Usage
2016-01-25 12:52:18 +01:00
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
2017-02-04 08:50:11 +01:00
- Check sources mangement
2016-01-25 12:52:18 +01:00
* 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
* 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
- check 'set -eu' usage
2016-01-25 17:04:46 +01:00
## License
2017-01-27 22:04:34 +01:00
* GNU AGPLv3