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 | With OBS project, ''slug'' will be used in several cases: | ||
* in 0isntall feed url - <code><nowiki>http</nowiki>://sweets.sugarlabs.org/''project''/''slug''</code>, | * in 0isntall feed url - <code><nowiki>http</nowiki>://sweets.sugarlabs.org/''project''/''slug''</code>, | ||
* in native package names generated from this recipe | * in native package names generated from this recipe - <code>sugar-''slug''</code>. | ||
''' | '''origin''' = <colon-separated-obs-project-path>[/<origin-slug>] | ||
If current package is a different implementation of another one, ''origin'' should point to original project. Also if current ''slug'' is different, original should be mentioned. | |||
If current package is a different implementation of another one, '' | |||
'''name''' = <package-name> | '''name''' = <package-name> | ||