audeering / audbackend

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

Support remote and virtual Artifactory repos #187

Closed hagenw closed 4 months ago

hagenw commented 4 months ago

Closes #186

This add support for remote and virtual Artifactory repositories besides local ones, by using the find_repository() method from the artifactory package, see

https://github.com/devopshq/artifactory/blob/c99d9109870e0b05e58d25c83f1458bb44bf54d6/artifactory.py#L2400-L2416

This leads to a different behavior of audbackend.Artifactory(). When instanciating the object it no longer raises an error if no repo could be found for the given path (or when no access rights were given for that repo). This behavior was anyway not documented. When using audbackend.access() it still raises an error when the username, password do not work.

codecov[bot] commented 4 months ago

Codecov Report

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

Comparison is base (21a6cce) 100.0% compared to head (4d7ca61) 100.0%.

Additional details and impacted files | [Files](https://app.codecov.io/gh/audeering/audbackend/pull/187?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering) | Coverage Δ | | |---|---|---| | [audbackend/core/artifactory.py](https://app.codecov.io/gh/audeering/audbackend/pull/187?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=audeering#diff-YXVkYmFja2VuZC9jb3JlL2FydGlmYWN0b3J5LnB5) | `100.0% <100.0%> (ø)` | |