Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

chore: update method signatures in line with ipfs/interface-ipfs-core#277 #786

Merged
merged 1 commit into from
Jun 13, 2018

Conversation

achingbrain
Copy link
Collaborator

See ipfs-inactive/interface-js-ipfs-core#277 for more information

@ghost ghost assigned achingbrain Jun 12, 2018
@ghost ghost added the in progress label Jun 12, 2018
Copy link
Contributor

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

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

SGTM

Left just a note for a small improvement.

src/files/mv.js Outdated
sources = args[0]
} else {
// support ipfs.file.mv(src, dest, opts, cb) and ipfs.file.cp(src1, src2, dest, opts, cb)
sources = args
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can have the above logic abstracted in a util function since the code is replicated in mv and cp. What do you think @achingbrain ?

@achingbrain
Copy link
Collaborator Author

@vasco-santos I've updated the PR and implemented your suggestion but I'm having problems getting Jenkins to pass. Lots of instability around the ping tests.

They seem to be failing for master on Jenkins too, any ideas?

@vasco-santos
Copy link
Contributor

vasco-santos commented Jun 13, 2018

Thanks @achingbrain !

I checked the CI log and it was a timeout in windows environment. So, I started the CI again to check if it gets green again.

As your changes are not related to the test failing, and master is red in the same tests, I think this PR is ok.

@achingbrain
Copy link
Collaborator Author

I checked the CI log and it was a timeout in windows environment. So, I started the CI again to check if it gets green again.

Ha, I've been restarting it all morning. We should probably quarantine flaky tests until we can make them stable.

@vasco-santos
Copy link
Contributor

Yeah, I agree that it is the best solution here @achingbrain !

@achingbrain
Copy link
Collaborator Author

Great, can this be merged & released?

@achingbrain
Copy link
Collaborator Author

...and could there please also be a corresponding release of ipfs/js-ipfsd-ctl with the new js-ipfs-api version?

Releasing v1 of this modules would make this all so much easier!

@vasco-santos
Copy link
Contributor

For me, it is good to go and be released.

I can handle the ipfsd-ctl part, but we need someone for releasing the API.

@achingbrain
Copy link
Collaborator Author

I think everyone's on holiday.. I'll merge this and hopefully someone can do the do when people are back.

@achingbrain achingbrain merged commit a54f0e3 into master Jun 13, 2018
@ghost ghost removed the in progress label Jun 13, 2018
@achingbrain achingbrain deleted the support-non-array-arguments branch June 13, 2018 13:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants