Sugar Network/Recipe Specification: Difference between revisions
| Line 22: | Line 22: | ||
'''sweet''' = <name> | '''sweet''' = <name> | ||
An identifier of the package. Only lower alphabetic, numeric, "+" or "-" symbols are allowed. Sweet value should be at least two characters long and start with an alphanumeric character. | |||
''sweet'' is used in several cases: | ''sweet'' is used in several cases: | ||
* in 0isntall feed url - <code><nowiki>http</nowiki>://sweets.sugarlabs.org/''sweet''</code>, | * in 0isntall feed url - <code><nowiki>http</nowiki>://sweets.sugarlabs.org/''sweet''</code>, | ||
* in native package names generated from | * in native package names generated from the recipe. | ||
Important note, ''sweet'' is not intended to be unique. That means that there are might be several implementations for the same ''sweet'' in the field. It could be different versions of the package from the same developper or even separate implementations from another developers. | |||
'''name''' = <package-name> | '''name''' = <package-name> | ||