-
Notifications
You must be signed in to change notification settings - Fork 53
go-merkledag
dependency version discrepancy with go-ipfs
#4
Comments
/cc @whyrusleeping |
@schomatis Yeah... this is a problem we want to solve with gx. Ideally |
gx-go link should probably:
However, modifying a shared dep in that way feels like a bad idea... Is there any way to use the However, it may be better to finish the next iteration of gx first and then revisit this issue. |
@Stebalien Could you elaborate a bit more on this idea please? Even if you consider it sub-optimal it could help me as a temporary solution, this is starting to look like a blocking issue to me when developing across different repos. |
@schomatis in the short term, you can do the gx-go link, and then in the linked package 'downgrade' the changed dep with Mid-term, we should figure out what is preventing go-ipfs from building with unwritten deps, I know there were a couple issues last time I tried. |
@schomatis the original issue " |
@schomatis this is already fixed, both |
Hey @kevina, thanks for the ping, forgot to close this issue, this has already been fixed in ipfs/kubo#5336. (The larger issue of how are shared dependencies that cross API boundaries managed remains unsolved, but I should discuss that elsewhere.) |
From some recent experiences, sometimes it's not obvious what dependency should be updated and where (without breaking other dependencies). I think that some of the |
The
go-merkledag
gx-version used here,go-unixfs/package.json
Lines 34 to 37 in f425628
differs from the one in
go-ipfs
, which is causing build problems when usinggx-go link
to work on this repo through thego-ipfs
one.This also raises the more general question: every time a package dependency shared between the two repos is updated, should it be
immediatelyupdated in the other one to avoid breaking the build?(edit: well, not immediately, but I mean, is there an alternative to doing a local
gx update
just sogx link
can work? given that this extracted repo is meant to be used primarily withgo-ipfs
, thegx link
scenario seems pretty common.)The text was updated successfully, but these errors were encountered: