Sugar Network/Recipe Specification: Difference between revisions

Line 20: Line 20:
Where ''use-case-type'' is one of the following sub sections and ''sub-name'' is an optional identifier used if there are more than one sections of the same type.
Where ''use-case-type'' is one of the following sub sections and ''sub-name'' is an optional identifier used if there are more than one sections of the same type.


Regardless of the type, a use case section (or one of them) should contain the following options:
Regardless of the type, a use case section (or one of them) should contain the following options.
 
=== Required options ===


  '''sweet''' = <identifier>
  '''sweet''' = <identifier>
Line 76: Line 78:
  '''associate''' = <sweet> [; ...]
  '''associate''' = <sweet> [; ...]


Optional. The list of sweets whose implementations might be considered as additional implementations for current sweet. In other words it is the value for [http://0install.net/interface-spec.html#id841801 feed] tag in 0install feed file.
Optional. The list of sweets whose implementations might be considered as additional implementations for current sweet. In other words it is the value for [http://0install.net/interface-spec.html#id841801 feed] tag in 0install feed file. For all sweets that contain sections ''[Library'', this option implicitly contains {{Code|<nowiki>http://sweets.sugarlabs.org/</nowiki>''sweet''}} value.


  '''implement''' = <sweet> [; ...]
  '''implement''' = <sweet> [; ...]