]> arthur.barton.de Git - bup.git/commit - t/test.sh
Add initial support for metadata archives.
authorRob Browning <rlb@defaultvalue.org>
Wed, 25 Aug 2010 02:32:10 +0000 (21:32 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 22 Sep 2010 02:24:19 +0000 (19:24 -0700)
commit0962d3904735a5b504d54955699708140746d92e
treeb3167ede328d44cf3aafd5eb2a8c1820f401b3cf
parent3d92367f47bbf426abafd9409367f0b704fbc2d9
Add initial support for metadata archives.

Add a bup meta command based on the new lib/bup/metadata.py.  At the
moment, this command can record the metadata for a set of paths in a
file and then extract that metadata to reproduce the original tree
(minus any file contents).  See "bup meta --help" for more
information.

Add get_linux_file_attr and set_linux_file_attr functions to the
_helper module to handle Linux filesystem attributes -- c.f. chattr(1)
and lsattr(1).

Add a lutimes function to the _helper module to support setting
symlink times.

Add a vint module to support the metadata binary encoding.

Add some very preliminary tests for bup meta and metadata.py.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Documentation/bup-meta.1.md [new file with mode: 0644]
cmd/meta-cmd.py [new file with mode: 0755]
lib/bup/_helpers.c
lib/bup/metadata.py [new file with mode: 0644]
lib/bup/t/tmetadata.py [new file with mode: 0644]
lib/bup/vint.py [new file with mode: 0644]
t/test.sh