On Fri, 25 Mar 2022, Andrei Borzenkov wrote:
On 24.03.2022 21:02, Eric Schirra wrote:
Am 23. März 2022 15:17:51 MEZ schrieb Richard Biener rguenther@suse.de:
On Wed, 23 Mar 2022, Martin Wilck wrote:
On Wed, 2022-03-23 at 13:43 +0000, Nicolas Formichella wrote:
First of all, a very basic regex check of the URL, most repos have distinct URLs that expose their distro (like for ex. Emulators with https://download.opensuse.org/repositories/Emulators/openSUSE_Tumbleweed/ ) would immediately ease that process
For all other repos that don't (i.e Kernel), IMO, outside of normalizing a format for those URLs, I don't have any idea idea about that
I was talking about something else: current s.o.o frequently finds _nothing_ when you search software for Leap 15.3. It isn't as bad as messing up your system, but it's disappointing and frustrating nonetheless.
The reason is, that s.o.o only search for repos named 15.3 or 15.4.
Wrong. It is not about third-party repositories, it is about packages that are part of Leap.
For third-party repos it seems the appropriate check would be a <path project="openSUSE:Leap:15.3:Update" .../> in their project config, using the repository name is eventually misleading.
S.o.o does not search in repos which named openSUSE_Leap_15.3 or openSUSE_Leap_15.4
Point to the official OBS API specification that tells us how search engine should determine distribution from which repository is derived (or for which repository is built).
In any case, your statement is not correct:
# one off exception for Leap 15.3, which switched it's default # repository name from openSUSE_Leap_15.3 to 15.3 elsif package.repository == 'openSUSE_Leap_15.3' leap153 = @distributions.find { |d| d[:dist_id] == '19032' } next unless leap153 package.baseproject = leap153[:project] end
Why this not can be fixed, I don't understand.
Care to step up and do it?