Michael Andres changed bug 1187425
What Removed Added
Assignee zypp-maintainers@suse.de adrian.schroeter@suse.com
Summary zypper resolves OBS URLs wrongly Add some <obsplatform> hint to the product file (zypper resolves OBS URLs wrongly)

Comment # 5 on bug 1187425 from
(In reply to Marius Kittler from comment #0)
> Created attachment 850320 [details]
> How to reproduce & expected behavior
> 
> # problem
> It is possible to use an URL with the scheme `obs://` to point to an OBS
> project. This worked in Leap 15.2 but seems to be broken in Leap 15.3.

Not really a zypper issue:

           These URIs have the form of
                     obs://project/[platform]
           , where project is the name
           of the OBS project and platform is the target
           platform (OS) for which the repository is intended.

Anyway, the guessed platform is is formed as productname_$releasever. There are
a few exceptions for products named 'openSUSE' (e.g. using
openSUSE_Leap_$releasever if productline is Leap).

If we now change the product name to 'Leap' but OBS still sticks to the old
openSUSE_Leap schema for the repos, the guessed values don't match. 

If guessing fails you have to add the platform on the command line:

   'obs://project/openSUSE_Leap_$releasever'
   (or configure it in /ect/zyp/zypper.conf)



In bug#1153687#c5 ff. we suggested that OBS adds a <obsplatform> hint to the
product file, so we don't have to guess and fail if obs changes the schema. But
there's no result so far.

Reassigning it to Adrian, maybe we find a way to add some obsplatform hint to
the .prod files.


You are receiving this mail because: