* Elmar Stellnberger
What if I wanna parse /var/log/zypp/history myself?
Should be rather easy, its a line of '|' separated values. See http://en.opensuse.org/Libzypp/Package_History for a detailed documentation of the various fields.
2008-12-09 21:42:08|install|translation-update|10.3-46.41|noarch| root@build23|repo|3b64255a6e035a146d9da1fc6584133dbba5c81c
i.e. date|install|package.name|version|target/arch|?|?|?
Where can I find the repo tag?
The log contains the 'repo alias' as used in zypper.
How do I resolve the repo tag in order to get what would be put into the Alias or Name column of zypper lr? You don't ;-)
May I also directly extract this info from a file without having to use any special library?
Sure. It was one of the design criteria to have an easily parseable history log. Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org