pkgx icon indicating copy to clipboard operation
pkgx copied to clipboard

S3 Fallback and Backup

Open Xercesblu3 opened this issue 2 years ago • 6 comments

Code useCache.ts, useOffLicense.ts, and prefab/install.ts to use IPFS with an S3 backup

  • change useOffLicense type Type = 's3' | 'ipfs', and add appropriate logic to the two functions
  • add a useRepository hook and change useCache.ts/install.ts to use its .download() function
  • use S3 as a fallback if .ipfs file is not found or if the path errors/404s

Xercesblu3 avatar Oct 19 '22 15:10 Xercesblu3

@jhheider please assist @kunalgoyal9 with this if he needs it

Xercesblu3 avatar Oct 25 '22 14:10 Xercesblu3

Setup AWS parts first per Max.

Xercesblu3 avatar Oct 25 '22 14:10 Xercesblu3

@Xercesblu3 AWS part is done.. https://github.com/teaxyz/cli/pull/94 This PR will close this issue

kunalgoyal9 avatar Oct 25 '22 17:10 kunalgoyal9

What's the status of this? I know a portion was done just want to be sure.

Xercesblu3 avatar Nov 08 '22 16:11 Xercesblu3

Its done... now need to make IPFS infra more robust

kunalgoyal9 avatar Nov 09 '22 05:11 kunalgoyal9

Safe to close then? I assume making IPFS more robust can go on a separate ticket?

Xercesblu3 avatar Nov 09 '22 16:11 Xercesblu3