Sugar Network/Recipe Specification: Difference between revisions

Line 46: Line 46:
A short name of the package. Only lower alphabetic, numeric, "+"  or "-" symbols are allowed. Slug value should be at least two characters long and start with an alphanumeric character.
A short name of the package. Only lower alphabetic, numeric, "+"  or "-" symbols are allowed. Slug value should be at least two characters long and start with an alphanumeric character.


With OBS project, ''slug'' will be used in several cases:
''slug'' is used in several cases:


* in 0isntall feed url - <code><nowiki>http</nowiki>://sweets.sugarlabs.org/''project''/''slug''</code>,
* OBS package name should be equal to ''slug'' value,
* in 0isntall feed url - <code><nowiki>http</nowiki>://sweets.sugarlabs.org/''obs-project''/''slug''</code>,
* in native package names generated from this recipe - <code>sugar-''slug''</code>.
* in native package names generated from this recipe - <code>sugar-''slug''</code>.