Platform Team/Guide/Sweets Packaging

< Platform Team‎ | Guide
Revision as of 12:25, 19 December 2009 by Alsroot (talk | contribs)


Introduction

The purpose of this HOWTO is describe how to get benefits of Sugar Services for your library/application, simplify support fork flows and let your users(developers) use your code in simple and convenient way.

Services are just a set of definitions for urls and names for 0install feeds, it provides to activity developers convenient way to use services. But regular 0install work flow still works. The rest of document describes sugar specific work flow to meet 0sugar benefits.

service.info file

Service publishing work flow is similar to activities. There is an info file, here service/service.info, which describes current status(not history) of development process. All these fields, finally, go to feed file while publishing new version.

All fields should be placed to [Service] section

  • name
  • summary
  • description
  • homepage
  • version
  • stability
  • license
  • binding
  • main
  • gpg-key

0sugar-publish tool

To start using services, install 0sugar-publish which is main tool to maintain services infrastructure.

0alias 0sugar-publish http://download.sugarlabs.org/services/0sugar-publish/feed.xml