Opened 5 months ago
Last modified 3 weeks ago
#15145 reopened bug
[Installer] should ignore cache directory
Reported by: | diver | Owned by: | nobody |
---|---|---|---|
Priority: | critical | Milestone: | R1/beta2 |
Component: | Applications/Installer | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #15417, #15477 | |
Has a Patch: | no | Platform: | All |
Description (last modified by )
At least HaikuDepot stores a few thousands icons in cache directory. Cloning already installed haiku to another partition becomes really slow in this case.
https://xref.plausible.coop/source/xref/haiku/src/apps/installer/WorkerThread.cpp#95
Change History (10)
comment:1 by , 5 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 5 months ago
This fix actually caused problems. Since cache isn't copied anymore it is not present for case when you use Installer to copy existing installation to another partition.
Then all apps that need cache folder will fail. For example HaikuDepot will complain.
To workaround it one can do this:
unmount ~/config mkdir ~/config/cache
comment:3 by , 3 months ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:4 by , 3 months ago
Priority: | normal → blocker |
---|
comment:5 by , 2 months ago
Why do we want to ignore it in the first place? It's not /tmp, the cache is surely meant to be somewhat persistant. If an app is storing too much data there, we should rather fix that?
Please always include a description in tickets, that would help :)
comment:6 by , 2 months ago
Description: | modified (diff) |
---|
comment:7 by , 8 weeks ago
Blocking: | 15417 added |
---|
comment:8 by , 4 weeks ago
Blocking: | 15477 added |
---|
comment:9 by , 4 weeks ago
Change reverted in hrev53578, we need something that doesn't break the resulting install.
comment:10 by , 3 weeks ago
Priority: | blocker → critical |
---|
Removing blocker status since it was reverted. This one is still an issue but doesn't appear to be a R1 Beta2 blocker
Fixed in hrev53252.