[ANNOUNCE] git-deb: a Git importer for Debian packages
I've written a tool to import Debian packages into Git:
git clone deb::mypackage
It does a faithful import of the package history from
snapshot.debian.org. There is some agressive caching built-in, and a
bit of logic to rebuild the history graph from changelogs. It is also
able to deal with most quirks in the upload history, like missing source
packages, missing .dsc files, and obsolete keys.
On the git side, the --depth option is supported. Incremental imports
(both new releases and deepening the history) aren't yet, but the shared
cache helps rebuild branches faster.
It's available here https://github.com/g2p/git-deb and on PyPI.