Michael Andres napsal(a): [...]
If the returned Action == media::MediaChangeReport::CHANGE_URL, we expect url to contain the new URL to use. Yes, then the MediaSetAccess can reattach the new URL.
But this may be not a way to go, since we create MediaSetAccess on several places (with URL read from RepoInfo mostly, if not everywhere), we would get the change request pop-up several times, one time for each MediaSetAccess created and used (repo manipulation and commit at least).
Yes, maybe too many pop-ups. If so, this has to be fixed zypp internally.
Pkg-bindings internally remember the redirection URL when the URL is changed. In the next media request for already redirected URL it silently redirects the old URL to the new one (without any user interaction). Maybe that there wouldn't be too much popups... Ladislav -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org