Re-estructure to enable packaging of the tool + convetional test structure#126
Draft
gastmaier wants to merge 2 commits into
Draft
Re-estructure to enable packaging of the tool + convetional test structure#126gastmaier wants to merge 2 commits into
gastmaier wants to merge 2 commits into
Conversation
As is, the scripts are invoked by path, being brittle for CI/CD usage and inconvenient for local usage. Add a basic pyproject.toml to enable pip install git+https://github.com/TNG/KernelSbom And future pypi deployment. The invocation changes to SRCARCH=... kernel-sbom ... Signed-off-by: Jorge Marques <jorge.marques@analog.com>
Considering the tool is now packaged as 'kernel-sbom', also restructure the tests for a pythonic tests/ folder structure. Signed-off-by: Jorge Marques <jorge.marques@analog.com>
Contributor
|
Thanks for your ideas. Our main goal is to contribute this project to the mainline Linux kernel repository. For that, we need to be able to map the sbom directory directly into Can you update the PR to not conflict with these requirements ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As is, the scripts are invoked by path, being brittle for CI/CD usage
and inconvenient for local usage. Add a basic pyproject.toml to enable
pip install git+https://github.com/TNG/KernelSbom
And future pypi deployment. The invocation changes to
SRCARCH=... kernel-sbom ...
a wrapper like
is not tried because requires kernel_sbom installed as a package, so still breaks the CI/CD of any users of the package anyway.
Also restructure the tests for a pythonic tests/ folder structure.