-
Notifications
You must be signed in to change notification settings - Fork 100
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
Migrate ipfs/go-unixfsnode #26
Comments
Is unixfsnode used in kubo? I don't think we ever fully migrated kubo from go-unixfs to go-unixfsnode. |
@willscott yes, it is used in Kubo (https://github.com/ipfs/kubo/pull/9537/files). And yes, Kubo also uses go-unixfs. Also, the documentation can be found at https://github.com/ipfs/go-libipfs/tree/main/unixfs/node, as we're migrating the READMes too. The goal, right now, is to move everything to this repository, and only later start refactoring: https://github.com/ipfs/go-libipfs#readme |
I guess the thing of note is that the
|
cc @hannahhoward - what are your thoughts on if my concern above is valid? |
I think this is a pretty critical dependency for Kubo, no? https://github.com/ipfs/kubo/blob/5d864faac71b877ae30bd7b2f01c9dfaba68d8eb/core/node/core.go#L102
Not necessarily, we can setup codeowners here. But shouldn't we be coordinating anyway since Kubo is a critical consumer? This may result in a better state long-term, since changes will run the entire test suite against most Kubo code, instead of none like the current setup. Then ensuring the changes work with Kubo should be largely self-service. Is there a way we could try this out, but make it easy to undo if we don't like it? Other reasonable options are to move this into the IPLD org, or kick the can and come back to it later. I don't have enough information to feel strongly about any of these options. |
The meta point in ipfs/kubo#8543 (comment) is that just looking at dependencies in the org isn't going to be a clean boundary, because repo org membership has not always been clean. I think my comment here is that there needs to be a pass for 'disruptiveness to external teams/projects' pass against the generated list of repos. In particular, |
If there is an adversarial relationship here then we should fork this and keep our own codebases. I don't think we want that, so I wouldn't characterize it as "hindering". The other way around would work too (e.g. move this into filecoin org), the idea isn't to prefer one over the other, it's to test more and reduce the risk of changes breaking either party, and to keep versions in sync. There are other problems with moving this into filecoin org which is why I don't suggest that (e.g. we broadly view Filecoin as an IPFS impl, so we prefer deps from IPFS->Filecoin and not Filecoin->IPFS). Given the contention though I'm inclined to kick the can here, and revisit this after we have some more experience consolidating other repos and can have a more informed opinion. Agree with not including go-cid or any multiformats stuff. I'll take a pass through that list and clarify what we definitely want in here, what is unclear (like this repo), and what we definitely don't want in libipfs. |
Tracking of migration of https://github.com/ipfs/go-unixfsnode.
Merge Migrate go-unixfsnode #25reverted Migrate go-unixfsnode #25 in chore: release 0.2.0 #32issues
andclean-pull-requests
commands (https://github.com/guseggert/repo-migration-tools) in https://github.com/ipfs/go-unixfsnodeThe text was updated successfully, but these errors were encountered: