Author: tgoettlicher
Date: Fri May 25 16:55:07 2007
New Revision: 5635
URL: http://svn.opensuse.org/viewcvs/zypp?rev=5635&view=rev
Log:
XML-file is extendet to contain patches and packages.
Modified:
branches/tmp/tgoettlicher/zypp-checkpatches_extended/zypper/src/zmart-updates.cc
Modified: branches/tmp/tgoettlicher/zypp-checkpatches_extended/zypper/src/zmart-updates.cc
URL: http://svn.opensuse.org/viewcvs/zypp/branches/tmp/tgoettlicher/zypp-checkpatches_extended/zypper/src/zmart-updates.cc?rev=5635&r1=5634&r2=5635&view=diff
==============================================================================
--- branches/tmp/tgoettlicher/zypp-checkpatches_extended/zypper/src/zmart-updates.cc (original)
+++ branches/tmp/tgoettlicher/zypp-checkpatches_extended/zypper/src/zmart-updates.cc Fri May 25 16:55:07 2007
@@ -130,6 +130,37 @@
security_count++;
}
}
+
+
+
+
+ unsigned int package_count = 0;
+
+ map< string, Date > package_map;
+ for ( ResPool::byKind_iterator it = pool.byKindBegin<Package>(); it != pool.byKindEnd<Package>(); ++it )
+ {
+ Resolvable::constPtr res = it->resolvable();
+ Package::constPtr package = asKind<Package>(res);
+
+ if ( it->status().staysInstalled())
+ {
+
+ out << "