Skip to content

refactor: run source code analysis by default #1107

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

Merged
merged 4 commits into from
Jun 19, 2025

Conversation

art1f1c3R
Copy link
Member

@art1f1c3R art1f1c3R commented Jun 18, 2025

Summary

This PR removes the requirement for source code analysis to have --analyze-source to be enabled, making it a feature enabled by default. The --force-analyze-source option still exists and functions as expected.

Description of changes

Modifications to the relevant files handling command line options have been made to remove --analyze-source as an option, and the detect_malicious_metadata_check.py has been rewritten to include the source code analysis feature by default. The test test_detect_malicious_metadata_check.py has been updated to reflect this.

Checklist

  • I have reviewed the contribution guide.
  • My PR title and commits follow the Conventional Commits convention.
  • My commits include the "Signed-off-by" line.
  • I have signed my commits following the instructions provided by GitHub. Note that we run GitHub's commit verification tool to check the commit signatures. A green verified label should appear next to all of your commits on GitHub.
  • I have updated the relevant documentation, if applicable.
  • I have tested my changes and verified they work as expected.

@art1f1c3R art1f1c3R self-assigned this Jun 18, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 18, 2025
@art1f1c3R art1f1c3R force-pushed the art1f1c3R/sourcecode_remove_optional branch from 6312b0c to 542449d Compare June 18, 2025 06:41
@art1f1c3R art1f1c3R merged commit 77eac50 into main Jun 19, 2025
10 checks passed
@art1f1c3R art1f1c3R deleted the art1f1c3R/sourcecode_remove_optional branch June 19, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants