From 26a5d89184a14cdd51273c8c617e784f181e617f Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 5 Jun 2018 12:52:50 -0400 Subject: update readme --- README | 12 +++++------- 1 file 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: -- cgit v1.2.3