Meego Wiki
Views

OBS Light Manual

From MeeGo wiki
Revision as of 15:54, 22 November 2011 by Ronan (Talk | contribs)
Jump to: navigation, search

This is the user manual of the command-line and graphical interface of OBS Light.

Command-line

#obslight --help
Usage: ObsLight [global command] <command> [--command-options]

Type ObsLight <command> --help to get help on a specific command.
Commands:

       getLocalProjectList:    Print the list of local projects.
       getPackageList:         Print the list of packages of a project.

       getObsServerList:       Print the list of OBS servers.
       addObsServer:           Add an OBS server.
       delObsServer:           Del an OBS server.

       addProject:             Create a local project based on an existing project on an OBS server.
       exportProject:          save a Project into a path
       importProject:          import a Project from a file
       getWebProjectPage:              return the web URL of a project.

       removeProject:          Remove local project
       removePackage:          Remove local package from a local project

       addPackage:             Create a local package in a local project, based on an existing package in a project on an OBS server.
       createChRoot:           Create a chroot, built from a local project.
       addPackageSourceInChRoot:Install the source RPM of a package into the chroot of the project.
       goToChRoot:             Open a bash in the chroot of a project.
       makePatch:              Generate a patch with modifications made in the chroot of a local project.
       addAndCommitChanges:    Add the new files (including patches) and commit them to the OBS
       addRepoInChRoot:        Add a repository to the chroot's zypper configuration file.

global commands
       --quiet:        Print all subprocess outputs.
       --debug:        Print all subprocess commands.

ObsLight:
       Provides a tool to manage an OBS project on your local machine
       For additional informations, see
       * http://wiki.meego.com/OBS_Light

Graphical interface

Personal tools