Home_greyopenFATE - openSUSE feature tracking > #309221
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Simplify adding OBS repos

Feature state

openSUSE Distribution
Done

Description

When I want to add a build service repository, I have to find a quite cryptic URL, such as http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.2 . Much of the information in this URL is redundant and error-prone, such as the domain and the distribution version.

It would be much nicer if Zypper and YaST knew about the repo structure of the OBS, so I could type something like obs://KDE:KDE4:Factory:Desktop, and have Zypper/YaST figure out the rest.

Extra points if browsers could figure out that "obs://" URLs should be handled by YaST.

User benefit:

This reduces error sources. For example, if I provided some repository that provides some closed-source drivers, I would currently have to provide a gigantic list of repository URLs for all supported openSUSE versions.
With the proposed change, the description for how to use such a repository would boil down to:
1. Add the repository "obs://home:foobar:importantdrivers".
2. Do a system upgrade.
With the browser integration, we could even have something like a one-click installation for repositories.

Discussion


icons/user_comment.png S. M. wrote: (8 years ago)

It seems like the submission form has eaten my additional "Why do we want this feature?" explanation. Here it goes:

This reduces error sources. For example, if I provided some repository that provides some closed-source drivers, I would currently have to provide a gigantic list of repository URLs for all supported openSUSE versions.

With the proposed change, the description for how to use such a repository would boil down to:

  1. Add the repository "obs://home:foobar:importantdrivers".
  2. Do a system upgrade.

With the browser integration, we could even have something like a one-click installation for repositories.

icons/user_comment.png S. M. wrote: (6 years ago)

Since nothing happens here, I've written my own wrapper scripts. The "obs-tools" package in the "home:majewsky" repository contains "obs-addrepo" which implements this usecase, and also "obs-quickinstall" which acts as a CLI counterpart of 1-click install.

Project page: http://www.bethselamin.de/obs-tools/

icons/user_comment.png J. E. wrote: (6 years ago)

Note that zypper already knows the obs:// scheme (by now).

# zypper ar obs://security/netfilter nf

URI: http://download.opensuse.org/repositories/security/netfilter

icons/user_comment.png S. K. wrote: (6 months ago)

The 1-click-installation has got this feature.

Last change: 6 months ago
Voting
Score: 15
  • Negative: 0
  • Neutral: 0
  • Positive: 15
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint