-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The find_repository() method does not support federated repositories #450
Labels
Help Wanted
We will be glad if somebody proposes a solution via PR
Comments
I’m experiencing the same issue. We’re trying to recursively search packages in federated repos and it’s unable to find the repo in artifactory. |
Looks like ArtifactoryPath.find_repository needs to be extended to include RepositoryFederated. Relavent code: artifactory/dohq_artifactory/admin.py Line 820 in b116902
Lines 2382 to 2416 in b116902
|
allburov
added
the
Help Wanted
We will be glad if somebody proposes a solution via PR
label
Sep 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: