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

Follow conventions to save cached versions appropriate location #1802

Closed
Siilwyn opened this issue May 30, 2017 · 2 comments
Closed

Follow conventions to save cached versions appropriate location #1802

Siilwyn opened this issue May 30, 2017 · 2 comments

Comments

@Siilwyn
Copy link

Siilwyn commented May 30, 2017

No idea why you would cache versions 'globally' like this in the first place but...
Instead of placing the cached files in the home directory it should be placed in the appropriate directory per OS.

What is the current behavior?

Saving everything in ~/.gitbook.

What is the expected behavior?

Saving everything in the appropriate directory per OS, e.g. for Linux: ~/.cache/gitbook.

See same issues in other tools: greenkeeper, atom, js-v8flags, electron-download.

@Siilwyn Siilwyn changed the title Follow conventions to save cached versions appropiate location Follow conventions to save cached versions appropriate location May 30, 2017
@Siilwyn Siilwyn closed this as completed May 30, 2017
@AaronO
Copy link

AaronO commented May 30, 2017

@Siilwyn It's more of a "content directory" than a "cache directory".

@Siilwyn
Copy link
Author

Siilwyn commented May 30, 2017

It has different content per version?
Btw. I moved it to the CLI repository: GitbookIO/gitbook-cli#62

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

No branches or pull requests

2 participants