Meego Wiki
Views

OBS Light Manual

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(User manual of OBS Light)
Line 1: Line 1:
-
= OBS Light Manual =
 
This is the user manual of the command-line and graphical interface of OBS Light.
This is the user manual of the command-line and graphical interface of OBS Light.
-
 
* [[OBS_Light | OBS Light project]]
* [[OBS_Light | OBS Light project]]
* [[OBS_Light_FAQ | Frequently Asked Questions]]
* [[OBS_Light_FAQ | Frequently Asked Questions]]
* [[ObsLightDeliverable | Installation]]
* [[ObsLightDeliverable | Installation]]
-
== Command-line ==
+
= Command-line =
-
== Graphical interface ==
+
To
 +
#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 =

Revision as of 15:49, 22 November 2011

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

Command-line

To

#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