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

feat(parser): add conan parser #4569

Merged
merged 9 commits into from
Dec 18, 2024
Merged

Conversation

AryanBakliwal
Copy link
Contributor

fixes: #4265

Added Conan package parser for C/C++.

Signed-off-by: Aryan Bakliwal <aryanbakliwal12345@gmail.com>
@AryanBakliwal
Copy link
Contributor Author

Hey @mastersans, could you please take a look and let me know if any change is required. I did test it and it is working as expected with the test passing locally.

Copy link
Member

@mastersans mastersans left a comment

Choose a reason for hiding this comment

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

Hey Thanks for the PR, Looks good to me, I have minor nit pick, @terriko might have something more to say.

cve_bin_tool/parsers/ccpp.py Show resolved Hide resolved
doc/MANUAL.md Show resolved Hide resolved
test/language_data/conan.lock Outdated Show resolved Hide resolved
cve_bin_tool/parsers/ccpp.py Outdated Show resolved Hide resolved
Copy link
Contributor

@terriko terriko left a comment

Choose a reason for hiding this comment

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

Looks promising. I'd like you to address @mastersans 's suggestions, particularly providing a link for some info about the conan.lock file format. But I'll get the tests running for you now.

AryanBakliwal and others added 2 commits November 24, 2024 10:25
Signed-off-by: Aryan Bakliwal <aryanbakliwal12345@gmail.com>
@terriko
Copy link
Contributor

terriko commented Nov 26, 2024

I've kicked off the tests to run. I'm still seeing some weirdness about the longtests (which have to pass before I can merge anything due to our branch rules) so if those fail due to timeout we may have other problems to resolve before this can be merged.

AryanBakliwal and others added 4 commits November 29, 2024 00:52
Signed-off-by: Aryan Bakliwal <aryanbakliwal12345@gmail.com>
Signed-off-by: Aryan Bakliwal <aryanbakliwal12345@gmail.com>
@AryanBakliwal
Copy link
Contributor Author

@terriko I've added conan in allow.txt, the spell check should pass now

@terriko
Copy link
Contributor

terriko commented Dec 13, 2024

Kicking the tests off again. I'm still seeing failures in longtests that look like timeouts, though, so I don't know if those will pass right now.

@AryanBakliwal
Copy link
Contributor Author

@terriko which tests are failing?

@terriko
Copy link
Contributor

terriko commented Dec 16, 2024

Hm, it looks like the longtests ci job didn't actually run the conan test. I'm investigating.

@AryanBakliwal
Copy link
Contributor Author

@terriko please do let me know if there is anything left from my side

@terriko
Copy link
Contributor

terriko commented Dec 17, 2024

Just a note: the new test is failing for me locally, but I think it may be related to a cache issue, so I'm going to go update the cache and see where I'm at after that.

@terriko
Copy link
Contributor

terriko commented Dec 17, 2024

I'm going to rebase this so we can take advantage of the new github actions config files and hopefully see the new test run as expected.

@terriko terriko added awaiting maintainer Need a maintainer to respond / help out and removed awaiting CI labels Dec 17, 2024
Copy link
Contributor

@terriko terriko left a comment

Choose a reason for hiding this comment

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

Okay, looks like we're good to go and the test is both running and passing now. Thank you again for all your work on this!

@terriko terriko merged commit 37f514c into intel:main Dec 18, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting maintainer Need a maintainer to respond / help out
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: "language" parser for Conan [ C/C++ ]
3 participants