obs-tools: Quick end-user access to the openSUSE build service

Handling OBS repositories on the command line can be cumbersome because of the lengthy repository URLs. For example, if you want to install josm from the Application:Geo repository:

sudo zypper addrepo --refresh http://download.opensuse.org/repositories/Application:/Geo/openSUSE_12.1/ Application:Geo
sudo zypper refresh Application:Geo
sudo zypper install --from Application:Geo josm

Awful, isn't it? With obs-tools, just say:

sudo obs-quickinstall --keep Application:Geo josm

Omit --keep, and the repository will be removed from zypper after the installation is complete. You just want to add the repo without installing anything?

sudo obs-addrepo Application:Geo

Download stable version

The current version is 1.0. To install, download the tarball, extract it and run

sudo python setup.py install

A package is available on the openSUSE build service. Use the following commands to install the package:

sudo zypper addrepo --refresh http://download.opensuse.org/repositories/home:/majewsky/openSUSE_12.1/ home:majewsky
sudo zypper refresh home:majewsky
sudo zypper install --from home:majewsky obs-tools

In the first line, substitute "12.1" for your openSUSE version.

Development version

The Git repository is at

git clone git://git.bethselamin.de/obs-tools.git

Patches and pull requests may be directed at the mail address mentioned in the copyright headers.