Line 62: |
Line 62: |
| * ''init'', get feed file from the server and place it to dist/ | | * ''init'', get feed file from the server and place it to dist/ |
| * ''fetch'', rsync entirely dist/ from the server | | * ''fetch'', rsync entirely dist/ from the server |
− | * ''dist'', create source or any arch tarball in ''dist/'' directory and tweak ''dist/feed.xml'' correspondingly<br>If there is second option-less argument, it will be treated as a path of tarball to release(e.g. you can create such tarball by ''make distcheck'' command for autotools based projects), otherwise ''0sugar-publish'' will tar all project files(and try to avoid temporary files as much as possible)<br>''dist'' will create | + | * ''dist'', create source or any arch tarball/implementation in ''dist/'' directory and tweak ''dist/feed.xml'' correspondingly<br>If there is second option-less argument, it will be treated as a path of tarball to release(e.g. you can create such tarball by ''make distcheck'' command for autotools based projects), otherwise ''0sugar-publish'' will tar all project files(and try to avoid temporary files as much as possible)<br>''dist'' will create |
| ** any arch archive, if ''build-command'' field was omitted in ''service.info'' | | ** any arch archive, if ''build-command'' field was omitted in ''service.info'' |
| ** source archive, if ''service.info'' has ''build-command'' field | | ** source archive, if ''service.info'' has ''build-command'' field |
− | * ''dist_bin'', create binary tarball for current arch in ''dist/'' directory and tweak ''dist/feed.xml'' correspondingly | + | * ''dist_bin'', create binary tarball/implementation for current arch in ''dist/'' directory and tweak ''dist/feed.xml'' correspondingly<br>if second argument was passed, it will be treated as a name of ''service.info'' section with additional ''requires'' fields |
| * ''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 |
Line 84: |
Line 84: |
| * increase/change version/stability field in ''service.info'' file | | * increase/change version/stability field in ''service.info'' file |
| * ''0sugar-publish dist'' to add sources tarball to ''dist/'' and change local feed correspondingly | | * ''0sugar-publish dist'' to add sources tarball to ''dist/'' and change local feed correspondingly |
− | * on every platform, you are trying to support binaries for, run ''0sugar-publish dist-bin'' to build, and add to local field, binaries for this particular platform | + | * on every platform, you are trying to support binaries for, run ''0sugar-publish dist_bin'' to build, and add to local field, binaries for this particular platform |
| * ''0sugar-publish push'' to rsync changed files from ''dist/'' to the server | | * ''0sugar-publish push'' to rsync changed files from ''dist/'' to the server |
| | | |