-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Andres wrote:
No, you should not try to describe implementation details in the description as they change (and the description is not correct anyway).
Well, i did not know how else to describe the method, after realizing what it actually does.
The method returns the 'Best' or 'most interesting' among all available objects. One that is, or is likely to be, chosen for installation. Nothing else.
But that is not true! It returns 'some', not 'the best' in any terms. 'The best' would mean the latest version, the best arch, the highest priority, etc... But currently it just select 'some' (well, the installed arch is considered).
What still puzzles me, though, is why theObj() returns different objects if i change repo priorities (like in bug #437854):
Of course, as the repo priority influences the what might get selected. The candidate (and also theObj) may change at any time.
I understand that, but where is the code doing this currently? - -- cheers, jano Ján Kupec YaST team - ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkkir6cACgkQgEhGpmN+6QHO5ACggaBwGx2vcjXpSe5fDhd9K8/v NV4AnjY/HTkj4xJuLyQzNmKY1iCTwJvN =WYfn -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org