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

Fix check command clean option #1425

Merged
merged 1 commit into from
Mar 8, 2018
Merged

Conversation

csordasmarton
Copy link
Contributor

Closes #1421

If the clean option is specified for the CodeChecker check command clear the output directory.

@csordasmarton csordasmarton added CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands bugfix 🔨 labels Mar 5, 2018
@csordasmarton csordasmarton requested review from dkrupp and gyorb March 5, 2018 09:40
@@ -490,7 +490,7 @@ def __update_if_key_exists(source, target, key):
import traceback
traceback.print_exc()
finally:
if is_temp_output:
if is_temp_output or 'clean' in args:
Copy link
Contributor

Choose a reason for hiding this comment

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

How is this change in harmony with line 464:

if 'force' in args:
             setattr(analyze_args, 'clean', True)

Is there something else that needs to be cleaned and analyze does not clean by itself?

Copy link
Contributor

@gyorb gyorb Mar 5, 2018

Choose a reason for hiding this comment

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

Yes the cleanup should be set there in line 464.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

If the `clean` option is specified for the `CodeChecker check`
command clear the output directory.
@gyorb gyorb merged commit 9bfb1c0 into Ericsson:master Mar 8, 2018
@csordasmarton csordasmarton deleted the fix-check-clean branch March 8, 2018 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix 🔨 CLI 💻 Related to the command-line interface, such as the cmd, store, etc. commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants