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

Overridable cache storage; more XDG on Linux #1186

Closed
vi opened this issue Jan 31, 2015 · 5 comments
Closed

Overridable cache storage; more XDG on Linux #1186

vi opened this issue Jan 31, 2015 · 5 comments

Comments

@vi
Copy link
Contributor

vi commented Jan 31, 2015

Currently Tribler uses one big ~/.Tribler directory where both configs and gigant SQLite database is stored. Maybe a LevelDB with torrent files going to be there as well.

It is not optimal and versatile.

Tribler's directory should be split in two parts: cache (collected torrent files, big sqlite database) and config (settings and current downloads, subscribed channels, maybe some little user-specific database, etc.).

The cache directory should be overridable. It can span multiple gigabytes, so user may want to store it separately (like downloads).

On GNU/Linux default cache and settings directories may be ~/.cache/tribler and ~/.config/tribler, respecting XDG's environment variables.

@synctext
Copy link
Member

synctext commented Feb 2, 2015

Respecting the XDG environment variables would be a great thing to have. If somebody can work on this as a nice "Tribler introduction exercise" that would be really great. Love to accept a pull-request on this.

We're understaffed in Tribler. The main developers focus until the summer is getting anonymous downloading+seeding working smoothly plus fixing (severe) performance/usability bugs. So this can take a while..

@synctext synctext added this to the Backlog milestone Feb 2, 2015
@whirm
Copy link

whirm commented Feb 2, 2015

@vi the torrent store is already configurable trough libtribler.conf btw.

@vi
Copy link
Contributor Author

vi commented Feb 2, 2015

I think this setting should be in GUI.

And it should affect not only torrent storage, but also the big SQLite database.

@whirm
Copy link

whirm commented Feb 2, 2015

@vi I agree, but that would mean storing the private data (private keys, messages generated by you, etc...) in a separate DB, so that's not a trivial task.

You could create an issue for exposing some of this paths on the settings window tough. That's would be a task more likely to be picked up by a volunteer.

@synctext
Copy link
Member

Gigachannels now replace all LevelDB stuff with Magnet link only approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants