]> git.proxmox.com Git - mirror_zfs.git/commit - contrib/pyzfs/requirements.txt
Adopt pyzfs from ClusterHQ
authorloli10K <ezomori.nozomu@gmail.com>
Sun, 18 Mar 2018 08:34:45 +0000 (09:34 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 1 May 2018 17:33:35 +0000 (10:33 -0700)
commit85ce3f4fd114cf3c7a77feb07b397d43b90d11c7
tree44e954831ea4375a3cabc1c4615ac3e6738d8a1e
parent6abf922574f39ad597ae122fa43d2fa811970720
Adopt pyzfs from ClusterHQ

This commit introduces several changes:

 * Update LICENSE and project information

 * Give a good PEP8 talk to existing Python source code

 * Add RPM/DEB packaging for pyzfs

 * Fix some outstanding issues with the existing pyzfs code caused by
   changes in the ABI since the last time the code was updated

 * Integrate pyzfs Python unittest with the ZFS Test Suite

 * Add missing libzfs_core functions: lzc_change_key,
   lzc_channel_program, lzc_channel_program_nosync, lzc_load_key,
   lzc_receive_one, lzc_receive_resumable, lzc_receive_with_cmdprops,
   lzc_receive_with_header, lzc_reopen, lzc_send_resume, lzc_sync,
   lzc_unload_key, lzc_remap

Note: this commit slightly changes zfs_ioc_unload_key() ABI. This allow
to differentiate the case where we tried to unload a key on a
non-existing dataset (ENOENT) from the situation where a dataset has
no key loaded: this is consistent with the "change" case where trying
to zfs_ioc_change_key() from a dataset with no key results in EACCES.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7230
35 files changed:
config/always-pyzfs.m4 [new file with mode: 0644]
config/ax_python_devel.m4 [new file with mode: 0644]
config/deb.am
config/zfs-build.m4
configure.ac
contrib/Makefile.am
contrib/pyzfs/LICENSE
contrib/pyzfs/Makefile.am [new file with mode: 0644]
contrib/pyzfs/README
contrib/pyzfs/docs/source/conf.py
contrib/pyzfs/libzfs_core/__init__.py
contrib/pyzfs/libzfs_core/_constants.py
contrib/pyzfs/libzfs_core/_error_translation.py
contrib/pyzfs/libzfs_core/_libzfs_core.py
contrib/pyzfs/libzfs_core/_nvlist.py
contrib/pyzfs/libzfs_core/bindings/__init__.py
contrib/pyzfs/libzfs_core/bindings/libnvpair.py
contrib/pyzfs/libzfs_core/bindings/libzfs_core.py
contrib/pyzfs/libzfs_core/ctypes.py
contrib/pyzfs/libzfs_core/exceptions.py
contrib/pyzfs/libzfs_core/test/test_libzfs_core.py
contrib/pyzfs/libzfs_core/test/test_nvlist.py
contrib/pyzfs/requirements.txt [new file with mode: 0644]
contrib/pyzfs/setup.py
lib/libzfs/libzfs_crypto.c
lib/libzfs_core/libzfs_core.c
module/zfs/dmu_objset.c
module/zfs/dsl_crypt.c
rpm/generic/zfs.spec.in
scripts/Makefile.am
scripts/zfs-helpers.sh
tests/runfiles/linux.run
tests/zfs-tests/tests/functional/Makefile.am
tests/zfs-tests/tests/functional/pyzfs/Makefile.am [new file with mode: 0644]
tests/zfs-tests/tests/functional/pyzfs/pyzfs_unittest.ksh [new file with mode: 0755]