(Created page with "= 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 serv...") |
|||
| Line 21: | Line 21: | ||
$ osc sr [O_Project] [O_Package] [-m comments] | $ osc sr [O_Project] [O_Package] [-m comments] | ||
| + | |||
| + | The requests will be reviewed by gate keepers, and they will be accepted or declined according the result. Whenever the request being accepted, the branched package will be deleted automatically. | ||
| + | |||
| + | == Local Build == | ||
| + | To mitigate the burden of OBS servers, user should do the first time building verification in local machine. The following command can be used to do so: | ||
| + | |||
| + | $ osc build <repo> <arch> <spec or dsc file> | ||
Contents |
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.
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.
The following command can be used to send to merge request to origin package:
$ osc sr [O_Project] [O_Package] [-m comments]
The requests will be reviewed by gate keepers, and they will be accepted or declined according the result. Whenever the request being accepted, the branched package will be deleted automatically.
To mitigate the burden of OBS servers, user should do the first time building verification in local machine. The following command can be used to do so:
$ osc build <repo> <arch> <spec or dsc file>