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

Named tmpfiles #180

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Named tmpfiles #180

merged 2 commits into from
Oct 29, 2024

Conversation

ezrizhu
Copy link
Collaborator

@ezrizhu ezrizhu commented Oct 29, 2024

closes #179

@ezrizhu ezrizhu requested a review from mgree October 29, 2024 06:06
Copy link
Contributor

@mgree mgree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm slightly tempted to make a helper function like:

trytemp() {
  mktemp "$@" --suffix ".try-$EXECID"
}

and then use that throughout. I also wonder about using the sandbox directory to hold all of our temporaries, which we could then give clear names to. Not worth the trouble right now, though.

@ezrizhu ezrizhu self-assigned this Oct 29, 2024
@ezrizhu ezrizhu merged commit 872845f into main Oct 29, 2024
21 checks passed
@ezrizhu ezrizhu deleted the named-tmpfiles branch October 29, 2024 18:16
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

Successfully merging this pull request may close these issues.

Name try's tmp dirs
2 participants