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: sbomgen refactor #295

Merged
merged 13 commits into from
Aug 11, 2023
Merged

Conversation

ba11b0y
Copy link
Contributor

@ba11b0y ba11b0y commented Jul 28, 2023

puerco and others added 7 commits July 21, 2023 15:01
This commit adds the skeleton of a mockable runner package.

The package has a generator object that executes all the SBOM generation
logic. It relies on two underlying objects: the implementation and the
document format handler.

- The implementation handles all the generator main functions.
- All the format-specific code lies in the format handler which can be
swapped out for each format supported by the generator.

This is a skeleton only, the logic needs to be implemented still.

Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
Signed-off-by: Adolfo García Veytia (Puerco) <puerco@chainguard.dev>
Signed-off-by: Rahul Tiwari <jprrahultiwari@gmail.com>
Signed-off-by: Rahul Tiwari <jprrahultiwari@gmail.com>
@ba11b0y ba11b0y marked this pull request as ready for review August 5, 2023 14:29
Signed-off-by: Rahul Tiwari <jprrahultiwari@gmail.com>
Signed-off-by: Rahul Tiwari <jprrahultiwari@gmail.com>
- use error wrapping to bubble up errors
- cleanup sorting of modules since the packages are later sorted according to the package identifier
- some comments

Signed-off-by: Rahul Tiwari <jprrahultiwari@gmail.com>
Signed-off-by: Rahul Tiwari <jprrahultiwari@gmail.com>
Signed-off-by: Rahul Tiwari <jprrahultiwari@gmail.com>
Signed-off-by: Rahul Tiwari <jprrahultiwari@gmail.com>
@nishakm nishakm requested a review from puerco August 9, 2023 17:02
@nishakm
Copy link
Collaborator

nishakm commented Aug 9, 2023

@puerco this PR looks good to me. Can you review?

Copy link
Member

@puerco puerco left a comment

Choose a reason for hiding this comment

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

Thanks @ba11b0y !
/lgtm

@nishakm nishakm merged commit 935cdb9 into opensbom-generator:main Aug 11, 2023
1 check passed
@ba11b0y ba11b0y deleted the feat/sbomgen-refactor branch August 12, 2023 12:12
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

3 participants