Meego Wiki
Views

OBS Light Installation

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(OBS Light Deliverable)
(Packaged versions)
Line 35: Line 35:
  zypper in obslight obslight-gui
  zypper in obslight obslight-gui
-
=== For Ubuntu 11.04 ===
+
=== For Ubuntu ===
-
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.04/ here].
+
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ 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 these lines to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):
+
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_11.04/ ./
+
  deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_<version>/ ./
-
deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_11.04 ./
+
You also need a recent version of [http://www.pyside.org/ PySide]:
You also need a recent version of [http://www.pyside.org/ PySide]:
  sudo apt-add-repository ppa:pyside/ppa
  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:
Refresh the APT database and install OBS Light:
-
wget http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_11.04/Release.key -O - | sudo apt-key add -
 
  sudo apt-get update
  sudo apt-get update
  sudo apt-get install obslight
  sudo apt-get install obslight
Line 50: Line 50:
You should log out so that the system takes into account your new group.
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).
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 Ubuntu 11.10 ===
 
-
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ here]
 
-
Add these line to your '''/etc/apt/sources.list''' file (or to a new file '''/etc/apt/sources.list.d/obslight.list'''):
 
-
deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./
 
-
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 MeeGo 1.2.0 ===
 
-
[''Not tested''] The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/MeeGo_1.2.0_standard/ here].
 
=== For Debian ===
=== For Debian ===

Revision as of 11:15, 15 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

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
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