← Back to team overview

kicad-developers team mailing list archive

Re: KICAD_CACHE_HOME environment variable

 

On 05/30/2018 05:28 PM, Nick Østergaard wrote:
> It looks like it works as intended, but I don't think the naming is that
> good. Maybe it might be better to call it KICAD_RUNTIME_DIR analogous to
> XDG terminology used elsewhere and nearby...
> 
> If it is called KICAD_CACHE_HOME one would think that this would control
> the location of the 3d cache too, which is really inside the config dir.
> 
> So if is renamed to KICAD_RUNTIME_DIR might be better. But it is a bit
> strange that XDG_CACHE_HOME is caught in the lockfile management too.

KICAD_CACHE_HOME seems consistent with XDG_CACHE_HOME for lock files.  I
don't have a strong preference but for users familiar with XDG
environment variables, it may be more consistent than user
KICAD_RUNTIME_DIR.

> 
> 2018-05-14 23:39 GMT+02:00 Mike Wodarczyk <wodarczykmike@xxxxxxxxx
> <mailto:wodarczykmike@xxxxxxxxx>>:
> 
>     On 08.05.2018 02:57, Mike Wodarczyk wrote:
> 
>         Attached is a patch to use a new KICAD_CACHE_HOME environment
>         variable to set a custom path for the lockfiles on all
>         platforms. It's tested under Windows and works as expected.
> 
>     Oops attached the wrong file. This is the compiling patch. Sorry for
>     the inconvience :-)
> 
> 
>     _______________________________________________
>     Mailing list: https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>     Unsubscribe : https://launchpad.net/~kicad-developers
>     <https://launchpad.net/~kicad-developers>
>     More help   : https://help.launchpad.net/ListHelp
>     <https://help.launchpad.net/ListHelp>
> 
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


References