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

Crc helpers #518

Merged
merged 10 commits into from
Aug 1, 2021
Merged

Crc helpers #518

merged 10 commits into from
Aug 1, 2021

Conversation

michaelcfanning
Copy link
Member

Add a CRC algorithm + tests and switch ADO to use it.

@eddynaka

@@ -1,6 +1,15 @@
# Remove the line below if you want to inherit .editorconfig settings from higher directories
root = true

# Ignore paths
[/sarif-pattern-matcher/Src/sarif-sdk/src/sarif/Autogenerated/**]
Copy link
Member Author

Choose a reason for hiding this comment

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

matcher

I'm having trouble making sure this folder isn't analyzed in the IDE. Do you know whether this should be working?

Copy link
Collaborator

Choose a reason for hiding this comment

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

what are you trying to trigger here?
for this to work we would need to change the sarif-sdk and place a file like this in the autogenerated folder.

Copy link
Member Author

Choose a reason for hiding this comment

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

The IDE is showing analysis errors for the Autogenerated folder. We can't fix errors in this code: it is auto-generated.

@@ -5,7 +5,7 @@
<Import Project="$(MSBuildThisFileDirectory)..\..\..\Targets\build.plugins.props" />

<PropertyGroup Label="AssemblyAttributes">
<TargetFrameworks>netstandard2.0;net472</TargetFrameworks>
<TargetFrameworks>netstandard2.1;net472</TargetFrameworks>
Copy link
Member Author

@michaelcfanning michaelcfanning Aug 1, 2021

Choose a reason for hiding this comment

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

1

Do you know why this plug is inconsistent with other MS compilation settings? #Closed

Copy link
Collaborator

Choose a reason for hiding this comment

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

we started with 2.0, but the other package got a higher dependency that required 2.1.

Copy link
Collaborator

Choose a reason for hiding this comment

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

In the security.tests test, can you change to netstandard2.1? (the strings in the unit tests)
that will probably fix the build issue

Copy link
Collaborator

Choose a reason for hiding this comment

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

fixed.

Copy link
Collaborator

@eddynaka eddynaka left a comment

Choose a reason for hiding this comment

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

:shipit:

@eddynaka eddynaka merged commit d7da9f5 into main Aug 1, 2021
@eddynaka eddynaka deleted the crc-helpers branch August 1, 2021 22:27
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.

None yet

2 participants