-
Notifications
You must be signed in to change notification settings - Fork 201
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
Create SUSE OVAL importer #1085
Conversation
d02f542
to
ddff4d0
Compare
44aeb6a
to
3786195
Compare
10bd0bd
to
b19bd74
Compare
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
b19bd74
to
a5877cc
Compare
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
@pombredanne @TG1999 The All 10 GH checks passed -- 1 test failed when I ran |
@pombredanne @TG1999 Following up on today's jit.si meeting, this PR has been open for a while and awaits your feedback. This PR is also related to open PR #1127, both of which involve the use of Black and the effect of running |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johnmhoran Thanks!
- We need to trim down the test file sizes. They are too big. We should avoid compressing too as binaries do not work too well with Git in general and a development workflow in particular.
- We run Black using a pinned version now, so the formatting issue should not exist anymore. See Run latest release of Black #1127 (comment)
You may want to merge the latest main in your branch too. |
Thanks. This has also been awaiting a reply since February -- will attend to when time permits. |
@johnmhoran please rebase your PR |
@pombredanne I just updated |
Reference: #1079 Signed-off-by: John M. Horan johnmhoran@gmail.com
Reference: #1079 Signed-off-by: John M. Horan johnmhoran@gmail.com
@TG1999 Thank you for making the change to black in |
@TG1999 In
I haven't worked on this code since January or so, so it may take a while to refresh my recollection on how this all worked.... |
@TG1999 I see that the test that failed is a test @ziadhany wrote 14 months ago in
|
@TG1999 Is it possible that the change @pombredanne asked me to make is not a change we actually want? Or perhaps I misinterpreted his suggestion? The change is inside
In any event, I'm unable so far to figure out what this means, how my change led to the failure, or how to fix:
|
@pombredanne @TG1999 Been digging into the wonderful world of OVAL a bit, refreshing my recollection etc. I'm wondering if the If so, perhaps the error message is simply informing us that one cannot carry out a FWIW, the failing test
|
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
@pombredanne @TG1999 TL;DR imho the failing test can and should be resolved by reversing the change I made yesterday from |
I've just committed and pushed and you can see the failing test error here, for example: https://github.com/nexB/vulnerablecode/actions/runs/7199601614/job/19611624377?pr=1085 |
Looks like there's also one commit with a missing signoff: Commit sha: 52e2ec1, Author: Tushar Goel, Committer: GitHub; The sign-off is missing. |
@johnmhoran we have to add comparators to the class to allow sorting of OVAL tests |
@TG1999 Thanks for your comment -- let's discuss this via a huddle. I've reviewed a number of related files but it is not clear how the concept of versions is involved in these The Oval ecosystem bears no recognizable similarity to the
There is no mention of If I look at the test that failed when I changed the return in the
There are three Oval-related test When time permits, let's discuss how the version-related bits of the |
@TG1999 I've modified the In addition to any other comments you or @pombredanne might have, the only remaining item is that one of your commits is missing your signoff -- https://github.com/nexB/vulnerablecode/pull/1085/checks?check_run_id=19931480766. I'll leave that for you to fix. |
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
@TG1999 I saw that you did some more merges into However, after committing but before pushing, I ran
|
@TG1999 I am going to try to push my merge commit so you can see the current merged code. At this point I have no idea what the underlying cause is. |
Just 1 test failure on the GH side: |
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
@TG1999 I fixed 1 test locally (add the
I've committed and pushed, and all GH checks passed except for an earlier commit of yours which is missing the signoff. https://github.com/nexB/vulnerablecode/pull/1085/checks?check_run_id=19969783903 |
Reference: #1079 Signed-off-by: John M. Horan <johnmhoran@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's merge this!
Implements #1079