Meego Wiki
Views

OBS Light Installation

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Packaged versions)
(Replaced content with "OBS Light has moved! It's now located at openSUSE: [http://en.opensuse.org/openSUSE:OBS_Light_Installation http://en.opensuse.org/openSUSE:OBS_Light_Installation]")
 
(3 intermediate revisions not shown)
Line 1: Line 1:
-
= OBS Light Deliverable =
+
OBS Light has moved! It's now located at openSUSE:
-
== Introduction ==
+
[http://en.opensuse.org/openSUSE:OBS_Light_Installation http://en.opensuse.org/openSUSE:OBS_Light_Installation]
-
[[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 [http://repo.pub.meego.com/Project:/OBS_Light/openSUSE_11.4/ here].
+
-
There are 2 packages:
+
-
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]
+
-
* ''obslight-gui'', which contains the graphical user interface
+
-
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:
+
-
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]]
+
-
* ''obslight-gui'', which contains the graphical user interface
+
-
 
+
-
# Add MeeGo tools repository, to get MIC
+
-
zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools
+
-
# Add OBS Light repository
+
-
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" >> "/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-gui
+
-
 
+
-
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-gui
+
-
 
+
-
=== For Ubuntu ===
+
-
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'''):
+
-
# 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/ ./
+
-
You also need a recent version of [http://www.pyside.org/ 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 [http://repo.pub.meego.com//Project:/OBS_Light/Fedora_16/ here].
+
-
There are 2 packages:
+
-
* ''obslight'', which contains the API, a commandline client, and [[obstag | obstag, obs2obscopy and obsextractgroups]].
+
-
* ''obslight-gui'', which contains the graphical user interface.
+
-
 
+
-
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 [[obstag | 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 [http://susestudio.com/a/e0uuBG/meego-obs-light 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 | for openSUSE 12.1]])
+
-
 
+
-
= Links =
+
-
* [[OBS Light | OBS Light main page]]
+
-
* [[OBS_Light_FAQ | OBS Light Frequently Asked Questions]]
+
-
* [[OBS_Light_Manual | OBS Light Manual]]
+
-
* [https://meego.gitorious.org/meego-developer-tools/obs-light/ OBS Light project on Gitorious]
+
-
* [https://build.pub.meego.com/project/show?project=Project%3AOBS_Light OBS Light project on MeeGo build service]
+

Latest revision as of 12:33, 12 June 2012

OBS Light has moved! It's now located at openSUSE: http://en.opensuse.org/openSUSE:OBS_Light_Installation

Personal tools