-
Notifications
You must be signed in to change notification settings - Fork 95
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
feat(path)!: consolidated path libraries #334
Conversation
Codecov Report
@@ Coverage Diff @@
## main #334 +/- ##
==========================================
+ Coverage 65.69% 65.72% +0.03%
==========================================
Files 209 207 -2
Lines 25196 25131 -65
==========================================
- Hits 16552 16518 -34
+ Misses 7177 7151 -26
+ Partials 1467 1462 -5
|
317e218
to
c280652
Compare
@ipfs/kubo-maintainers I think this is something important to get out of the door for many reasons (see #198). I just rebased this work I did in June on top of the recent changes. I can only imagine this having large repercussions thorough our other packages, especially Kubo. Therefore, before continuing, I would like to ask for some feedback regarding the One of the biggest changes is the removal of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I shouldn't look at the implementation before the API so the code review is half done.
I don't understand what is the difference between ResolvedPath
and ImmutablePath
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for starting this 🙏. The current state of the path libraries is .... too much
c26b600
to
5d8605d
Compare
c912f0c
to
bea6cf9
Compare
@aschmahmann @lidel I want to ping you for a re-review. I've already addressed the feedback, tests are passing here and in Kubo. This PR is almost turning 4 months old and I really don't want that to happen. |
b388df9
to
546e33d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some feedback inline, mostly about making interface more clear, not tied to our namespaces (allowing people to use boxo with /foo
without having to fork) and avoiding cognitive noise caused by legacy decisions in Kubo.
To avoid making waves this difficult month, I think we should minimize risk and ship this in Kubo 0.24, and we should wait with merge until 0.23 ships.
It already has: https://github.com/ipfs/kubo/releases/tag/v0.23.0! |
I am going to go ahead and merge this. I think it has marinated for enough time and I've already addressed the feedbacks we had. Tests are passing here and in Kubo, and Kubo 0.23 has been released. So merging this at the beginning of the new release cycle (0.24) will allow us to test it until the final release of 0.24. |
This is the long-awaited consolidation of the multiple path libraries we've had, which closes #198. For more information, see the changelog in the PR.
Kubo PR: ipfs/kubo#10063.