diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -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: |