Author: dmacvicar
Date: Fri Aug 1 19:29:01 2008
New Revision: 10726
URL: http://svn.opensuse.org/viewcvs/zypp?rev=10726&view=rev
Log:
while trying to support package metadata extensions realized that
checksums were not saved. So forward port the fix.
insert the checksum in rpmmd generated solv files
(bnc#414002)
Modified:
trunk/sat-solver/VERSION.cmake
trunk/sat-solver/package/libsatsolver.changes
trunk/sat-solver/tools/repo_rpmmd.c
Modified: trunk/sat-solver/VERSION.cmake
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/VERSION.cmake?rev=10726&r1=10725&r2=10726&view=diff
==============================================================================
--- trunk/sat-solver/VERSION.cmake (original)
+++ trunk/sat-solver/VERSION.cmake Fri Aug 1 19:29:01 2008
@@ -46,5 +46,5 @@
SET(LIBSATSOLVER_MAJOR "0")
SET(LIBSATSOLVER_MINOR "10")
-SET(LIBSATSOLVER_PATCH "2")
+SET(LIBSATSOLVER_PATCH "3")
Modified: trunk/sat-solver/package/libsatsolver.changes
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/package/libsatsolver.changes?rev=10726&r1=10725&r2=10726&view=diff
==============================================================================
--- trunk/sat-solver/package/libsatsolver.changes (original)
+++ trunk/sat-solver/package/libsatsolver.changes Fri Aug 1 19:29:01 2008
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Fri Aug 1 18:59:22 CEST 2008 - dmacvicar@suse.de
+
+- insert the checksum in rpmmd generated solv files
+ (bnc#414002)
+- 0.10.3
+
+-------------------------------------------------------------------
Tue Jul 29 10:53:22 CEST 2008 - mls@suse.de
- resolve job rules before installing system packages [#411086]
Modified: trunk/sat-solver/tools/repo_rpmmd.c
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo_rpmmd.c?rev=10726&r1=10725&r2=10726&view=diff
==============================================================================
--- trunk/sat-solver/tools/repo_rpmmd.c (original)
+++ trunk/sat-solver/tools/repo_rpmmd.c Fri Aug 1 19:29:01 2008
@@ -199,6 +199,7 @@
const char *tmpattr;
Repodata *data;
Id handle;
+ XML_Parser *parser;
};
static Id
@@ -483,9 +484,59 @@
else if (name[2] == 't' && name[3] == 'c')
pd->kind = "patch";
- pd->solvable = pool_id2solvable(pool, repo_add_solvable(pd->common.repo));
- pd->freshens = 0;
- repodata_extend(pd->data, pd->solvable - pool->solvables);
+ /**
+ * now we have two cases, one is that we are in the package tag of a new package
+ * and the other is that we are in the tag of an extension file like other.xml or
+ * filelist.xml.
+ * We identify it by looking the attributes
+ *
+ * new package
+ * <package>
+ * <name>...
+ *