Sugar Network/Recipe Specification: Difference between revisions
| Line 229: | Line 229: | ||
Zero Sugar spec file options, like ''requires'', contain links to another packages. Followed link formats are supported: | Zero Sugar spec file options, like ''requires'', contain links to another packages. Followed link formats are supported: | ||
* current package (the first option is preferable), | * current package to upload to ''target'' repository (the first option is preferable), | ||
%(slug)s[/<nowiki><sub-package></nowiki>] | %(slug)s[/<nowiki><sub-package></nowiki>] | ||
<slug-value>[/<nowiki><sub-package></nowiki>] | <slug-value>[/<nowiki><sub-package></nowiki>] | ||
| Line 242: | Line 242: | ||
<0install-feed-url> | <0install-feed-url> | ||
At the end, all links will be transfered to 0install feed urls | At the end, all links will be transfered to 0install feed urls. Repository is just a Web url prefix like http://packages.sugarlabs.org/, the final 0install url will be composed by concatenating repository prefix and package name. Repositories might be: | ||
* | * ''default'' or without mentioning repository name, is http://packages.sugarlabs.org/; | ||
* ''namedb'', native GNU/Linux distribution packages | |||
* ''target'', the repository current package will be uploaded to, equals to default repository; | |||
* ''namedb'', native GNU/Linux distribution packages, is http://namedb.0install.net/. | |||
Spec option ''repos'' can add new repositories or reset predefined ones. | |||
== Glob patterns == | == Glob patterns == | ||