xolox / python-deb-pkg-tools

Debian packaging tools
https://pypi.python.org/pypi/deb-pkg-tools
MIT License
42 stars 11 forks source link

manipulating repository metadata #23

Open iurly opened 10 months ago

iurly commented 10 months ago

Hi @xolox, I have a very specific need (TBH I expected this to be quite common but turns out it's not). I have a debian repository hosted on Amazon S3, and I would like the ability to upload new packages (more specifically, new versions of a package) without re-creating all the repo metadata from .deb files all over again. So the idea would be to either extend repo.update_repository() with a flag to read the existing Packages file beforehand, or somehow add the possibility to merge two existing repositories.

Would you accept a PR for this kind of feature?