-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create CACHEDIR.TAG
file in pixi directories
#1904
Comments
Pixi already (indirectly) depends on cachedir: Line 684 in 6c1926b
So I wasn't quite sure if that is Intentional. It increased my backup size by a few hundred MBs of mostly useless files though, so I would be in favor of marking it as cache. My backup tooling understands the cachedir spec. |
Sounds like a good idea! Should we add it to the .pixi directory or just the env subdirectory? |
Maybe in line with Although some people might want to persist |
i am one of those use the imo. only the |
|
The @vigneshmanick, what do you put in the config.toml that you add to multiple projects? |
nothing specific to multiple projects, mostly it's these following
|
Should we then maybe break currents standards by moving the config.toml to a seperate config folder, and exclude that folder? |
Problem description
IMO all
.pixi
directories should be considered ephemeral (and rattler's cache directories as well) and it doesn't make sense to back them up. For this, some programs (like ruff, pytest, ...) create aCACHEDIR.TAG
file as described in https://bford.info/cachedir/.How about pixi also creates such a file in
.pixi/envs
?The text was updated successfully, but these errors were encountered: