aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorIan Kelling <iank@fsf.org>2018-06-05 12:52:50 -0400
committerIan Kelling <iank@fsf.org>2018-06-05 12:52:57 -0400
commit26a5d89184a14cdd51273c8c617e784f181e617f (patch)
tree0979198b6214b0c4745092edfbfa101baa2f65ed /README
parentd67b9031ece26a634e8944b2abc6850d2f4d947d (diff)
update readme
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 5 insertions, 7 deletions
diff --git a/README b/README
index d72d051..925ff00 100644
--- a/README
+++ b/README
@@ -30,6 +30,10 @@ containing one file per page. `export_json.py` exports the list of pages
as a single JSON file named index.json. This JSON file can be converted
to a directory of wiki pages using the `json_to_wiki.py` script.
+To import and export all packages, do
+
+./runall.sh
+
## Importing data from debian
Loading data from package files:
@@ -47,18 +51,12 @@ 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
## Exporting data
One package:
- $ python export.py Pandoc
+ $ python export.py pandoc
All packages, as wiki pages: