Meego Wiki
Views

OBS Light Installation

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Packaged versions)
(For OpenSUSE 12.1)
Line 25: Line 25:
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]
* ''obslight-gui'', which contains the graphical user interface
* ''obslight-gui'', which contains the graphical user interface
-
  zypper ar http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo
+
  zypper ar http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo Project_OBS_Light
optional, to disable GPG checks and prevent "File 'repomd.xml' from repository 'OBS_Light' is unsigned" messages
optional, to disable GPG checks and prevent "File 'repomd.xml' from repository 'OBS_Light' is unsigned" messages
  echo "gpgcheck=0" >> /etc/zypp/repos.d/Project_OBS_Light.repo
  echo "gpgcheck=0" >> /etc/zypp/repos.d/Project_OBS_Light.repo
To install the GUI, you will need PySide:
To install the GUI, you will need PySide:
-
  zypper ar http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo
+
  zypper ar http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo pyside
  zypper --gpg-auto-import-keys ref
  zypper --gpg-auto-import-keys ref

Revision as of 11:17, 20 March 2012

Contents

OBS Light Deliverable

Introduction

OBS Light project deliverable which are available are listed on this page. Publication of the information will follow the progress of the implementation (yes, we do publish early draft versions, using them is at your risk)

Packaged versions

Packaged versions of the OBS Light client (still in development) are available for OpenSUSE, MeeGo, Debian and Ubuntu.

For OpenSUSE 11.4

The repository is here. There are 2 packages:

To install obslight:

zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ OBS_Light

optional, to disable GPG checks and prevent "File 'repomd.xml' from repository 'OBS_Light' is unsigned" messages

echo "gpgcheck=0" >> /etc/zypp/repos.d/OBS_Light.repo
zypper --gpg-auto-import-keys ref
zypper in obslight

To install the GUI, you will need PySide:

zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ pyside
zypper --gpg-auto-import-keys ref
zypper in obslight-gui

For OpenSUSE 12.1

There are 2 packages:

zypper ar http://repo.pub.meego.com/Project:/OBS_Light:/openSUSE:/12.1/openSUSE_12.1/Project:OBS_Light:openSUSE:12.1.repo Project_OBS_Light

optional, to disable GPG checks and prevent "File 'repomd.xml' from repository 'OBS_Light' is unsigned" messages

echo "gpgcheck=0" >> /etc/zypp/repos.d/Project_OBS_Light.repo

To install the GUI, you will need PySide:

zypper ar http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo pyside
zypper --gpg-auto-import-keys ref
zypper in obslight obslight-gui

For Ubuntu

The repositories are here. Available Ubuntu versions are 10.04, 11.04 and 11.10. There is only one package, obslight, which contains the commandline, the GUI and the utilities. Add the following line to your /etc/apt/sources.list file (or to a new file /etc/apt/sources.list.d/obslight.list), replacing <version> by the appropriate version:

deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_<version>/ ./

You also need a recent version of PySide:

sudo apt-add-repository ppa:pyside/ppa

If you have Ubuntu 10.04 and an old version of osc (< 0.132) we suggest also adding:

deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_10.04/ ./

Refresh the APT database and install OBS Light:

sudo apt-get update
sudo apt-get install obslight

Add yourself to the users group:

sudo usermod -a -G users `whoami`

You should log out so that the system takes into account your new group. If you don't want to log out, you can use "newgrp users" before running obslight (but it will only work in the current console).

For Debian

[Not tested] The repository is here.

Note: the obslight package has a dependency to PySide, which is not included in Debian "stable". So you will need Debian "testing" if you want to test.

Usage

To get a brief overview of all available commands, just type:

obslight --help


OBS Tagging and Project copying

One of the problem that any user of a private OBS will quickly face, is the need to tag specific version of a project and allow the copy of the project from an OBS to an other OBS or from one project to an other project.

More details on obstag and obs2obscopy can be found here

Links

Personal tools