Meego Wiki
Views

OBS Light Installation

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
m (For OpenSUSE 12.1)
(Packaged versions)
Line 4: Line 4:
== Packaged versions ==
== Packaged versions ==
-
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE, MeeGo, Debian and Ubuntu.
+
Packaged versions of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.
=== For OpenSUSE 11.4 ===
=== For OpenSUSE 11.4 ===
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].
The repository is [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].
Line 10: Line 10:
* ''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
 +
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/ here].
To install ''obslight'':
To install ''obslight'':
-
  zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ OBS_Light
+
zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo
 +
  zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.repo
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/OBS_Light.repo
+
  echo "gpgcheck=0" >> /etc/zypp/repos.d/Project_OBS_Light.repo
 +
 
  zypper --gpg-auto-import-keys ref
  zypper --gpg-auto-import-keys ref
  zypper in obslight
  zypper in obslight
To install the GUI, you will need PySide:
To install the GUI, you will need PySide:
-
  zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ pyside
+
  zypper ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide
  zypper --gpg-auto-import-keys ref
  zypper --gpg-auto-import-keys ref
  zypper in obslight-gui
  zypper in obslight-gui
Line 25: Line 28:
* ''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  
+
You will also need MIC, which is hosted [http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ here].
 +
  zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/Tools:Devel.repo
 +
zypper ar -f 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
optional, to disable GPG checks and prevent "File 'repomd.xml' from repository 'OBS_Light' is unsigned" messages
Line 31: Line 36:
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 -f http://download.opensuse.org/repositories/home:/Fisiu:/pyside/openSUSE_12.1/home:Fisiu:pyside.repo
-
 
+
  zypper --gpg-auto-import-keys ref
  zypper --gpg-auto-import-keys ref
 +
  zypper in obslight obslight-gui
  zypper in obslight obslight-gui
=== For Ubuntu ===
=== For Ubuntu ===
-
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''', '''11.04''' and '''11.10'''.
+
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.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:
+
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'''):
-
  deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_<version>/ ./
+
# Ubuntu 10.04
 +
  deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./
 +
deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./
 +
 
 +
# Ubuntu 11.10
 +
deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./
 +
deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./
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
Line 51: Line 62:
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 Debian ===
 
-
[''Not tested'']
 
-
The repository is [http://repo.pub.meego.com/home:/ronan:/OBS_Light/Debian_6.0/ here].
 
-
 
-
''Note'': the '''obslight''' package has a dependency to [http://www.pyside.org/ PySide], which is not included in Debian "stable". So you will need Debian "testing" if you want to test.
 
== Usage ==
== Usage ==

Revision as of 10:38, 30 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 and Ubuntu.

For OpenSUSE 11.4

The repository is here. There are 2 packages:

You will also need MIC, which is hosted here. To install obslight:

zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo
zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/Project:OBS_Light.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
zypper --gpg-auto-import-keys ref
zypper in obslight

To install the GUI, you will need PySide:

zypper ar -f 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:

You will also need MIC, which is hosted here.

zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/Tools:Devel.repo
zypper ar -f 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_openSUSE_12.1.repo"

To install the GUI, you will need PySide:

zypper ar -f 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 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):

# Ubuntu 10.04
deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./
deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./
# Ubuntu 11.10
deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./
deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./

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

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