Skip to content

csgrep --set-scan-prop: override the specified scan property #85

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 5 commits into from
Sep 26, 2022

Conversation

kdudka
Copy link
Member

@kdudka kdudka commented Sep 23, 2022

Fixes: #82

@jamacku
Copy link
Member

jamacku commented Sep 23, 2022

Thank you so much for working on this. I'm going to test it in differential-shellcheck.

@kdudka kdudka marked this pull request as draft September 23, 2022 14:55
@kdudka kdudka marked this pull request as ready for review September 23, 2022 15:40
Copy link
Member

@lzaoral lzaoral left a comment

Choose a reason for hiding this comment

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

Minor C++11 suggestions inline.

kdudka added a commit to kdudka/csdiff that referenced this pull request Sep 26, 2022
@kdudka
Copy link
Member Author

kdudka commented Sep 26, 2022

@lzaoral Thanks for review! I have updated the pull request.

@kdudka kdudka requested a review from lzaoral September 26, 2022 08:57
Copy link
Member

@lzaoral lzaoral left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks! Let's wait for @jamacku's review before merging though.

Copy link
Member

@jamacku jamacku left a comment

Choose a reason for hiding this comment

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

If git-describe fails, an empty string is assigned to CS_VERSION, which
breaks the regression tests that expect csdiff version to be available.
Unfortunately, `git describe --tags` is not compatible with checkout@v3
GitHub Action.
... and fallback to csdiff as the tool only if the scan properties
are not available.
... in GenericAbstractFilter to avoid duplicated code in its derivates.

No changes in behavior intended by this change.
... to chain any decorators that take a single argument.  Rename
the other helper to chainDecoratorIntArg for consistency.

No changes in behavior intended by this change.
@kdudka
Copy link
Member Author

kdudka commented Sep 26, 2022

@jamacku Perfect, thank you for testing it!

@kdudka kdudka merged commit ceb9b62 into csutils:main Sep 26, 2022
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.

SARIF: Add option to generate tool property based on provided input
3 participants