-
Notifications
You must be signed in to change notification settings - Fork 44
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
chore: Remove ipfslite
dependency
#739
chore: Remove ipfslite
dependency
#739
Conversation
07df391
to
088ae96
Compare
Codecov Report
@@ Coverage Diff @@
## develop #739 +/- ##
===========================================
+ Coverage 59.78% 59.84% +0.05%
===========================================
Files 156 156
Lines 17358 17415 +57
===========================================
+ Hits 10378 10422 +44
- Misses 6044 6056 +12
- Partials 936 937 +1
|
One thing in favor of this PR is that is allows to stop maintaining the custom fork https://github.com/sourcenetwork/ipfs-lite |
6c29ae8
to
b5f3675
Compare
ipfslite
dependencyipfslite
dependency
suggestion: when this merges, also archive the https://github.com/sourcenetwork/ipfs-lite repository |
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.
Looks good to me :) Couple of minor non-blocking suggestions and am looking forward to this going in
48f1745
to
d30fa2d
Compare
Relevant issue(s) Resolves sourcenetwork#738 Description This PR removes our direct dependency on ipfslite. It is still an indirect dependency simply because it's used by an other package we import. Not from a function that we use but from a test of that package. Note that some commented code will need to be uncommented once sourcenetwork#683 is resolved. Although a ds.Batching implementing datastore needs to be used for the DHT within the net package, as long as badgerds.Datastore keeps the Batch method, the should have no problem.
Relevant issue(s)
Resolves #738
Description
This PR removes our direct dependency on
ipfslite
. It is still an indirect dependency simply because it's used by an other package we import. Not from a function that we use but from a test of that package.Note that some commented code will need to be uncommented once #683 is resolved. Although a
ds.Batching
implementing datastore needs to be used for the DHT within thenet
package, as long asbadgerds.Datastore
keeps theBatch
method, the should have no problem.Tasks
How has this been tested?
unit tests
Specify the platform(s) on which this was tested: