Closed gonzaclavell closed 4 years ago
Hi @gonzaclavell ,
Thanks for your feedback :smiley:
After having run some tests, it appears that you're trying to fetch a local or virtual repo with the method get_remote_repo. As its name suggests, this method only fetches remote repositories. I suggest you to check for the type of your repository libs-release, and if it's a local repo, use a get_local_repo instead or get_virtual_repo if it's a virtual repo .
We did implement it this way because, depending on the repository type, the artifactory api returns additional information (e.g. url for remote repos). However, we now see that it can lead to some misunderstandings. So, in a future release, we will add a global action get_repo that will no longer bother with the repository type.
Let me know if you have any questions or suggestions :wink:
Hi @gonzaclavell,
A new release of pyartifactory
is available (v1.4.0) with generic methods get_repo, create_repo & update_repo. With this new version, you'll no longer have to bother with the repository since it is automatically detected 😉.
Hi, In a simple call as :
I tried without verify as well:
I'm getting the following error:
repos = art.repositories.list() is working fine.
Thanks in advance