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

Add a parameter to not clean temporary directory #258

Open
dploeger opened this issue Jan 7, 2022 · 1 comment
Open

Add a parameter to not clean temporary directory #258

dploeger opened this issue Jan 7, 2022 · 1 comment

Comments

@dploeger
Copy link

dploeger commented Jan 7, 2022

When a run of octocatalog-diff fails, it would be great if it wouldn't clean the temporary directory so that additional debugging can take place.

As a workaround, I currently comment out

at_exit { remove_temp_dir(the_dir) }
currently, but a parameter like "--keep-temporary-on-fail" would help here.

@claviola
Copy link

You can do this by setting OCTOCATALOG_DIFF_TEMPDIR. See "advanced environment variables" in doc/advanced-environment-variables.md.

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

2 participants