-
Notifications
You must be signed in to change notification settings - Fork 150
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
Feature request: Expose lastUpdated
in .stat()
#380
Comments
One potential solution to this, and a whole class of related requests, would be to store the JSON returned by Artifactory on the |
Hi! It'd be better if So to access
|
currently stats has Line 889 in 5f8cb2e
if yes, then why just not to include it the same way, what will be the purpose of getting raw data here? |
Good point! I had thought that
|
@OddBloke |
what is the difference between last updated and last modified? |
Right,
https://stackoverflow.com/a/69496989 is the best explanation I've found. |
@OddBloke |
I've submitted #382: I could also submit a follow-up which deprecates |
Will be released in |
Artifactory does not perform deb metadata update synchronously: we've run into errors in automation due to this, and so we now have some logic which waits for the metadata we expect to be present. Having the
lastUpdated
timestamp available to us in.stat()
s return would make this logic easier to implement: currently we directly callartifact._accessor.get_stat_json(artifact)
to get access to it.(Thanks again for this library: it continues to work really well for us!)
The text was updated successfully, but these errors were encountered: