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

Don't create temporary files #741

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

314eter
Copy link

@314eter 314eter commented Jan 5, 2021

Since #694 the less compiler runs in the source directory, and creates a temporary file to save stdout. In our setup, the source directory is not writable, so this doesn't work.

I updated the SubProcessCompiler to avoid creating temporary files.

@314eter 314eter force-pushed the compiler-pipe-stdout branch from 4785aa3 to d9ea2f5 Compare January 5, 2021 18:10
@314eter 314eter force-pushed the compiler-pipe-stdout branch from d9ea2f5 to 848a80c Compare January 5, 2021 18:16
@codecov
Copy link

codecov bot commented Jan 5, 2021

Codecov Report

Merging #741 (848a80c) into master (7eea60d) will decrease coverage by 0.07%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #741      +/-   ##
==========================================
- Coverage   81.41%   81.33%   -0.08%     
==========================================
  Files          33       33              
  Lines        1119     1109      -10     
==========================================
- Hits          911      902       -9     
+ Misses        208      207       -1     
Impacted Files Coverage Δ
pipeline/compilers/__init__.py 84.70% <80.00%> (-0.56%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7eea60d...848a80c. Read the comment docs.

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.

1 participant