-
Notifications
You must be signed in to change notification settings - Fork 62
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
pin_write
should return the version
as well as the name
#592
Comments
Returning version would be a very useful feature! |
We could look into whether it's possible to return the whole metadata object invisibly for |
It turns out the After working on this today, I believe that each |
In #735 we are looking at an argument to check the hash of the pin contents before pinning, so another possible component to consider returning is whether pinning was successful. |
In the the current version of pins (1.0.1)
pin_write()
returns the fully qualified name of the new pin, invisibly.There are a number of additional workflows that would be enabled by also returning the version. In the example above,
20220125T122531Z-c9e9b
.This is useful, since both the "fully qualified name" and the version are required to obtain a specific version of a data set rather than just the latest version.
For example, users may want to record the versions of specific pins in another system and currently, this is not a straightforward task.
Perhaps
pin_write()
, could return a list that includes the fully qualified domain name as well as the version.The text was updated successfully, but these errors were encountered: