mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Comment at the beginning of a line
You can't put a comment at the end of a line. See https://github.com/YunoHost/package_check/blob/master/package_check.sh#L795 and https://github.com/YunoHost/package_check/blob/master/package_check.sh#L853 It's quite a pity, but it's more simple.
This commit is contained in:
parent
7e94bf3add
commit
483a1f05d4
2 changed files with 12 additions and 4 deletions
|
@ -123,8 +123,12 @@ Permet de choisir comment [chaque niveau](https://yunohost.org/#/packaging_apps_
|
|||
Chaque niveau fixé à *auto* sera déterminé par le script. Il est également possible de fixer le niveau à *1* ou à *0* pour respectivement le valider ou l'invalider.
|
||||
Il est à noter que les niveaux 4, 8, 9 et 10 ne peuvent être fixés à *auto* car ils ne peuvent être testés par le script et nécessitent une vérification manuelle. Il est toutefois possible de les fixer à *na* pour indiquer que le niveau n'est pas applicable (par exemple pour le niveau 4 quand une app ne propose pas de SSO LDAP). Un niveau *na* sera tout simplement ignoré dans le calcul du niveau final.
|
||||
|
||||
Pour le forçage des niveaux, merci d’ajouter, après la déclaration du niveau, un commentaire contenant un lien vers un ticket qui explique pourquoi le niveau a été forcé.
|
||||
Comme `Level 4=1 # https://github.com/YunoHost-Apps/$app_ynh/issues/5`.
|
||||
Pour le forçage des niveaux, merci d’ajouter, avant la déclaration du niveau, un commentaire contenant un lien vers un ticket qui explique pourquoi le niveau a été forcé.
|
||||
Comme :
|
||||
```
|
||||
# https://github.com/YunoHost-Apps/$app_ynh/issues/5
|
||||
Level 4=1
|
||||
```
|
||||
|
||||
- Niveau 1 : L'application s'installe et se désinstalle correctement. -- Peut être vérifié par package_check
|
||||
- Niveau 2 : L'application s'installe et se désinstalle dans toutes les configurations communes. -- Peut être vérifié par package_check
|
||||
|
|
|
@ -123,8 +123,12 @@ Allow to choose how [each level](https://yunohost.org/#/packaging_apps_levels_fr
|
|||
Each level at *auto* will be determinate by the script. It's also possible to fixate the level at *1* or *0* to respectively validate or invalidate it.
|
||||
The level 4, 8, 9 and 10 shouldn't be fixed at *auto*, because they don't be tested by the script and they need a manuel check. However, it's allowed to force them at *na* to inform that a level is not applicable (example for the level 4 when a app not permit to use SSO or LDAP). A level at *na* will be ignored in the sum of final level.
|
||||
|
||||
For levels forced, please add a comment after the level containing a link toward a ticket explaining why this level have been forced.
|
||||
Like `Level 4=1 # https://github.com/YunoHost-Apps/$app_ynh/issues/5`.
|
||||
For levels forced, please add a comment before the level containing a link toward a ticket explaining why this level have been forced.
|
||||
Like :
|
||||
```
|
||||
# https://github.com/YunoHost-Apps/$app_ynh/issues/5
|
||||
Level 4=1
|
||||
```
|
||||
|
||||
- Level 1 : The application installs and uninstalls correctly. -- Can be checked by package_check
|
||||
- Level 2 : The application installs and uninstalls correctly in all standard configurations. -- Can be checked by package_check
|
||||
|
|
Loading…
Add table
Reference in a new issue