UPD: Sorry for noise, i discovered repo-add now
]]>James.
]]>It looks you are creating directories though, then adding them to the tarball. I am doing all that in memory, so there are no extraneous files created.
You might want to incorporate some of that in your version.
Other than that, your version looks far more complete. I wish I had had it sooner.
]]>http://four.fsphost.com/gradgrind/dl/gen_repo.py
But please compare the two, maybe there's something in one that the other misses.
]]>With pygenrepo, I can create a repository from any random set of packages, on a system that might not be running arch, or on a system where I don't have access to the pkgbuild files.
]]>