-
Notifications
You must be signed in to change notification settings - Fork 3
Uncertain how to effectively use gx-workspace for go-ipfs #20
Comments
Ah! I found part of the problem, but I dont understand why it's occurring. For some reason gx-workspace replaced (for example) ipfs/go-ipfs/blob/master/cmd/ipfs/main.go#L33. It started as: Running the following command fixed it and allowed
|
Hey @rob-deutsch, so, first things first, if you're willing to write documentation about anything related to Gx I can definitely commit to helping you through any problem you may have :) (Btw, PEBCAC 😄, didn't knew this one)
It sound to me that
Yes, this is never easy to know in advance, we're working on a new iteration of Gx that will simplify that task, quoting another developer:
So, So my recommendation is, before worrying about how to publish you're modifications, while you're developing and experimenting with (what I'm assuming you meant to write) |
Aaaand I just realized there is no So, you would do something like (untested):
Also you can check the doc in a PR that modifies the Ping me if you have any problems. |
Thanks for the responses! I've sectioned my reply below to make it a bit easier to parse My issue,
|
So, that file already exists, although more in spirit than in actual text, so any contributions you could make to it would be extremely valuable, especially coming from the perspective of a new developer. When I first read your issue I though "how could he possible have started with
It would seem so but no: ipfs/kubo#4831, but we're getting there! (ipfs/kubo#5435) |
I'm going to close this issue now but feel free to raise new issues in https://github.com/whyrusleeping/gx-go if you have trouble with the |
This could be simple, but I'm having problems using
gx-workspace
withgo-ipfs
.It's probably PEBCAC, but if I can get my head around it I'll happily write some documentation.
What I'm Trying To Do
I've made some changes to
ipfs/go-ipld-format
, and I want to incorporate these into a newipfs/go-ipfs
binary for testing.The changes to
ipfs/go-ipld-format
are going to impact a few other packages in a small way, but I'm not sure how yet.How I'm doing this
These are the steps I'm using:
ipfs/go-ipld-format
and rungx-workspace release
ipfs/go-ipfs
and rungx-workspace update start ipfs-ipld-format
gx-workspace update next
until it errors for a certain package.ipfs/go-ipfs
and continue runninggx-workspace update next
The problem
Firstly, I have verified that PRIOR to running gx-workspace I am able to build and install
ipfs/go-ipfs
.However, after doing the gx-workspace procedure I described above I have two problems:
After fixing the certain package, and going back to
ipfs/go-ipfs
to rungx-workspace update next
I can't help but notice that gx-workspace claims that the fixed package doesn't need to be updated. Is this maybe because it had previously updated package.json?When I try to
make install
ormake build
my newipfs/go-ipfs
package I get a huge amount of errors about missing packages. Things like, for examplegithub.com/Kubuxu/go-os-helper
The text was updated successfully, but these errors were encountered: