Open
Description
(I'm going to be transcribing a bunch of notes from slack and other places, mostly as quotes. The result will not be organized. You're dealing with it the same way I'm stuck dealing with it, reader. Enjoy.)
Original description: "Bug where can only get raw bytes using the git codec but not round trip it. It should not do the first or also do the second."
Some example behavior that seems confusing:
❯ echo '{"foo" : 5}' | ipfs dag put --input-enc=raw
bafyreigg3nfoc7bnomgpdmziymlhhy3tgsistf2s36js2nwsfrumtjirba
🏠/workspace
❯ ipfs dag get --format=git-raw bafyreigg3nfoc7bnomgpdmziymlhhy3tgsistf2s36js2nwsfrumtjirba
{"foo" : 5}
🏠/workspace took 5s
❯ echo '{"foo" : 5}' | ipfs dag put --input-enc=git-raw
Error: unrecognized object type: {"foo"
There is a long internal slack thread about this: https://protocollabs.slack.com/archives/C01MFLTLKTP/p1629207570249300 That link will require login and will also break someday. ┐_(ツ)_┌
Metadata
Metadata
Assignees
Labels
No labels