Shawn Walker wrote:
Bart Smaalders wrote:
to the front of the search order.  Deleting or disabling a publisher
causes it to be removed from the search order. Re-enabling a publisher
causes it to added at the end of the search order.

The only sticking point for me is that I'm uncertain why we have to change the ranking of a publisher that has been disabled. I'd rather see the behaviour that disabling it doesn't affect the actual ranking at all so that later re-enablement will not cause its position to change.

Was there a specific reason why disabling a publisher should cause loss of ranking?

Well, it's certainly not fixed in stone, but there are some interesting
UI issues.  Do we preserve it's original numerical rank?  Or act as if
it had been part of the order changes all along?

E.g.:

Original publisher search order:

A, B, C, D

disable B

A, C, D

Add E as preferred:

E, A, C, D

Now make D preferred:

D, E, A, C

Now re-enable B.

Where does it go?

D, B, E, A, C ?

Or

D, E, A, B, C ?

I voted for always adding them at the end, as it is simple
and non-surprising.

- Bart



--
Bart Smaalders                  Solaris Kernel Performance
[email protected]         http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to