Skip to content
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

RFE: Collection aware and project-local ephemeral directories #4284

Open
Qalthos opened this issue Sep 9, 2024 · 1 comment
Open

RFE: Collection aware and project-local ephemeral directories #4284

Qalthos opened this issue Sep 9, 2024 · 1 comment
Milestone

Comments

@Qalthos
Copy link
Collaborator

Qalthos commented Sep 9, 2024

Presently, the ephemeral directory lives in XDG_CACHE_HOME:

/home/bthornto/.cache/molecule
└── extensions
    ├── default
    │   └── inventory

Following #4000, we could use the collection name when constructing the ephemeral directory. Today, if using molecule in multiple collections the ephemeral directory is shared due to the introduction of the "extensions" directory.

Additionally, it could be useful for the ephemeral directory to be local to the project, say in a .cache folder in the project root. This would aid debugging and help in containerized scenarios.

@Qalthos Qalthos added this to the Post 6 milestone Sep 9, 2024
@kominoshja
Copy link

Could also be solved by #4266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants