Skip to content
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

Integrate Saturn L2 v0.0.8 and configure ROOT_DIR #56

Closed
juliangruber opened this issue Jul 21, 2022 · 4 comments · Fixed by #65
Closed

Integrate Saturn L2 v0.0.8 and configure ROOT_DIR #56

juliangruber opened this issue Jul 21, 2022 · 4 comments · Fixed by #65
Assignees

Comments

@juliangruber
Copy link
Member

Once a new release is cut https://github.com/filecoin-project/saturn-l2

@bajtos bajtos changed the title Integrate Saturn L2 V0 Integrate Saturn L2 v0.0.7 Jul 27, 2022
@bajtos
Copy link
Member

bajtos commented Jul 27, 2022

As part of this work, I'd like us to configure the new ROOT_DIR env var accepted by Saturn L2. This variable controls the location where the L2 node keeps the cache.

We must choose the right location for this cache:

  • %LOCALAPPDATA% on Windows
  • XDG_CACHE_HOME on Linux
  • ~/Library/Caches/ on macOS

See ipfs/ipfs-desktop#1656, electron/electron#8124, electron/electron#1404

@bajtos
Copy link
Member

bajtos commented Jul 27, 2022

In particular, we cannot use Electron's APIs for choosing the cache dir location.

@bajtos bajtos changed the title Integrate Saturn L2 v0.0.7 Integrate Saturn L2 v0.0.7 and configure ROOT_DIR Jul 27, 2022
@bajtos bajtos self-assigned this Jul 27, 2022
@bajtos
Copy link
Member

bajtos commented Jul 27, 2022

@bajtos bajtos assigned bajtos and unassigned bajtos Jul 27, 2022
@bajtos
Copy link
Member

bajtos commented Aug 1, 2022

In particular, we cannot use Electron's APIs for choosing the cache dir location.

FWIW, here is an Electron PR trying to simplify access to the platform-specific cache/local-app-data directory: electron/electron#34337

@bajtos bajtos changed the title Integrate Saturn L2 v0.0.7 and configure ROOT_DIR Integrate Saturn L2 v0.0.8 and configure ROOT_DIR Aug 1, 2022
@bajtos bajtos closed this as completed in #65 Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants