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

Make consistent with go #25

Merged
merged 4 commits into from
Jun 8, 2018
Merged

Make consistent with go #25

merged 4 commits into from
Jun 8, 2018

Conversation

achingbrain
Copy link
Member

Go:

$ touch emptyfile
$ ipfs add emptyfile 
added QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH emptyfile
$ ipfs object data QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH | xxd
00000000: 0802 1800 

Without this PR:

$ jsipfs add emptyfile 
added QmfJMCvenrj4SKKRc48DYPxwVdS44qCUCqqtbqhJuSTWXP emptyfile
$ jsipfs object data QmfJMCvenrj4SKKRc48DYPxwVdS44qCUCqqtbqhJuSTWXP | xxd
00000000: 0802 1200                                ....

With this PR:

$ jsipfs add emptyfile 
added QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH emptyfile
$ jsipfs object data QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH | xxd
00000000: 0802 1800   

@achingbrain
Copy link
Member Author

ipfs-inactive/js-ipfs-unixfs-engine#213 should be merged along with this PR.

@whyrusleeping
Copy link
Member

yay... bug for bug compatibility

@achingbrain achingbrain requested a review from alanshaw June 4, 2018 09:52
@achingbrain
Copy link
Member Author

@diasdavid @alanshaw Any objections to merging this?

@daviddias
Copy link
Member

@achingbrain are there interop tests so that this doesn't bite us again?

@achingbrain
Copy link
Member Author

@diasdavid I'm adding a whole bunch to the ipfs/interop repo.

Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

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

LGTM

@achingbrain
Copy link
Member Author

These SIGSEGVs on the Jenkins Mac build slaves are getting ridiculous.

@achingbrain achingbrain merged commit 9a94216 into master Jun 8, 2018
@ghost ghost removed the status/in-progress In progress label Jun 8, 2018
@achingbrain achingbrain deleted the make-consistent-with-go branch June 8, 2018 13:45
achingbrain added a commit that referenced this pull request Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants