aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorDafydd Harries <daf@rhydd.org>2013-03-12 19:53:28 -0400
committerDafydd Harries <daf@rhydd.org>2013-03-12 19:53:28 -0400
commit7ac7787095c3fe6c730a16523d7e00785c6c40cd (patch)
tree56b9c3cbc55dd53dc60f9eb640e28ce595460314 /README
import
Diffstat (limited to 'README')
-rw-r--r--README21
1 files changed, 21 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..b412693
--- /dev/null
+++ b/README
@@ -0,0 +1,21 @@
+
+## Importing data
+
+Loading data from package files:
+
+ $ pv .../Packages python | python load_packages.py
+
+Packages files can be obtained from Debian mirrors, and are cached by APT in
+/var/lib/apt/lists.
+
+Loading data from copyright files:
+
+ $ python load_copyright.py main/*/*/current/copyright | tee cp_import.log
+
+Unfortunately, I don't know of a way to easily and quickly get copyright files
+for all packages in main if you are not a Debian developer. I obtained them by
+logging into powell.debian.org (which hosts.packages.debian.org) and running:
+
+ $ cd /srv/packages.debian.org/www/changelogs/pool
+ $ tar -zchf ~/copyright.tar.gz main/*/*/current/copyright
+