Skip to content

Releases: audeering/audbackend

Release v2.2.1

27 Nov 07:29
8f398e9
Compare
Choose a tag to compare
  • 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

18 Nov 16:55
1b1177d
Compare
Choose a tag to compare
  • 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

04 Nov 12:53
e75620a
Compare
Choose a tag to compare
  • 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

14 May 10:51
d5289aa
Compare
Choose a tag to compare
  • 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

10 May 07:00
bdc5368
Compare
Choose a tag to compare
  • 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()
    and audbackend.interface.*.copy_file()
    methods
    to copy a file on the backend
  • Added: audbackend.backend.*.move_file()
    and audbackend.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 in audbackend.backend.*
    and audbackend.interface.*.
    If True
    the checksum of the resulting file is checked
  • Added: audbackend.backend.*.create()
    and audbackend.backend.*.delete()
    class methods
    to create or delete a repository
    on a backend
  • Added: audbackend.backend.*.open()
    and audbackend.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
    to audbackend.backend.Artifactory
    and audbackend.backend.Base
  • Added: audbackend.backend.Artifactory.path()
    returning an artifactory.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 of ls(),
    split()
    and join(),
    as those methods support sub-paths as argument
  • Deprecated: audbackend.create(),
    use audbackend.backend.*.create() instead
  • Deprecated: audbackend.delete(),
    use audbackend.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
    and audbackend.FileSystem,
    use
    audbackend.backend.Artifactory
    and audbackend.backend.FileSystem
    instead
  • Removed: audbackend.available()

Release v1.0.2

13 Feb 10:36
84b723c
Compare
Choose a tag to compare
  • Added: support for accessing
    remote and virtual repositories
    on Artifactory
  • Fixed: match the pattern argument
    of audbackend.Backend.ls()
    to file basenames
  • Fixed: typo in raises section
    of the docstring
    of audbackend.exists()

Release v1.0.1

18 Oct 08:11
63d2a5b
Compare
Choose a tag to compare
  • Added: regex argument%0A to audbackend.Backend._use_legacy_file_structure()%0A to support providing regex pattern%0A in the extensions argument%0A* Changed: depend on dohq-artifactory>=0.9.0

Release v1.0.0

16 Oct 10:04
02f3c9a
Compare
Choose a tag to compare
  • Added:%0A audbackend.Backend.access(),%0A audbackend.Backend.available(),%0A audbackend.Backend.date(),%0A audbackend.Backend.delete(),%0A audbackend.Backend.owner()%0A* Added:%0A audbackend.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 to audbackend.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 and audbackend.Backend.put_archive()%0A support same archive types as audeer.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 and audbackend.Backend.put_file() raise IsADirectoryError%0A* Changed: audbackend.put_archive() raises NotADirectoryError%0A* Changed: make files an optional argument of%0A audbackend.Backend.put_archive()%0A* Changed: audbackend.Backend.put_file()%0A passes checksum to implementation to avoid re-calculation%0A* Changed: audbackend.Backend.join() and audbackend.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 with audeer.md5()%0A* Changed: file structure on audbackend.FileSystem%0A and audbackend.Artifactory from%0A /sub/file/1.0.0/file-1.0.0.txt%0A to%0A /sub/1.0.0/file.txt%0A* Changed: remove ext 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:%0A audbackend.Backend.glob(),%0A audbackend.Backend.path()%0A* Removed: support for Python 3.7%0A* Removed: dependency on audfactory

Release v0.3.18

17 Feb 09:30
d3d7835
Compare
Choose a tag to compare
  • Fixed: support dohq_artifactory.exception.ArtifactoryException
    which was introduced in dohq_artifactory>=0.8
    and is raised instead of a HTTP request error

Release v0.3.17

13 Feb 10:56
0f398ee
Compare
Choose a tag to compare
  • Added: support for Python 3.10
  • Changed: depend on audfactory>=1.0.10