-
Notifications
You must be signed in to change notification settings - Fork 149
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
metalink :: cksum should parse hash declaration #1172
Comments
@adriansev : I pushed today: 769182c 7c5e272 eb0e7be this should allow you to use the checksum present in a metalink while extracting a file from ZIP archive. From comandline (assuming
You can also enable the functionality from Python by setting Could you give it a try? |
@simonmichal well, it seems that is not doing anything ...
|
also, what will happen when i have in copy queue multiple files, some from zips and others not? |
@adriansev : well, you still need to ask the copy job to do the checksum:
please set Maybe it would be a good idea to run first a test with plain To explain more the mechanics, if you want the client to do the checksumming you always need to give it the To answer your second question: the |
@simonmichal sorry, about that, i keep expecting for the software to read my mind :) |
@adriansev : that's correct, there's no cleanup functionality, however in case of I'll add more verbose logs so its clear what's happening. Regarding the automatic cleanup on failure, if you're interested in this kind of functionality please create a separate issue and indicate whether you would like this to be included in the next release. |
@simonmichal Thanks!!! i added the issue about deleting the target if checksum fails: #1173 |
@adriansev : I suppose we can close this one? |
@simonmichal sure, thanks a lot!!! |
Hi! It would be great if cksum for both python bindings and xrdcp could parse the field of metalink. I think that the behaviour could be like this: if not type is specified just use the first hast field; if type is specified use the specified hash (if not existing throw an error about wrong hash type). I think that if cksum is enabled but no hash is found in metalink it would be enough to print an warning that "no hash found, checking cannot be done"
Thank you!
The text was updated successfully, but these errors were encountered: