Skip to content
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

Gx updates and fixes to use new cid.Builder interface. #5375

Merged
merged 2 commits into from
Aug 13, 2018

Conversation

kevina
Copy link
Contributor

@kevina kevina commented Aug 12, 2018

License: MIT
Signed-off-by: Kevin Atkinson k@kevina.org

@kevina kevina requested a review from Kubuxu as a code owner August 12, 2018 23:02
@ghost ghost assigned kevina Aug 12, 2018
@ghost ghost added the status/in-progress In progress label Aug 12, 2018
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
@kevina kevina force-pushed the kevina/cid-builder branch from 7d8ee05 to 075ecb0 Compare August 12, 2018 23:15
@kevina kevina added RFM and removed status/in-progress In progress labels Aug 13, 2018
@@ -89,7 +89,7 @@ type Adder struct {
mroot *mfs.Root
unlocker bstore.Unlocker
tempRoot *cid.Cid
Prefix *cid.Prefix
Prefix cid.Builder
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May want to call this CidBuilder.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. Fixed. I was doing this quick and planned to clean it up later.

mfs/ops.go Outdated
@@ -101,7 +101,7 @@ func PutNode(r *Root, path string, nd ipld.Node) error {
type MkdirOpts struct {
Mkparents bool
Flush bool
Prefix *cid.Prefix
Prefix cid.Builder
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same. Should probably rename this to CidBuilder.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
@ghost ghost added the status/in-progress In progress label Aug 13, 2018
@kevina
Copy link
Contributor Author

kevina commented Aug 13, 2018

Failed circleci test:

not ok 5 - ipfs pin ls --help succeeds when input remains open
#       
#         yes | go-timeout 1 ipfs pin ls --help
#       
...
# failed 1 among 9 test(s)
1..9
make: *** [test/sharness/t0500-issues-and-regressions-offline.sh] Error 1

Works for me locally.

@kevina kevina removed the status/in-progress In progress label Aug 13, 2018
@kevina
Copy link
Contributor Author

kevina commented Aug 13, 2018

This should hopefully be good to go now...

@vyzo vyzo mentioned this pull request Aug 13, 2018
3 tasks
@Stebalien
Copy link
Member

@schomatis has already signed off on the unixfs PR so I'll count that as the second sign off here (no additional design decisions).

@Stebalien Stebalien merged commit 95d53bf into master Aug 13, 2018
@Stebalien Stebalien deleted the kevina/cid-builder branch August 14, 2018 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants