https://wiki.softwareheritage.org/index.php?title=Suggestion_box:_source_code_to_add/Debian_derivatives&feed=atom&action=history
Suggestion box: source code to add/Debian derivatives - Revision history
2024-03-29T09:28:35Z
Revision history for this page on the wiki
MediaWiki 1.31.16
https://wiki.softwareheritage.org/index.php?title=Suggestion_box:_source_code_to_add/Debian_derivatives&diff=146&oldid=prev
StefanoZacchiroli at 13:06, 11 July 2016
2016-07-11T13:06:51Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:06, 11 July 2016</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">= Debian derivatives =</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Suggestions from Debian's pabs (pabs@d.o) to inject into Software Heritage archive all the distributions listed in the [https://wiki.debian.org/Derivatives/Census Debian derivatives census]:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Suggestions from Debian's pabs (pabs@d.o) to inject into Software Heritage archive all the distributions listed in the [https://wiki.debian.org/Derivatives/Census Debian derivatives census]:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l42" >Line 42:</td>
<td colspan="2" class="diff-lineno">Line 44:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>https://anonscm.debian.org/cgit/dex/census.git/tree/Makefile.deriv#n63</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>https://anonscm.debian.org/cgit/dex/census.git/tree/Makefile.deriv#n63</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">In addition, a significant cache of source packages from derivatives, including disappeared ones, is available on lw08.debian.org</ins></div></td></tr>
</table>
StefanoZacchiroli
https://wiki.softwareheritage.org/index.php?title=Suggestion_box:_source_code_to_add/Debian_derivatives&diff=142&oldid=prev
StefanoZacchiroli: check-in pabs suggestions about injecting Debian derivatives in Software Heritage
2016-07-11T10:49:36Z
<p>check-in pabs suggestions about injecting Debian derivatives in Software Heritage</p>
<p><b>New page</b></p><div>Suggestions from Debian's pabs (pabs@d.o) to inject into Software Heritage archive all the distributions listed in the [https://wiki.debian.org/Derivatives/Census Debian derivatives census]:<br />
<br />
<pre><br />
Hi folks,<br />
<br />
At the DebConf16 talk we discussed importing Debian derivatives source<br />
packages into the Software Heritage archive. Below is a rough guide<br />
about how to do it. If you want more detail I can give it in person at<br />
DebConf16, via email or via IRC.<br />
<br />
First download the census page to get a list of derivatives:<br />
<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/Makefile.var#n69<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/bin/get-wiki-html<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/bin/wiki-html-to-derivatives-list<br />
<br />
Then download the text versions of their wiki pages:<br />
<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/Makefile.deriv#n51<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/bin/get-wiki-text<br />
<br />
Then extract the sources.list files from each wiki page:<br />
<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/Makefile.deriv#n57<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/bin/wiki-text-to-sources-list<br />
<br />
Then download the apt meta-data into a subdirectory, the APT_CONFIG<br />
environment variable must be set otherwise apt will use system hooks:<br />
<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/Makefile.deriv#n60<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/bin/get-package-lists<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/bin/fakegpgv<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/etc/apt.conf<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/Makefile.deriv#n6<br />
<br />
Then you will need an importer for apt repositories that is based on<br />
sources.list input files. The compare-source-package-list script from<br />
the derivatives census has a loop around source packages, you would<br />
just need to add downloading them using the apt acquire system.<br />
<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/bin/compare-source-package-list#n1149<br />
https://anonscm.debian.org/cgit/dex/census.git/tree/Makefile.deriv#n63<br />
</pre></div>
StefanoZacchiroli