Fvennetier (Talk | contribs) m (moved ObsLightDeliverable to OBS Light Installation: New title is more understandable.) |
Fvennetier (Talk | contribs) (→Packaged versions) |
||
| 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 | ||
| - | |||
To install ''obslight'': | 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 | 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 | 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/Project_OBS_Light.repo | echo "gpgcheck=0" >> /etc/zypp/repos.d/Project_OBS_Light.repo | ||
| + | # Refresh package database | ||
zypper --gpg-auto-import-keys ref | zypper --gpg-auto-import-keys ref | ||
| + | # Install OBS Light (without GUI) | ||
zypper in obslight | zypper in obslight | ||
| + | |||
To install the GUI, you will need PySide: | 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 ar -f http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/shiboken/openSUSE_11.4/ PySide | ||
| Line 28: | Line 32: | ||
* ''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 | ||
| - | + | ||
| + | # Add MeeGo tools repository, to get MIC | ||
zypper ar -f http://download.meego.com/live/devel:/tools:/building/openSUSE12.1/ tizen_tools | 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 | 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 | 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" | ||
| + | |||
| + | # 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: | 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 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 | + | zypper in obslight-gui |
=== For Ubuntu === | === For Ubuntu === | ||
Contents |
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 of the OBS Light client (still in development) are available for OpenSUSE and Ubuntu.
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
There are 2 packages:
# 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
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 ## 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 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).
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`
To get a brief overview of all available commands, just type:
obslight --help
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
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.
sudo zypper rr Project_OBS_Light
sudo zypper rr Project_OBS_Light_openSUSE_12.1
sudo rm /etc/apt/sources.list.d/obslight.list
and #For Ubuntu.
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)