devopshq / artifactory

dohq-artifactory: a Python client for Artifactory
https://devopshq.github.io/artifactory/
MIT License
269 stars 137 forks source link

The find_repository() method does not support federated repositories #450

Open hransun opened 1 week ago

hransun commented 1 week ago

When the repo is federated repo the call return None. Actually the repo is there and here are the debug log:

[2024-06-28 11:12:36,453] {admin.py:135} DEBUG - Read RepositoryLocal [xxx-pip-unstable-local] [2024-06-28 11:12:36,463] {connectionpool.py:1051} DEBUG - Starting new HTTPS connection (1): xxx:443 [2024-06-28 11:12:37,305] {connectionpool.py:546} DEBUG - https://xxx:443 "GET /artifactory/api/repositories/xxx-pip-unstable-local HTTP/11" 200 None [2024-06-28 11:12:37,306] {admin.py:151} DEBUG - RepositoryLocal [xxx-pip-unstable-local] exist [2024-06-28 11:12:37,306] {admin.py:135} DEBUG - Read RepositoryRemote [xxx-pip-unstable-local] [2024-06-28 11:12:37,699] {connectionpool.py:546} DEBUG - https://xxxx:443 "GET /artifactory/api/repositories/xxx-pip-unstable-local HTTP/11" 200 None [2024-06-28 11:12:37,699] {admin.py:151} DEBUG - RepositoryRemote [xxx-pip-unstable-local] exist [2024-06-28 11:12:37,700] {admin.py:135} DEBUG - Read RepositoryVirtual [xxx-pip-unstable-local] [2024-06-28 11:12:37,802] {connectionpool.py:546} DEBUG - https://xxx:443 "GET /artifactory/api/repositories/xxx-pip-unstable-local HTTP/11" 200 None [2024-06-28 11:12:37,802] {admin.py:151} DEBUG - RepositoryVirtual [xxx-pip-unstable-local] exist

I've tested with dohq-artifactory-0.10.0