-
Notifications
You must be signed in to change notification settings - Fork 2
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
Compulsory MIMEType or description in addData!????? #579
Comments
I don't know exactly what the issue is. Do you want it as compulsory arguments instead of keyword arguments? It makes it hard to be general. I went on how it previously was:
So keyword argument on MIME Type and added a new field Also in v0.8
|
Here is the function signature: DistributedFactorGraphs.jl/src/DataBlobs/services/BlobStores.jl Lines 107 to 108 in d1f3c41
|
Okay, lets try figure that out first. We previously spoke about always storing the format in which the data is serialized (don't think we captured that in an issue). I think that discussion has just gotten lost and I'm trying to make sure we still capture it. The latest example does not have a Previously, I did do the example with keyword: #391 (comment) but now I'm thinking the mimetype as keyword is a mistake, I think it needs to be compulsory. xref:
Maybe I'm not understanding this part, but i think it should be a mandatory field that must be carried around everywhere (similar to e.g. timestamp). Users need to communicate how the data blob was serialized otherwise its near impossible to use. E.g., if you pull an image from the store (that someone else pushed) and it's just a binary data blob, how is a user supposed to know what they have (png, jpg, bitmap, ?). This is more tricky if the default mimetype was assumed as
Yep, still figuring it out and the API has been changing quite a bit. Currently PS, I'd almost push for a second description/note field that the user can populate. Example, someone wants to store an acoustic wav recording so use the mimetype |
old discussion,
|
I'll just restate a short explanation and history here, there are two (almost competing) implementations of storing data in the file system:
I created and used As you can see If I understand correctly, the issue then is
|
thanks, added my votes above.
Sounds like main effort will be a consolidation between two half solutions. It's easier to build out new duplicate functionality and harder to update the old code. |
I like this part:
|
overall design issue #594 |
Related JuliaRobotics/Caesar.jl#274 |
Old:
New (missing the mimetype or description field)
EDIT, see (Standard Interface <: AbstractBlobEntry) #594
Conclusion is
The text was updated successfully, but these errors were encountered: