audeering / audbackend

Manage file storage on different backends
https://audeering.github.io/audbackend/
Other
3 stars 0 forks source link

Add audbackend.interface.Maven #194

Closed hagenw closed 3 months ago

hagenw commented 3 months ago

Closes #168

This adds an extra interface to handle our legacy versioned file structure.

I'm still not completely convinced by the Maven name. If you have a better proposal, I'm open to change the name.


The API documentation is currently slightly broken as it uses the name versioned to refer to the interface, but the problem exists also for the Versioned and Unversioned API, which also uses a mix of interface and their actual variable names. I propose to fix this in another pull request, after this one is finished.

Excerpt from the API documentation:

image


For now I haven't added a new section to the usage documentation, but updated the "Legacy backends" page to

image

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.0%. Comparing base (ce1c437) to head (334dcba).

Additional details and impacted files | [Files](https://app.codecov.io/gh/audeering/audbackend/pull/194?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering) | Coverage Δ | | |---|---|---| | [audbackend/core/interface/maven.py](https://app.codecov.io/gh/audeering/audbackend/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering#diff-YXVkYmFja2VuZC9jb3JlL2ludGVyZmFjZS9tYXZlbi5weQ==) | `100.0% <100.0%> (ø)` | | | [audbackend/core/interface/versioned.py](https://app.codecov.io/gh/audeering/audbackend/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering#diff-YXVkYmFja2VuZC9jb3JlL2ludGVyZmFjZS92ZXJzaW9uZWQucHk=) | `100.0% <100.0%> (ø)` | | | [audbackend/interface/\_\_init\_\_.py](https://app.codecov.io/gh/audeering/audbackend/pull/194?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering#diff-YXVkYmFja2VuZC9pbnRlcmZhY2UvX19pbml0X18ucHk=) | `100.0% <100.0%> (ø)` | |