Releases: audeering/audbackend
Releases · audeering/audbackend
Release v2.2.1
- Fixed: ensure we always use MD5 sums
when comparing files - Removed:
audbackend.checksum()
,
because the special handling
of parquet file metadata checksums
introduced potential issues
Release v2.2.0
- Added:
audbackend.checksum()
for calculating MD5 sum of files.
For parquet files
it considers the"hash"
metadata entry instead,
if it is present - Changed: retry to re-establish connection to backend two times
before finally failing - Removed: deprecated functions
audbackend.access()
,
audbackend.create()
,
audbackend.delete()
,
audbackend.register()
- Fixed: storing of checksum
on S3/MinIO backends
Release v2.1.0
- Added:
audbackend.backend.Minio
backend
to access MinIO and S3 storages - Added: support for Python 3.12
(without Artifactory backend) - Removed: support for Python 3.8
Release v2.0.1
- Added: support for Python 3.11
- Fixed: ensure execution time of
audbackend.interface.Maven.ls()
is independent of repository size
on all backends
Release v2.0.0
- Added:
audbackend.interface
sub-module
including an backend interface base class
audbackend.interface.Base
,
and the three interfaces
audbackend.interface.Maven
,
audbackend.interface.Unversioned
,
audbackend.interface.Versioned
- Added:
audbackend.backend
sub-module
including the backend base class
audbackend.backend.Base
,
and the two backends
audbackend.backend.Artifactory
,
audbackend.backend.FileSystem
- Added:
audbackend.backend.*.copy_file()
andaudbackend.interface.*.copy_file()
methods
to copy a file on the backend - Added:
audbackend.backend.*.move_file()
andaudbackend.interface.*.move_file()
methods
to move a file on the backend - Added:
validate=False
argument to the
copy_file()
,
get_archive()
,
get_file()
,
move_file()
,
put_archive()
,
put_file()
methods inaudbackend.backend.*
andaudbackend.interface.*
.
IfTrue
the checksum of the resulting file is checked - Added:
audbackend.backend.*.create()
andaudbackend.backend.*.delete()
class methods
to create or delete a repository
on a backend - Added:
audbackend.backend.*.open()
andaudbackend.backend.*.close()
methods
to connect to a backend,
or disconnect from a backend - Added:
audbackend.backend.Artifactory.get_authentication()
to get the current Artifactory username, password
from the configuration file/environment variable - Added:
authentication
argument
toaudbackend.backend.Artifactory
andaudbackend.backend.Base
- Added:
audbackend.backend.Artifactory.path()
returning anartifactory.ArtifactoryPath
object - Added:
audbackend.backend.Artifactory.authentication
attribute,
holding the current authentication object,
e.g. user, password tuple - Fixed: all backend methods now raise a
ValueError
,
if a backend path ends on"/"
with the exception ofls()
,
split()
andjoin()
,
as those methods support sub-paths as argument - Deprecated:
audbackend.create()
,
useaudbackend.backend.*.create()
instead - Deprecated:
audbackend.delete()
,
useaudbackend.backend.*.delete()
instead - Deprecated:
audbackend.register()
,
as we no longer use alias names
for backends - Deprecated:
audbackend.access()
,
instantiate and open a backend instead - Deprecated:
audbackend.Repository
,
as we no longer use alias names
for backends - Removed:
audbackend.Artifactory
andaudbackend.FileSystem
,
use
audbackend.backend.Artifactory
andaudbackend.backend.FileSystem
instead - Removed:
audbackend.available()
Release v1.0.2
- Added: support for accessing
remote and virtual repositories
on Artifactory - Fixed: match the
pattern
argument
ofaudbackend.Backend.ls()
to file basenames - Fixed: typo in raises section
of the docstring
ofaudbackend.exists()
Release v1.0.1
- Added:
regex
argument%0A toaudbackend.Backend._use_legacy_file_structure()
%0A to support providing regex pattern%0A in theextensions
argument%0A* Changed: depend ondohq-artifactory>=0.9.0
Release v1.0.0
- Added:%0A
audbackend.Backend.access()
,%0Aaudbackend.Backend.available()
,%0Aaudbackend.Backend.date()
,%0Aaudbackend.Backend.delete()
,%0Aaudbackend.Backend.owner()
%0A* Added:%0Aaudbackend.FileSystem._use_legacy_file_structure()
%0A to support file structure of existing repositories%0A* Added:audbackend.BackendError
class to capture errors raised by backend%0A* Added:pattern
argument toaudbackend.Backend.ls()
%0A* Added: docstring examples and usage section%0A* Changed:audbackend.create()
raises error if repository exists%0A (audbackend.access()
should be used instead)%0A* Changed:audbackend.Backend.get_archive()
%0A andaudbackend.Backend.put_archive()
%0A support same archive types asaudeer.create_archive()
%0A* Changed:audbackend.Backend.get_file()
%0A skips operation if file with same checksum exists on local file system%0A* Changed:audbackend.Backend.get_file()
uses a temporary directory%0A to avoid corrupted files if operation is interrupted%0A* Changed:audbackend.Backend.get_file()
%0A andaudbackend.Backend.put_file()
raiseIsADirectoryError
%0A* Changed:audbackend.put_archive()
raisesNotADirectoryError
%0A* Changed: makefiles
an optional argument of%0Aaudbackend.Backend.put_archive()
%0A* Changed:audbackend.Backend.put_file()
%0A passes checksum to implementation to avoid re-calculation%0A* Changed:audbackend.Backend.join()
andaudbackend.Backend.split()
%0A check for invalid characters%0A* Changed:audbackend.Backend.ls()
returns list of(path, ext, version)
%0A* Changed:audbackend.Backend.ls()
accepts full path%0A* Changed: calculate checksum withaudeer.md5()
%0A* Changed: file structure onaudbackend.FileSystem
%0A andaudbackend.Artifactory
from%0A/sub/file/1.0.0/file-1.0.0.txt
%0A to%0A/sub/1.0.0/file.txt
%0A* Changed: removeext
argument%0A* Changed: path on backend must start with'/'
%0A* Changed: version must be non-empty and may not contain invalid characters%0A* Changed: option to install only specific backends%0A and their dependencies%0A* Removed:%0Aaudbackend.Backend.glob()
,%0Aaudbackend.Backend.path()
%0A* Removed: support forPython 3.7
%0A* Removed: dependency onaudfactory
Release v0.3.18
- Fixed: support
dohq_artifactory.exception.ArtifactoryException
which was introduced indohq_artifactory>=0.8
and is raised instead of a HTTP request error
Release v0.3.17
- Added: support for Python 3.10
- Changed: depend on
audfactory>=1.0.10