-
Notifications
You must be signed in to change notification settings - Fork 440
Add argument to set temporary directory during CodeChecker store #4668
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
base: master
Are you sure you want to change the base?
Conversation
Szelethus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is breaking.
a02c61d to
484affe
Compare
Szelethus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a nit.
5c31813 to
03030da
Compare
Szelethus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, forgot the click "submit review"
c595333 to
333c7da
Compare
Szelethus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reflecting on our conversation yesterday, I think the term "temp" is way too ambigous. How about we call the flag --zip_dir, the variable that handles it same etc?
In my opinion, it would be more fitting to name it |
1e05620 to
1659f9e
Compare

Why:
When working on Bezel, we encounter a situation where the result files are placed into a read-only folder. By default,
CodeChecker storecreates a temporary directory for zipping the results before sending them to the server. This directory cannot be created in a read-only folder, causing CodeChecker to crash.What:
This pull request adds an extra command-line argument,
--temp_dir, to theCodeChecker storecommand, which specifies where temporary files should be created. When this argument is not set, it continues to use the previous implementation.Fixes: #4601