(→Pre-requisites: osc install) |
(Add commands) |
||
| Line 27: | Line 27: | ||
From the terminal: | From the terminal: | ||
* Checkout your empty project (like SVN) | * Checkout your empty project (like SVN) | ||
| + | <code>osc -A https://api.pub.meego.com co home:[username]</code> | ||
* Add files to your local copy | * Add files to your local copy | ||
** For Meego this will be a .spec file and a tarball containing your source code, etc. | ** For Meego this will be a .spec file and a tarball containing your source code, etc. | ||
** For Harmattan this will be a .dsc file, source tarball plus debian.tar.gz (this allows one to keep the debian directory out of the source) | ** For Harmattan this will be a .dsc file, source tarball plus debian.tar.gz (this allows one to keep the debian directory out of the source) | ||
| + | <code>osc -A https://api.pub.meego.com add [filename]</code> | ||
* Commit the files | * Commit the files | ||
| + | <code>osc -A https://api.pub.meego.com commit</code> | ||
** At this point the OBS will try to build your project remotely | ** At this point the OBS will try to build your project remotely | ||
** To build locally you can do the following: osc build | ** To build locally you can do the following: osc build | ||
The Meego Online Build System (OBS) seems rather complicated, this page will attempt to make it nice and easy to get started.
It's a work in progress, feel free to add and modify!
Contents |
apt-get install osc may work out-of-the-box on recent versions of Ubuntu & Debian)
Your home project is like a home directory in which you can create sub-projects, repositories, etc.
From the terminal:
osc -A https://api.pub.meego.com co home:[username]
osc -A https://api.pub.meego.com add [filename]
osc -A https://api.pub.meego.com commit
Using the webinterface: