Changes

Jump to navigation Jump to search
Line 83: Line 83:  
* ''push'', rsync dist/ to the server
 
* ''push'', rsync dist/ to the server
 
* ''lint'', check feed file on the server<br>will run [http://0install.net/feedlint.html FeedLint] application for http://download.sugarlabs.org/services/ feed
 
* ''lint'', check feed file on the server<br>will run [http://0install.net/feedlint.html FeedLint] application for http://download.sugarlabs.org/services/ feed
 +
 +
== Workflows ==
 +
 +
How to build services.
    
=== Any arch services ===
 
=== Any arch services ===
Line 88: Line 92:  
Work flow for services that don't require compilation stage thus could be just packaged and used as is on server side:
 
Work flow for services that don't require compilation stage thus could be just packaged and used as is on server side:
    +
* create local initial service.info by invoking ''0sugar init'', tweak newly created ''service/service.info'' file
 
* increase/change version/stability field in ''service.info'' file
 
* increase/change version/stability field in ''service.info'' file
 
* ''0sugar dist'' to change local feed in ''dist/'' and place there tarball
 
* ''0sugar dist'' to change local feed in ''dist/'' and place there tarball
Line 96: Line 101:  
Work flow for services that require compilation stage:
 
Work flow for services that require compilation stage:
    +
* create local initial service.info by invoking ''0sugar init'', tweak newly created ''service/service.info'' file
 
* provide relevant value for ''build-command'' field in ''service.info'' file
 
* provide relevant value for ''build-command'' field in ''service.info'' file
 
* if you want to support binaries for different dependencies environments, add additional sections to ''service.info'' file with ''requires'' fields that describe dependencies versions of particular environment
 
* if you want to support binaries for different dependencies environments, add additional sections to ''service.info'' file with ''requires'' fields that describe dependencies versions of particular environment

Navigation menu