-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Download a snapshot artifact #26
Comments
Hi @sqqqrly, could you please post any diagnostics? What error do you see? |
Hi @racktear. I am not getting an error. I just didnt see how I could get the latest from a snapshot path. What I did instead was get the names of all the artifacts in the path and manually choose the latest to download. Is there a better way? |
@sqqqrly I believe you don't need any special support from the python-artifactory, because there is already support from the artifactory itself: Since the underlying mechanism in python-artifactory is just REST calls, you should be able to download artifacts by URLs like this: The SNAPSHOT keyword gets special treatment by artifactory, and it calculates the binary to return on the server side. Please let me know if it works. |
Although, treating such special URLs as symlinks and 'resolving' them via the pathlib-like interface looks better. |
I am trying to download snapshot artifacts and stat data about them from my Artifactory. While everything else is working, I cannot get this to work. Is there a way to do this?
Example that works with wget:
http://somewhere.com:8090/artifactory/libs-snapshot-local/com/company/foo/bar/foobar-artifact/0.1-master-SNAPSHOT/foobar-artifacts-0.1-master-SNAPSHOT.py
If this is not possible, I would like to make it so.
The text was updated successfully, but these errors were encountered: