Suggestion box: source code to add/Debian derivatives

From Software Heritage Wiki
Jump to: navigation, search

Debian derivatives

Suggestions from Debian's pabs (pabs@d.o) to inject into Software Heritage archive all the distributions listed in the Debian derivatives census:

Hi folks,

At the DebConf16 talk we discussed importing Debian derivatives source
packages into the Software Heritage archive. Below is a rough guide
about how to do it. If you want more detail I can give it in person at
DebConf16, via email or via IRC.

First download the census page to get a list of derivatives:

Then download the text versions of their wiki pages:

Then extract the sources.list files from each wiki page:

Then download the apt meta-data into a subdirectory, the APT_CONFIG
environment variable must be set otherwise apt will use system hooks:

Then you will need an importer for apt repositories that is based on
sources.list input files. The compare-source-package-list script from
the derivatives census has a loop around source packages, you would
just need to add downloading them using the apt acquire system.

In addition, a significant cache of source packages from derivatives, including disappeared ones, is available on