On 05/30/2012 09:43 PM, Saurabh Sood wrote:
Hi, I need to refresh the repository metadata, in case a repository has been added. I am currently using this line rman.refreshMetadata(repoinfo,zypp::RepoManager::RefreshIfNeeded);
where rman is an object of zypp::RepoManager. Is this right, or something else needs to be done?
Also, I could not get how to get the GPG keys for the particular repository if it exists. I have currently avoided the check for GPG keys.
Why do you need to get the gpg keys? This is handled mostly automatically, and you only need to implement the callbacks (Reports). e.g.: https://github.com/openSUSE/zypper/blob/master/src/callbacks/keyring.h Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org