agama icon indicating copy to clipboard operation
agama copied to clipboard

initialize_target_repos still referenced

Open mvidner opened this issue 1 year ago • 2 comments

Reading Agama::Software::Manager code I found a method call that is not defined. https://github.com/openSUSE/agama/blob/c9a68ce2441a2b73e2af6feae0ee70968e7dca92/service/lib/agama/software/manager.rb#L338 It turns out it is a bug in a recent refactoring, #1329.

mvidner avatar Jun 24 '24 08:06 mvidner

The fix is trivial, the method was renamed to initialize_target to better reflect what it does. Should we have tests covering this?

mvidner avatar Jun 24 '24 08:06 mvidner

Good catch. It looks like it is related to the registration. And, yes, I think it might be a good idea to have at least a minimal test.

Let's plan to get this fixed in Agama 10.

imobachgs avatar Jun 26 '24 20:06 imobachgs

This problem was fixed a long time ago. I am closing the bug report.

imobachgs avatar Feb 21 '25 15:02 imobachgs