Comment # 10 on bug 1153687 from
(In reply to Adrian Schr�ter from comment #9)
> concept wise I do not like this approach, since you split free text names
> where there is no definition. This really works only by accident more or
> less.
> 
> The better way would be to replace the entire repository name, based on the
> official default names as defined in OBS.
> 
> So I would recommend something like
> 
>  <default_repository_name>openSUSE_Tumbleweed</default_repository_name>

Yes, that's what we need. Can you make a formal proposal? Or is it a case of
"just add it"?

> Also a
> 
>  <default_obs_url>obs://build.opensuse.org</default_obs_url>
> 
> may make sense, since in OBS the url syntax is define as 
> 
> obs://$hostname/$project/...
> 
> And having a hardcoded one breaks at least for SLE already depending on the
> use case.

It's actually implemented differently. obs://foo:bar/baz is mapped by zypper to
https://download.opensuse.org/repositories/foo:/bar/baz, based on the value of
[obs] baseUrl in zypper.conf.
obs://build.opensuse.org/foo:bar/baz is a different case yet again, which uses
a hardcoded URL in zypper...
It makes sense that this is read from the product by default, but it should be
possible to override that with configuration still.
So having that both in the product but overridable with zypper.conf is IMO the
best option.

I propose:

<obs>
  <default_repository_name>openSUSE_Tumbleweed</default_repository_name>
 
<default_download_url>https://download.opensuse.org/repositories/</default_download_url>
</obs>


You are receiving this mail because: