mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
30 lines
585 B
Markdown
30 lines
585 B
Markdown
# YunoHost apps package linter
|
|
|
|
Linter for YunoHost applications packages
|
|
|
|
## Use
|
|
|
|
```bash
|
|
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
|
|
* warn missing sudo before commands
|
|
* make sure verifications are done before modifications on the system
|
|
* check non usage of helpers and propose them
|
|
|
|
## License
|
|
|
|
* GNU GPLv3
|