mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
26 lines
584 B
Markdown
26 lines
584 B
Markdown
|
# YunoHost apps package checker
|
||
|
|
||
|
Checker for YunoHost applications packages
|
||
|
|
||
|
## Use
|
||
|
|
||
|
```sh
|
||
|
git clone https://github.com/YunoHost/package_checker
|
||
|
cd package_checker
|
||
|
git clone https://github.com/<account>/<app>_ynh
|
||
|
./package_checker.py <app>_ynh
|
||
|
```
|
||
|
|
||
|
## Checks
|
||
|
|
||
|
* Check missing files
|
||
|
* Check manifest
|
||
|
* syntax
|
||
|
* missing fields
|
||
|
* (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
|