Skip to content

BUG: MigrateCacheFiles list is incomplete/static #564

@andrinoff

Description

@andrinoff

Describe the bug

The MigrateCacheFiles function in config/config.go has a hardcoded list of files to migrate. If new cache files are added to the project, they must be manually added to this list, or they will be left in the old location.

To reproduce

N/A (Logic observation)

Expected behavior

A more dynamic way to migrate cache files, or a centralized list that is easier to maintain.

Additional context

Current list: "email_cache.json", "contacts.json", "drafts.json", "folder_cache.json".

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/configConfiguration / settingsbugSomething isn't workingneeds-responseWaiting on issue author replystaleNo activity for extended period

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions