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 ''project'' option, ''slug'' will be used in several cases: | + | With OBS project, ''slug'' will be used in several cases: |
| | | |
− | * fully qualified OBS package name - <code>''package''/''slug''</code>,
| |
| * 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 form of <code>sugar-''slug''</code>. | + | * in native package names generated from this recipe - <code>sugar-''slug''</code>. |
| | | |
− | '''project''' = <colon-separated-obs-project-path> | + | '''origin''' = <colon-separated-obs-project-path>[/<origin-slug>] |
| | | |
− | The project on OBS to store this package.
| + | 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. |
− | | |
− | '''clone''' = <colon-separated-obs-project-path>
| |
− | | |
− | If current package is a different implementation of another one, ''clone'' should be used to point to the project where this clone is stored. Note that ''project'' should still point to the original project. | |
| | | |
| '''name''' = <package-name> | | '''name''' = <package-name> |