-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
IPLD Prime In IPFS: Target Merge Branch #7976
Changes from 74 commits
4599218
9749b93
af8b7eb
56cc464
1b45bab
4a6b02a
fb63267
2882df4
619b55c
127a354
91496b5
52094b1
e11af3a
f5bfb04
3f7626b
a56fbf3
e3211c0
5077fd3
63b6593
bae6c8a
8d0ee3b
579c768
fc26e27
7f716a1
98b792a
be297cc
ecfae2c
c326b8c
6ee21d2
aa5600b
71aa69c
02a492c
fac2bac
6fa35a7
bc309e1
9acfa84
dab4bf4
b22a327
8ad04a1
3b182aa
44a9b28
002d405
1285a17
fb5facd
da88c16
598388d
8d450f9
466201e
b070b91
119b9ab
1e80eec
eb87dfb
b55fa6f
b482272
b9eab58
d7f4913
1bdcf68
719a927
70eed4e
bbc722b
9a134b9
61368f5
b9c5a07
c052e72
95dd17d
c538512
7a70a13
a13eef2
f8baaea
caec7ac
08587dc
8cd4fa5
c2dee13
da36b01
fd6676f
7271db3
d6deb42
5801c34
1d9428f
7a975b0
a9cee8a
ff280f9
0c1b6d7
f910871
9339e82
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,10 +77,10 @@ into an object of the specified format. | |
cmds.FileArg("object data", true, true, "The object to put").EnableStdin(), | ||
}, | ||
Options: []cmds.Option{ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just putting it here for tracking, but given that this PR has a number of breaking changes associated with it I'd like this PR to come with a proposal for what's going to go in the release notes about at (i.e. it'll likely live in the Highlights section of the Changelog for v0.10.0). For the time being we can review this as a change to CHANGELOG.md that specifies Seem reasonable? Anyone have a better suggestion? |
||
cmds.StringOption("format", "f", "Format that the object will be added as.").WithDefault("cbor"), | ||
cmds.StringOption("input-enc", "Format that the input object will be.").WithDefault("json"), | ||
cmds.StringOption("format", "f", "Format that the object will be added as.").WithDefault("dag-cbor"), | ||
cmds.StringOption("input-enc", "Format that the input object will be.").WithDefault("dag-json"), | ||
cmds.BoolOption("pin", "Pin this object when adding."), | ||
cmds.StringOption("hash", "Hash function to use").WithDefault(""), | ||
cmds.StringOption("hash", "Hash function to use").WithDefault("sha2-256"), | ||
}, | ||
Run: dagPut, | ||
Type: OutputObject{}, | ||
|
@@ -108,6 +108,9 @@ format. | |
Arguments: []cmds.Argument{ | ||
cmds.StringArg("ref", true, false, "The object to get").EnableStdin(), | ||
}, | ||
Options: []cmds.Option{ | ||
cmds.StringOption("format", "f", "Format that the object will be serialized as.").WithDefault("dag-json"), | ||
}, | ||
Run: dagGet, | ||
} | ||
|
||
|
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.
what's up here?
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.
good point. this is reflecting the changed codec names for the
dag put
subcommand. Opened the change there as ipfs/go-ipfs-api#248There's no go.mod or versioning there, but we'll i guess merge that PR at the same time, and remove this branch before merging?