octocatalog-diff icon indicating copy to clipboard operation
octocatalog-diff copied to clipboard

Add a parameter to not clean temporary directory

Open dploeger opened this issue 4 years ago • 1 comments

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 https://github.com/github/octocatalog-diff/blob/5071b97d89ab9ea04ff0e3603254f0265f4326a8/lib/octocatalog-diff/util/util.rb#L73 currently, but a parameter like "--keep-temporary-on-fail" would help here.

dploeger avatar Jan 07 '22 13:01 dploeger

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

claviola avatar Apr 20 '22 19:04 claviola