mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Merge pull request #1297 from ericgaspar/master
Harmonize regular expression with Package-linter
This commit is contained in:
commit
feaacba86c
4 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ Minetest is also a server that allows you to welcome your friends or just a few
|
||||||
|
|
||||||
## Useful links
|
## Useful links
|
||||||
|
|
||||||
+ Website: [minetest.net](https://minetest.net)
|
+ Website: [minetest.net](https://www.minetest.net/)
|
||||||
+ Official documentation: [wiki.minetest.net](https://wiki.minetest.net)
|
+ Official documentation: [wiki.minetest.net](https://wiki.minetest.net)
|
||||||
+ Application software repository: [github.com - YunoHost-Apps/minetest](https://github.com/YunoHost-Apps/minetest_ynh)
|
+ Application software repository: [github.com - YunoHost-Apps/minetest](https://github.com/YunoHost-Apps/minetest_ynh)
|
||||||
+ Fix a bug or an improvement by creating a ticket (issue): [github.com - YunoHost-Apps/minetest/issues](https://github.com/YunoHost-Apps/minetest_ynh/issues)
|
+ Fix a bug or an improvement by creating a ticket (issue): [github.com - YunoHost-Apps/minetest/issues](https://github.com/YunoHost-Apps/minetest_ynh/issues)
|
||||||
|
|
|
@ -12,7 +12,7 @@ Minetest, c'est aussi un serveur qui permet d'accueillir vos amis ou simplement
|
||||||
|
|
||||||
## Liens utiles
|
## Liens utiles
|
||||||
|
|
||||||
+ Site web : [minetest.net](https://minetest.net)
|
+ Site web : [minetest.net](https://www.minetest.net/)
|
||||||
+ Documentation officielle : [wiki.minetest.net](https://wiki.minetest.net)
|
+ Documentation officielle : [wiki.minetest.net](https://wiki.minetest.net)
|
||||||
+ Dépôt logiciel de l'application : [github.com - YunoHost-Apps/minetest](https://github.com/YunoHost-Apps/minetest_ynh)
|
+ Dépôt logiciel de l'application : [github.com - YunoHost-Apps/minetest](https://github.com/YunoHost-Apps/minetest_ynh)
|
||||||
+ Remonter un bug ou une amélioration en créant un ticket (issue) : [github.com -YunoHost-Apps/minetest/issues](https://github.com/YunoHost-Apps/minetest_ynh/issues)
|
+ Remonter un bug ou une amélioration en créant un ticket (issue) : [github.com -YunoHost-Apps/minetest/issues](https://github.com/YunoHost-Apps/minetest_ynh/issues)
|
||||||
|
|
|
@ -89,7 +89,7 @@ Each YunoHost application has an id registered in the application manifest.
|
||||||
This identifier must be unique between each application packet.
|
This identifier must be unique between each application packet.
|
||||||
It is therefore recommended to verify its availability by consulting the list of applications referenced in the known applications repositories (official, community, internetcube).
|
It is therefore recommended to verify its availability by consulting the list of applications referenced in the known applications repositories (official, community, internetcube).
|
||||||
|
|
||||||
In addition, the identifier must respect the regular expression `^[a-z1-9]((_|-)?[A-z1-9])+$`.
|
In addition, the identifier must respect the regular expression `^[a-z0-9]((_|-)?[A-z0-9])+$`.
|
||||||
In other words, it must respect the following rules:
|
In other words, it must respect the following rules:
|
||||||
* be in lowercase
|
* be in lowercase
|
||||||
* start with a letter or number
|
* start with a letter or number
|
||||||
|
|
|
@ -91,7 +91,7 @@ Chaque application YunoHost possède un id inscrit dans le manifeste de l'applic
|
||||||
Cet identifiant doit être unique entre chaque paquet d'application.
|
Cet identifiant doit être unique entre chaque paquet d'application.
|
||||||
Il est donc recommandé de vérifier sa disponibilité en consultant la liste des applications référencées dans les dépôts d'applications connus (apps, internetcube).
|
Il est donc recommandé de vérifier sa disponibilité en consultant la liste des applications référencées dans les dépôts d'applications connus (apps, internetcube).
|
||||||
|
|
||||||
De plus l'identifiant doit respecter l'expression régulière suivante `^[a-z1-9]((_|-)?[a-z1-9])+$`. Autrement dit, il doit respecter les règles suivantes :
|
De plus l'identifiant doit respecter l'expression régulière suivante `^[a-z0-9]((_|-)?[a-z0-9])+$`. Autrement dit, il doit respecter les règles suivantes :
|
||||||
* être en minuscule
|
* être en minuscule
|
||||||
* commencer par une lettre ou un chiffre
|
* commencer par une lettre ou un chiffre
|
||||||
* être alphanumérique (le underscore est autorisé)
|
* être alphanumérique (le underscore est autorisé)
|
||||||
|
|
Loading…
Add table
Reference in a new issue