Changes

Jump to navigation Jump to search
Line 40: Line 40:  
This is a required section (but see also [[#Presets|presets]]). It describes the main recipe component.
 
This is a required section (but see also [[#Presets|presets]]). It describes the main recipe component.
   −
  '''slug''' = <name>
+
  '''sweet''' = <name>
   −
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. Sweet value should be at least two characters long and start with an alphanumeric character.
   −
''slug'' is used in several cases:
+
''sweet'' is used in several cases:
   −
* OBS package name should be equal to ''slug'' value,
+
* OBS package name should be equal to ''sweet'' value,
* in 0isntall feed url - <code><nowiki>http</nowiki>://sweets.sugarlabs.org/''obs-project''/''slug''</code>,
+
* in 0isntall feed url - <code><nowiki>http</nowiki>://sweets.sugarlabs.org/''obs-project''/''sweet''</code>,
* in native package names generated from this recipe - <code>sugar-''slug''</code>.
+
* in native package names generated from this recipe - <code>sugar-''sweet''</code>.
   −
  '''origin''' = <colon-separated-obs-project-path>[/<origin-slug>]
+
  '''origin''' = <colon-separated-obs-project-path>[/<origin-sweet>]
   −
If current package is a different implementation of another one, ''origin'' should point to original OBS project. Also if current ''slug'' is different, original should be mentioned.
+
If current package is a different implementation of another one, ''origin'' should point to original OBS project. Also if current ''sweet'' is different, original should be mentioned.
    
  '''name''' = <package-name>
 
  '''name''' = <package-name>

Navigation menu