Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

fix: Windows interop #104

Merged
merged 13 commits into from
Nov 6, 2017
Merged

fix: Windows interop #104

merged 13 commits into from
Nov 6, 2017

Conversation

richardschneider
Copy link
Contributor

@richardschneider richardschneider commented Nov 5, 2017

Get running on windows.

package.json Outdated
"test:browser": "aegir test --target browser",
"test": "aegir test --timeout 10000",
"test:node": "aegir test --target node --timeout 10000",
"test:browser": "aegir test --target browser --timeout 10000",
Copy link
Member

Choose a reason for hiding this comment

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

Please avoid using global timeouts. Try first here updating to latest Aegir and then seeing if you still need the timeouts.

@daviddias daviddias removed the request for review from nicola November 6, 2017 07:01
@richardschneider
Copy link
Contributor Author

@diasdavid build is failing with new latest aegir and no timeout specified. Shall I revert, or do u have another idea.

package.json Outdated
"ipfs-block": "~0.6.0",
"ipfs-block-service": "~0.12.0",
"ipfs-repo": "~0.17.0",
"ipfs-repo": "^0.18.0",
Copy link
Member

Choose a reason for hiding this comment

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

We avoid using ^ for deps that are < 1.0.0. Keep ~

package.json Outdated
@@ -46,10 +46,10 @@
"dependencies": {
"async": "^2.5.0",
"cids": "~0.5.2",
"interface-datastore": "^0.3.1",
"interface-datastore": "^0.4.1",
Copy link
Member

Choose a reason for hiding this comment

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

Seems we missed this one

Copy link
Contributor Author

Choose a reason for hiding this comment

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

and it should use ~

@daviddias
Copy link
Member

@richardschneider you can increase the timeout of that specific batch of tests. I just meant to avoid global timeouts, it is important that we know which tests are really slow.

src/index.js Outdated
@@ -215,9 +220,7 @@ class IPLDResolver {
if (!r) {
return callback(new Error('No resolver found for codec "' + options.format + '"'))
}
// TODO add support for different hash funcs in the utils of
// each format (just really needed for CBOR for now, really
// r.util.cid(node1, hashAlg, (err, cid) => {
Copy link
Member

Choose a reason for hiding this comment

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

Please bring back this TODO comment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@richardschneider
Copy link
Contributor Author

@diasdavid ready for review

@daviddias daviddias merged commit f2d524b into master Nov 6, 2017
@daviddias daviddias deleted the windows-interop branch November 6, 2017 22:02
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