Author: jkupec Date: Thu Oct 9 17:24:29 2008 New Revision: 11291 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11291&view=rev Log: - added 'productline' attribute to product info XML (bnc #433415) - deprecated 'type' replaced by 'isbase' boolean attribute in product info XML Modified: trunk/zypper/src/utils/misc.cc Modified: trunk/zypper/src/utils/misc.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/utils/misc.cc?rev=1129... ============================================================================== --- trunk/zypper/src/utils/misc.cc (original) +++ trunk/zypper/src/utils/misc.cc Thu Oct 9 17:24:29 2008 @@ -337,12 +337,13 @@ " release="" << p.edition().release() << """ " epoch="" << p.edition().epoch() << """ " arch="" << p.arch() << """ + " productline="" << p.productLine() << """ " registerrelease="" << xml_encode(p.registerRelease()) << """ " vendor="" << xml_encode(p.vendor()) << """ " summary="" << xml_encode(p.summary()) << """ " shortname="" << xml_encode(p.shortName()) << """ " flavor="" << xml_encode(p.flavor()) << """ - " type="" << xml_encode(p.type()) << """ + " isbase="" << (p.isTargetDistribution() ? 1 : 0) << """ " repo="" << xml_encode(p.repoInfo().alias()) << """ " installed="" << (is_installed ? 1 : 0) << """; if (p.description().empty()) -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org