Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7530 - /trunk/sat-solver/tools/source_patchxml.c
  • From: matz@xxxxxxxxxxxxxxxx
  • Date: Mon, 15 Oct 2007 02:57:28 -0000
  • Message-id: <20071015025728.45EC845642@xxxxxxxxxxxxxxxx>
Author: matz
Date: Mon Oct 15 04:57:27 2007
New Revision: 7530

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7530&view=rev
Log:
To be able to accept a set of patches simply cat'ed behind each other
we need to accept a collector tag.  I chose '<patches>', so you can
parse multiple patches by:

( echo '<patches>'; cat patch-*.xml; echo '</patches>' )
  | grep -v '\?xml'
  | patchxml2solv

Modified:
    trunk/sat-solver/tools/source_patchxml.c

Modified: trunk/sat-solver/tools/source_patchxml.c
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/source_patchxml.c?rev=7530&r1=7529&r2=7530&view=diff
==============================================================================
--- trunk/sat-solver/tools/source_patchxml.c (original)
+++ trunk/sat-solver/tools/source_patchxml.c Mon Oct 15 04:57:27 2007
@@ -52,6 +52,7 @@
 static struct stateswitch stateswitches[] = {
   { STATE_START,       "patch",           STATE_PATCH, 0 },
   { STATE_START,       "package",         STATE_ATOM, 0 },
+  { STATE_START,       "patches",         STATE_START, 0},
   { STATE_PATCH,       "yum:name",        STATE_NAME, 1 },
   { STATE_PATCH,       "yum:arch",        STATE_ARCH, 1 },
   { STATE_PATCH,       "yum:version",     STATE_VERSION, 0 },

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages