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

Use deterministic stage target #8

Open
HenrikBengtsson opened this issue Apr 14, 2022 · 1 comment
Open

Use deterministic stage target #8

HenrikBengtsson opened this issue Apr 14, 2022 · 1 comment
Milestone

Comments

@HenrikBengtsson
Copy link
Owner

When running interactively, one might wanna stage and unstage multiple times.

One could make the target folder deterministic so that it can be reused. Maybe something like:

  • TMPDIR/conda-stage/PPID/NAME

One could compare the timestamp of the .conda-stage file with the tarball to decide whether one needs to rebuild or not.

For this approach to work, we need and option not to wipe, e.g. --no-cleanup.

@HenrikBengtsson
Copy link
Owner Author

An advantage of a process-specific (PID/PPID) stage target is that one could set up TMPDIR cleanup process that aggressively cleans out left-over conda-staged temp folders.

@HenrikBengtsson HenrikBengtsson added this to the Next release milestone Jul 14, 2022
@HenrikBengtsson HenrikBengtsson modified the milestones: 0.7.0, Next release Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant