summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2013-06-23 13:04:30 +0200
committerHelmut Grohne <helmut@subdivi.de>2013-06-23 13:04:30 +0200
commit75cc8a9998d32e714a05760e968e38b71c2ac157 (patch)
treea7fb707901b00d992fbc915849521dd5964e64de /README
parent523fb675368d180ab9c5a16b6f48a4d29693c8ae (diff)
parentf2bd48d342518c11ec7deaeee5b437ac524514de (diff)
downloaddebian-dedup-75cc8a9998d32e714a05760e968e38b71c2ac157.tar.gz
Merge master into sqlalchemy
This is necessary to avoid severe merge conflicts when converting importpkg.py to sqlalchemy. The actual sql invocation has moved to a different file in master. Conflicts: README (diverged set of dependencies)
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 9 insertions, 5 deletions
diff --git a/README b/README
index 8c541c1..d4c950c 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
Required packages
-----------------
- aptitude install python python-debian python-lzma curl python-jinja2 python-werkzeug sqlite3 python-imaging python-sqlalchemy
+ aptitude install python python-debian python-lzma curl python-jinja2 python-werkzeug sqlite3 python-imaging python-yaml python-concurrent.futures python-sqlalchemy
Create a database
-----------------
@@ -15,13 +15,17 @@ permanent.
Import packages
---------------
-Import individual packages by feeding them to importpkg.py:
+Import individual packages by feeding them to importpkg.py and readyaml.py:
- ls -t /var/cache/apt/archives/*.deb | while read f; do echo $f; ./importpkg.py < $f || break; done
+ ./importpkg.py < somepkg.deb | ./readyaml.py
-Import a full mirror::
+You can import your local apt cache:
- ./autoimport.py http://your.mirror.example/debian
+ ./autoimport.py /var/cache/apt/archives
+
+Import a full mirror (only http supported):
+
+ ./autoimport.py -n -p http://your.mirror.example/debian
Viewing the results
-------------------