On Wed, 2008-08-13 at 17:35 -0400, Mike Bonnet wrote:
I was thinking we would probably just call out to the tool the way we
do
for createrepo, but I'm certainly not against using an API. I'm a
little concerned about memory usage when doing the create/mergerepo
in-process, since we know python and mod_python have garbage-collection
issues, but that may be a "cross the bridge when we come to it" problem.
Seth, is it feasible to provide an API to mergerepo that we could use
directly?
createrepo has an api. repomerge should be relatively easy to use the
same way since repomerge is really just a combination script using
createrepo and yum's interfaces.
when I have the script cleaned up more I'll make sure you can import it
usefully.
-sv