-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Use gx for iptb #2545
Use gx for iptb #2545
Conversation
I followed the instructions on the gx README (https://github.com/whyrusleeping/gx/blob/master/README.md) and it works on my machine, but it looks like it fails elsewhere because it cannot find the package QmccSTNEUYSJsDSHZj3uKS3pPYCRXCNxr4X8Ub1TQyKPsZ:
|
I can see something on my machine:
and on the public gateway too: https://gateway.ipfs.io/ipfs/QmccSTNEUYSJsDSHZj3uKS3pPYCRXCNxr4X8Ub1TQyKPsZ |
81a561e
to
fe9035f
Compare
There are still some problems with getting the package. |
@chriscool it looks like the gx package can be fetched properly, now the makefile in test/sharness is having trouble finding where the code is to build it. |
@whyrusleeping maybe that's true for the CircleCi build, but for the Travis builds, one of them worked and in another one the error is:
|
Also yeah it looks like when sharness tests are run alone on a CI machine, we will need to run gx install. |
So I added a commit that uses the root Makefile to check that everything is ok and maybe install missing packages using gx if not. |
On the CircleCi failure we have:
so it looks like gx installs iptb correctly. But then we have:
so we cannot find iptb. Where was it installed in the first place? |
now that we are using gx, the import path of iptb is no longer |
@whyrusleeping is there a command (maybe |
@chriscool i think the best way to do that right now is to do something like I need to add something to |
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Now that iptb has been added as a gx dependency, we can replace existing dependencies with the one from gx. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
We need to make sure that go, gx, gx-go are properly installed. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
7cf9153
to
13354f3
Compare
I haven't yet started to use |
@whyrusleeping in e79e1d3, you changed the following line in test/Makfile:
but it looks like go-multihash is not in package.json. Did you forgot to add it there or is it normal? |
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
bda80be
to
5b17654
Compare
Ok, the last 2 commits should hopefully fix the 2 problems I talk about above, that are the multihash not in package.json and using |
There is now this CircleCI error:
|
TravisCI errors are still "No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself." |
Teamcity error is:
It looks like a timeout. |
@lgierth could you take a look at the timeouts? |
@chriscool the timeouts again just look like you created a new package and it took a while for the gateways to get it. Restarting the tests seems to be working as expected |
@chriscool try using |
@whyrusleeping thanks I will take a look soon. |
@chriscool if you push this as a branch in this repo I could hack on it a bit too |
@whyrusleeping I get the following error on my machine when using
|
@whyrusleeping Sorry about using a branch in my repo for this. I pushed the branch into this repo: https://github.com/ipfs/go-ipfs/commits/use-gx-for-iptb but I don't think it's possible to replace the branch in my repo with the branch in this repo in the PR. |
Do you want me to open another PR instead? |
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
@chriscool thats okay, I think i've got it now: 1770badbb31e Pull that commit over and give it a shot. |
(or just copy the hash over, i realize pulling that commit it might be more effort than just changing one line) |
Ok I pulled from the chriscool-use-gx-for-iptb branch and got your commit. It works here indeed, thanks! |
The TravisCI build is still full of "No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself." errors. |
the gateways keep running into a yamux bug... i'm working on fixing it now but it makes some of them unresponsive until we reboot them. |
CircleCI has this interesting error:
|
thats: #2620 And the the |
Ok thanks. By the way Teamcity has this error:
|
Now there is only one TravisCI build failing, great! The failure is the usual "No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself." |
This is to fix issue #2525 by using gx to manage the iptb dependency.