Re: [Yum-devel] Update the script which creates metadata deltas, make the output byte-compatible

2011-10-08 Thread Tirtha Chatterjee
diff --git a/dmd.py b/dmd.py index 684bac6..efa95d7 100755 --- a/dmd.py +++ b/dmd.py @@ -51,7 +51,20 @@ class MdType(object): return pkgelem -def diff_trees(self, oldtree, newtree): +def make_pkg_opening_tag(self, pkg): +return '\n' % pkg.get('type') + +def make_pkg_c

Re: [Yum-devel] Metadata download and multithreading in yum

2011-10-08 Thread tim.laurid...@gmail.com
On Thu, Oct 6, 2011 at 3:37 PM, Zdenek Pavlas wrote: > Hi, > > I did some experiments with parallelizing metadata downloads > using the 'bulk urlgrab' api.  Metadata initialization code > is pretty complex so I only came to a 'staged' 3-pass solution > > 1st pass: update metalink files. > 2nd pass

Re: [Yum-devel] Update the script which creates metadata deltas, make the output byte-compatible

2011-10-08 Thread Tirtha Chatterjee
Btw, the patch is against createrepo, so i am not sure if this is the correct place to post. -- Regards Tirtha Chatterjee http://wyuka.co.cc/ ___ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel

[Yum-devel] Update the script which creates metadata deltas, make the output byte-compatible

2011-10-08 Thread Tirtha Chatterjee
diff --git a/dmd.py b/dmd.py index 684bac6..b8e1f2d 100755 --- a/dmd.py +++ b/dmd.py @@ -51,7 +51,7 @@ class MdType(object): return pkgelem -def diff_trees(self, oldtree, newtree): +def diff_trees(self, oldtree, newtree, fo): oldpkgs = oldtree.getroot().getchildren()