[zypp-devel] Re: [zypp-commit] r10412 - in /trunk/libzypp/zypp: Patch.cc Patch.h sat/SolvAttr.cc sat/SolvAttr.h
* mlandres@svn.opensuse.org <mlandres@svn.opensuse.org> [Jun 19. 2008 18:15]:
Author: mlandres Date: Thu Jun 19 18:15:17 2008 New Revision: 10412
URL: http://svn.opensuse.org/viewcvs/zypp?rev=10412&view=rev Log: - update message attribute required to show messages in the user interface
This only supports a single message per patch. Beginning with openSUSE 11.0, messages belong to packages and a package can have multiple messages. Since patches are collection of packages, the 'message' attribute of a patch should be an iterator. Klaus -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Thu, Jun 19, Klaus Kaempf wrote:
* mlandres@svn.opensuse.org <mlandres@svn.opensuse.org> [Jun 19. 2008 18:15]:
Author: mlandres Date: Thu Jun 19 18:15:17 2008 New Revision: 10412
URL: http://svn.opensuse.org/viewcvs/zypp?rev=10412&view=rev Log: - update message attribute required to show messages in the user interface
This only supports a single message per patch.
Beginning with openSUSE 11.0, messages belong to packages and a package can have multiple messages. Since patches are collection of packages, the 'message' attribute of a patch should be an iterator.
This is just the backport of what was implemented in zypp/satsolver for 11.0 in order to be able to compile trunk. AFAIK the message from updateinfo.xml is implemented as a patch attribute ("update:message") and provided as string attribute in the solv file. Similar to the patch description. Maybe the implementation is insufficient. -- 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
* Michael Andres <ma@suse.de> [Jun 19. 2008 18:37]:
On Thu, Jun 19, Klaus Kaempf wrote:
This only supports a single message per patch.
Beginning with openSUSE 11.0, messages belong to packages and a package can have multiple messages. Since patches are collection of packages, the 'message' attribute of a patch should be an iterator.
This is just the backport of what was implemented in zypp/satsolver for 11.0 in order to be able to compile trunk.
AFAIK the message from updateinfo.xml is implemented as a patch attribute ("update:message") and provided as string attribute in the solv file. Similar to the patch description.
Ah, so this attribute is indeed per-patch and retrieves its value from updateinfo.xml. Then the current implementation is fine.
Maybe the implementation is insufficient.
We have to find out if and how per-patch messages can be used when we target 'rpm-only' maintenance in Code11. But thats a different thread ;-) Klaus -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Klaus Kaempf
-
Michael Andres