Am 26. März 2022 07:05:58 MEZ schrieb Andrei Borzenkov arvidjaar@gmail.com:
On 25.03.2022 19:05, Eric Schirra wrote:
Am Freitag, 25. März 2022, 06:04:35 CET schrieb Andrei Borzenkov:
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.
And home directories or factory do not belong to leap?
Of course not.
That may be your opinion. I think it is. Because it is a way to get software. A lot of things can only be found there. Also much which is bugfixed to the Devel repos. Or a lot for Leap which is otherwise only available for Tumbleweed and requests for bug fixes regarding Leap are simply rejected. Devel repos are not the ultimate.
I don't care where they come from A search should return all the results. And so it was in Leap 15.2 and bevor.
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
I don't know what you're trying to tell me.
I am trying to tell you that you do not fix problems by picking "the reasons" out of the hat and smugly telling others "that is what you need to do". You fix problems by troubleshooting them, determining "the reason" (not inventing it) and then fixing the real root cause.
If I name my repos openSUSE_Leap_15.3/15.4 a search returns no hits.
And the reason for this is not repo name.
If I rename the repos to 15.3 and 15.4 I get hits on a search.
Why this not can be fixed, I don't understand.
Care to step up and do it?
This is the answer I have been waiting for. I would do it smoothly if I knew about it.
If you do not know about it why are you telling others what they must do?
Because then I would like to point out in which direction to look. And the arrays and hard coded things reinforce that.
And, do you can read? Or only read that what you wan't?
I wrote: a) If I name my repos openSUSE_Leap_15.3/15.4 a search returns no hits. b) If I rename the repos to 15.3 and 15.4 I get hits on a search.
Regards Eric