Issues.00579 - lordmundi/wikidoctest GitHub Wiki
00579: user cache filename should be version specific
Summary: user cache filename should be version specific
Created: 2016–08–11 16:37
Status: Released
Category: Request
From: frankie
Version: 2.3
Released_In: 2.4
Description:
Since the dropped cache files are specific to the base cache (and hence, the version of EDGE), the update cache file should default to having the version in its name. That way if a user switches between versions of EDGE they don't get corrupted visuals due to a mismatched cache version.
Of course, the user could still override it to be whatever they want, but the default would be nice to be version specific.
Comments
frankie November 02, 2016, at 04:59 PM: This is done although it is worth noting that it didn't change the default filename, but I changed it in the delivered "userdata" directory which is meant to be a template directory for projects. I always recommend that folks do a "cp -a userdata userdata.my_project" when starting a new project and leave the delivered userdata directory as delivered. So, existing userdata directories will be unaffected by this change. But new projects that use the new template directory will get the fix.
If you want to fix it in your existing userdata, edit your user.cfg file and change the line that sets the DOUG_UPDATE_CACHE to include the EDGE version in it, such as:
DOUG_UPDATE_CACHE "${USERDATA}/cache/user_cache_${VERSION}.update"
Associated Commits
| commit | d86b8f4785b0f70d8cc2ac8aa3907c5c36b3e9bc
link5 |
||
| Author: | Frank Graffagnino
|
| Date: | Wed Nov 2 16:54:53 2016 -0500
|
| Message: | [@Issue 00579: update cache updated to have version in it
This is just in the template userdata/user.cfg file. Existing userdata directories will be unaffected. @] |
Affected Files:
userdata/user.cfg | 2 ±
1 file changed, 1 insertion(+), 1 deletion(-)