-
Notifications
You must be signed in to change notification settings - Fork 153
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
Allow importing snapshot from URL + Progress bar (#762) #811
Allow importing snapshot from URL + Progress bar (#762) #811
Conversation
fa9b0bb
to
128af58
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to make a pass after to clean up some of these things, but the one thing that absolutely needs to change is writing to a temporary file just to read and delete it
btw, conformance test vectors are failing because you committed a previous commit of the repo to this PR |
4f2b2ae
to
5fb35a5
Compare
630c5a8
to
6bebf08
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM great changes, thanks for making those adjustments! One thing about this is that it doesn't add the progress bar to loading a local car file (and those imports can take a long time) but this can be easily added after this PR comes in
@austinabell right. I thought about this too at some point :) I can rename |
Or you can just wrap the file reader in that progress bar (capacity you can get from the file metadata). Either way should work, it's up to you. My intuition would be that the generics of the solution you suggest would be a little tricky to workaround, but it would be a slightly cleaner solution indeed |
Updated MR, using |
dc0767f
to
bee8ac3
Compare
Looks great! Thanks as always for the contribution!!!!!!! |
6e4ce31
to
aec408a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oo very nice, thanks!
Summary of changes
Changes introduced in this pull request:
Reference issue to close (if applicable)
Closes #762
Other information and links