https://bugzilla.novell.com/show_bug.cgi?id=866257
https://bugzilla.novell.com/show_bug.cgi?id=866257#c4
--- Comment #4 from Michael Andres 2014-09-10 14:40:13 CEST ---
It might not work that way.
Zypp can easily tell you that _a_repo was refreshed. But triggers will also be
issued for temporary repos applications may create, or for repos which are just
temporarily enabled for a specific task and otherwise disabled.
_You_ need to know whether a repo is interesting for you.
You can't determine or follow the set of active system repos by evaluating the
repo triggers sketched above. System repos can also be created, modified and
removed by directly editing the repo descriptions, which will cause no zypp
trigger to be issued at all.
Also creating/enabling a repo does not include downloading the repo-metadata.
'zypper lr' will list all enabled system repos, but their metadata are
downloaded/updated only if some action actually requires or requests it.
As long as no one else accesses the repo for you, you may not see the data.
If you want to present relevant and up-to date data in your application, you
should somehow retrieve the current state through libzypp. Maybe through a
dedicated zypper command or via some python script.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.