1 |
On 05/30/2015 01:59 PM, Mike Frysinger wrote: |
2 |
> Rather than each module implementing its own shim around the various |
3 |
> methods for accessing extended attributes, start a dedicated module |
4 |
> that exports a consistent API. |
5 |
> --- |
6 |
> v4 |
7 |
> - merge in recent quickpkg changes |
8 |
> - add a XATTRS_WORKS symbol for easy testing |
9 |
> - use - with -m when matching all |
10 |
> |
11 |
> bin/quickpkg | 12 +- |
12 |
> bin/xattr-helper.py | 11 +- |
13 |
> pym/portage/dbapi/vartree.py | 10 +- |
14 |
> pym/portage/tests/util/test_xattr.py | 178 +++++++++++++++++++++++++++ |
15 |
> pym/portage/util/_xattr.py | 228 +++++++++++++++++++++++++++++++++++ |
16 |
> pym/portage/util/movefile.py | 100 ++++----------- |
17 |
> pym/portage/util/xattr.py | 20 --- |
18 |
> 7 files changed, 441 insertions(+), 118 deletions(-) |
19 |
> create mode 100644 pym/portage/tests/util/test_xattr.py |
20 |
> create mode 100644 pym/portage/util/_xattr.py |
21 |
> delete mode 100644 pym/portage/util/xattr.py |
22 |
> |
23 |
|
24 |
LGTM, except this one line is indented with spaces instead of tabs in |
25 |
vartree.py: |
26 |
|
27 |
> def tar_contents(contents, root, tar, protect=None, onProgress=None, |
28 |
> - xattr=False): |
29 |
> + xattrs=False): |
30 |
|
31 |
-- |
32 |
Thanks, |
33 |
Zac |