Sugar Network/Recipe Specification: Difference between revisions

Line 249: Line 249:
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:
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/;
* ''default'' or without mentioning repository name, native GNU/Linux distributions packages from http://namedb.0install.net/;


* ''target'', the repository current package will be uploaded to, equals to default repository;
* ''target'', the repository current package will be uploaded to, equals to ''sl'' by default;


* ''namedb'', native GNU/Linux distribution packages, is http://namedb.0install.net/.
* ''sl'', repository hosted by Sugar Labs on http://packages.sugarlabs.org/;


Spec option ''repos'' can add new repositories or reset predefined ones.
Spec option ''repos'' can add new repositories or reset predefined ones.