Skip to content

feat: support environment override of cache location #177

Description

@ciaranj

Hey. Not an issue persay, but on my environment (Windows) I've a relatively slow main disk where my user folder sits and I prefer to keep my caches on a faster (larger) separate disk. To that end I'd like to suggest the introduction of a new environment variable: SEMBLE_CACHE_HOME that if specified would be used as the base directory for the semble cache, e.g. if SEMBLE_CACHE_HOME = d:\my_caches then the semble cache would be d:\my_caches\semble

I'm happy to provide a PR of this, on the surface of it, it seems a minor change to resolve_cache_folder to allow this variable to take explicit precedence if, and only if, it's provided in the environment ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions