Meego Wiki
Views

Build Infrastructure/Packagers Developers/CLI Part 3

From MeeGo wiki
< Build Infrastructure | Packagers Developers
Revision as of 21:50, 11 July 2011 by Jfding (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to use the MeeGo / OBS Command Line Tools, Part 3

After some modification of the checked out files in local filesystem, you can use osc to commit the changes to OBS server. When the verification and testings are passed, you can continue to send merge request to the origin package. osc can also provide command to do local building.

Commit

The following command can be used to add/remove files inside the package:

$ osc add <file>
$ osc remove <file>
$ osc addremove ($ osc ar)

The following command can be used to commit all local changes to OBS server:

$ osc ci [-m comments]

If no comments string provided in the command line, osc will launch $EDITOR for it.

Send Merge Request

The following command can be used to send to merge request to origin package:

$ osc sr [O_Project] [O_Package] [-m comments]
Personal tools