Platform Team/Package Management System: Difference between revisions
No edit summary |
|||
| Line 42: | Line 42: | ||
* [http://download.sugarlabs.org/ Sugar Labs]'s resources to host various files. | * [http://download.sugarlabs.org/ Sugar Labs]'s resources to host various files. | ||
The process departing point is a [[Activity Team/Zero Sugar/ | The process departing point is a [[Activity Team/Zero Sugar/0sugar.info Specification|spec file]] which is used within Zero Sugar to accomplish two major tasks: | ||
* how to | * how to prepare the code to launch, | ||
* how to | * how to share the code. | ||
A building | A preparation step might be not trivial only if code requires building stage. Building might occur: | ||
* on the developer's workstation, to deploy to environments similar to the developer's, or | * on the developer's workstation, to deploy to environments similar to the developer's, or | ||
* on OBS, to build for the GNU/Linux distributions that OBS supports. | * on OBS, to build for the GNU/Linux distributions that OBS supports. | ||
Sharing step might be: | |||
* | * ''local'', if code needs to be run only in doer's environment.<br>Zero Sugar spec file will be handled as regular {{Code|activity.info}} file. | ||
** | * ''peer-to-peer'', direct sharing between doer and users. | ||
** by | ** Code can be launched if one of on-line users in Neighborhood View has a copy of shared code i.e. doer only needs to be on-line to let other people launch his code. | ||
** | ** Just by transfering a bundle with the code e.g. using .xo bundles. | ||
* via native packages, | * ''client-server'', doer needs to upload code to the server and users will download it.<br>Particular method might be different: | ||
** via the 0install infrastructure, | |||
** via OBS repositories with native packages, | |||
** by uploading bundles to servers like ASLO. | |||
* ''distributor'', most likely similar to ''client-server'' but different from doer's point of view since only distributor is responsible for particular distribution method. | |||
The regular workflow within Zero Sugar will look like: | The regular workflow within Zero Sugar will look like: | ||