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. For the current package, repository will be either default or value passed via ''--repository'' {{Code|0sugar}} command-line argument. 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, without mentioning repository name. With prefix http://packages.sugarlabs.org/. | + | * ''default'' or without mentioning repository name, is http://packages.sugarlabs.org/; |
− | * ''namedb'', native GNU/Linux distribution packages. With prefix http://namedb.0install.net/. | + | |
− | * Repositories that are added by ''repo'' spec file option.
| + | * ''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 == |