Meego Wiki
Views

OBS Light Installation

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(For OpenSUSE 12.1)
(For Ubuntu)
Line 52: Line 52:
=== For Ubuntu ===
=== For Ubuntu ===
-
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''' and '''11.10'''.
+
The repositories are [http://repo.pub.meego.com/Project:/OBS_Light/ here]. Available Ubuntu versions are '''10.04''', '''11.10''' and '''12.04'''.
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'''):
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
  # Ubuntu 10.04
Line 65: Line 65:
  ## OBS Light
  ## OBS Light
  deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./
  deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./
 +
 +
# Ubuntu 12.04
 +
## MIC and dependencies
 +
deb http://download.tizen.org/tools/xUbuntu_12.04/ ./
 +
## OBS Light
 +
deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_12.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

Revision as of 10:32, 31 May 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:

To install obslight:

# Add MeeGo tools repository, to get MIC
zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE_11.4/devel:tools:building.repo
# Add OBS Light repository
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
# Refresh package database
zypper --gpg-auto-import-keys ref
# Install OBS Light (without GUI)
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:

# Add MeeGo tools repository, to get MIC
sudo zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools
# Add OBS Light repository
sudo zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo

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

echo "gpgcheck=0" | sudo tee -a "/etc/zypp/repos.d/Project_OBS_Light.repo" > /dev/null
echo "gpgcheck=0" | sudo tee -a "/etc/zypp/repos.d/tizen_tools.repo" > /dev/null
# Refresh package database
sudo zypper --gpg-auto-import-keys ref
# Install OBS Light (without GUI)
sudo zypper in obslight

To install the GUI, you will need PySide:

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

For Ubuntu

The repositories are here. Available Ubuntu versions are 10.04, 11.10 and 12.04. 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
## MIC and dependencies
deb http://download.meego.com/live/devel:/tools:/building/Ubuntu_10.04/ ./
## OBS Light
deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_10.04/ ./
# Ubuntu 11.10
## MIC and dependencies
deb http://download.meego.com/live/devel:/tools:/building/xUbuntu_11.10/ ./
## OBS Light
deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_11.10/ ./
# Ubuntu 12.04
## MIC and dependencies
deb http://download.tizen.org/tools/xUbuntu_12.04/ ./
## OBS Light
deb http://repo.pub.meego.com/Project:/OBS_Light/Ubuntu_12.04/ ./

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

The repository is here. There are 2 packages:

Execute the following commands:

# Add OBS Light repository
sudo wget http://repo.pub.meego.com/Project:/OBS_Light/Fedora_16/Project:OBS_Light.repo -O /etc/yum.repos.d/Project_OBS_Light.repo
# Deactivate GPG check
sudo sed -r -i "s/(gpgcheck)=1/\1=0/" /etc/yum.repos.d/Project_OBS_Light.repo
# Update repository cache
sudo yum makecache
# Install OBS Light
sudo yum install obslight obslight-gui
# Add yourself to the "users" group
sudo usermod -a -G users `whoami`

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

Migration from old versions

OBS Light < 0.4.22

Starting from OBS Light 0.4.22, MIC and its dependencies won't be maintained in OBS Light's repositories anymore. You will have to add official MIC repository to get MIC dependencies. Just remove the old repository and follow the appropriate procedure. Fedora users can keep using old repositories.

openSUSE 11.4

sudo zypper rr Project_OBS_Light

and #For OpenSUSE 11.4

openSUSE 12.1

sudo zypper rr Project_OBS_Light_openSUSE_12.1

and #For_OpenSUSE_12.1

Ubuntu

sudo rm /etc/apt/sources.list.d/obslight.list

and #For Ubuntu.

OBS Light appliance < 0.4.52

If you are using OBS Light appliance older than 0.4.52, and you don't want to download the latest version, you can update it doing the following:

# Remove old openSUSE 12.1 specific OBS Light repository
sudo zypper rr Project_OBS_Light_openSUSE_12.1
# Add Tizen Tools and OBS Light repositories
sudo zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools
sudo zypper ar -f http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_12.1/Project:OBS_Light.repo
# Refresh package database
sudo zypper --gpg-auto-import-keys ref
# Update MIC and OBS Light
sudo zypper up mic obslight obslight-gui

(same procedure as for openSUSE 12.1)

Links

Personal tools