On Mon, Jul 30, Jan Kupec wrote:
2) with the refactored libzypp we have no means to change the URL as we did before. The URL edit box has no effect now in YaST dialogs due to this fact. (zypper didn't have this implemented so far.)
This is again because we don't have repositories globally associated with media access, and there is nothing like simple redirect(media, newurl) call now.
As far as I see, the requestMedia callback still has the old signature: virtual Action requestMedia( Repository /*source*/ , unsigned /*mediumNr*/ , Error /*error*/ , const std::string & /*description*/ ); And as we no longer have the Repository available, always Repository::noRepository is passed to the callback. What about removing the now unused Repository argument, and introducing an 'Url & newUrl'? If the returned Action == media::MediaChangeReport::CHANGE_URL, we expect url to contain the new URL to use. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org