The cache directory is not configurable yet

Bug #632626 reported by Mathieu Comandon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lutris
Triaged
Low
Mathieu Comandon
PlayOnLinux
Fix Released
Wishlist
Unassigned

Bug Description

A cache (or temp) directory is sometimes necessary to install games (downloading files, copying archives for extraction, etc ...)
In my case, i don't have a lot of space in my $HOME directory, all my huge folders are in separate hard disks, I usually don't have
10 Gb to use for temporary files.

The ~/.config/lutris/cache directory should be configurable by the user.

And always, ALWAYS check that the user has enough space left before handling huge files.

Changed in lutris:
status: New → Confirmed
Revision history for this message
Aymeric (mulx) wrote :

This one can also happen with PlayOnLinux.

Implement a fix for now will be currently hard due to script used.

The temp directory used by PlayOnLinux is here : ~/.PlayOnLinux/tmp/

You can always make a symbolic link to a drive with more space, but this isn't what we have to implement in your code. Doing this one is only a workaround.

Changed in playonlinux:
status: New → Confirmed
Aymeric (mulx)
Changed in playonlinux:
importance: Undecided → Wishlist
Revision history for this message
Mathieu Comandon (strycore) wrote :

i'll be moving the cache folder in ~/.cache since it's where they are supposed to go. In the installer files there will be a directive to compare the space required to install the game with the space available, asking the user for another directory if there is not enough space.

please note that this is different than the disk space required for the actual game.

I'll guess that I'll add these following keys :

installer_required_disk_space
required_disk_space

Changed in lutris:
milestone: none → 0.2.8
milestone: 0.2.8 → 0.3.0
assignee: nobody → Mathieu Comandon (strycore)
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Aymeric (mulx) wrote :

Fixed in PlayonLinux on commit 1277ec3f71

Changed in playonlinux:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Aymeric (mulx)
Changed in playonlinux:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.