Added '0store copy' command. This copies a possibly-untrusted directory
commita18211c1fa9ef83d94e1611434f9e6a681d2d991
authorThomas Leonard <talex5@gmail.com>
Sun, 6 Aug 2006 15:10:26 +0000 (6 15:10 +0000)
committerThomas <Leonard>
Sun, 15 Jan 2006 10:34:05 +0000 (15 10:34 +0000)
tree2c114e92fd129479408fba93873dd60222145370
parent5b425894e84d520707a718252a9d9e2d445ebf3a
Added '0store copy' command. This copies a possibly-untrusted directory

structure into your cache (by default), checking that it matches the requested
digest. This is useful if you notice that a user you don't fully trust already
has a program you were about to download - you can safely get a copy from them.

A little more work may be needed to make this completely robust. When ready,
the injector can be made to check for suitable directories to copy
automatically before starting a download.

This may also be useful in the long-planned setuid script to copy downloads
by users into the shared system directory (since it will only copy correctly
named directories).

git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0launch@1016 9f8c893c-44ee-0310-b757-c8ca8341c71e
0store.1
tests/teststore.py
zeroinstall/zerostore/cli.py
zeroinstall/zerostore/manifest.py