stacks-network / gaia

A decentralized high-performance storage system
MIT License
763 stars 147 forks source link

Feature: add ipfs driver #440

Closed criadoperez closed 1 year ago

criadoperez commented 1 year ago

Currently the GAIA Storage System supports the following drivers:

Analogically to those, implement a driver for IPFS, so Users can store their data on IPFS using the GAIA Storage System.

Subtasks:

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 1 year ago

Codecov Report

Merging #440 (38314cd) into master (687cbe2) will decrease coverage by 9.94%. The diff coverage is 34.65%.

@@            Coverage Diff             @@
##           master     #440      +/-   ##
==========================================
- Coverage   82.75%   72.81%   -9.95%     
==========================================
  Files          22       27       +5     
  Lines        2093     2523     +430     
  Branches      375      455      +80     
==========================================
+ Hits         1732     1837     +105     
- Misses        357      679     +322     
- Partials        4        7       +3     
Impacted Files Coverage Δ
hub/src/server/drivers/IpfsDriver.ts 6.19% <6.19%> (ø)
admin/src/config.ts 21.87% <7.14%> (-9.71%) :arrow_down:
reader/src/drivers/IpfsDriver.ts 11.11% <11.11%> (ø)
reader/src/errors.ts 24.32% <24.32%> (ø)
reader/src/config.ts 56.52% <37.03%> (ø)
hub/test/src/testDrivers/integrationTestDrivers.ts 77.41% <48.14%> (+0.75%) :arrow_up:
hub/src/server/utils.ts 80.41% <75.00%> (-0.44%) :arrow_down:
hub/src/server/http.ts 81.75% <78.94%> (-0.13%) :arrow_down:
reader/src/drivers/diskDriver.ts 85.36% <85.36%> (ø)
hub/src/server/config.ts 93.19% <91.66%> (-1.58%) :arrow_down:
... and 8 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

bjorger commented 1 year ago

@wileyj Hey Jesse, this PR would be ready to merge from our side :)