-
Notifications
You must be signed in to change notification settings - Fork 1
Cleanup and Documentation #112
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
Conversation
Signed-off-by: Luis Augenstein <luis.augenstein@tngtech.com>
3a16a1b to
1db99ff
Compare
gregkh
left a comment
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.
Please keep a copyright line, that's fine, it's just this format that is not very commonly used in the kernel at this point in time.
|
How should I do it then ? |
|
That matches what most people/companies do, so yes, that looks fine. |
59d8291 to
68e34d8
Compare
| def _build_file_element( | ||
| absolute_path: PathStr, name: str, spdx_id: SpdxId, file_location: KernelFileLocation | ||
| ) -> File: | ||
| def _build_file_element(absolute_path: PathStr, name: str, spdx_id: SpdxId, file_location: KernelFileLocation) -> File: |
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.
Not a copyright change :(
sbom/sbom/spdx_graph/kernel_file.py
Outdated
| kernel_file = KernelFile.create( | ||
| node.absolute_path, obj_tree, src_tree, spdx_id_generators, is_root | ||
| ) | ||
| kernel_file = KernelFile.create(node.absolute_path, obj_tree, src_tree, spdx_id_generators, is_root) |
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.
Not a copyright change :(
sbom/README
Outdated
|
|
||
| $ python3 tools/sbom/sbom.py --help | ||
|
|
||
|
|
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.
Not a copyright change :(
sbom/sbom/spdx_graph/kernel_file.py
Outdated
| file_location == KernelFileLocation.SOURCE_TREE | ||
| or file_location == KernelFileLocation.BOTH | ||
| ) | ||
| if (file_location == KernelFileLocation.SOURCE_TREE or file_location == KernelFileLocation.BOTH) |
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.
Not a copyright change.
| sbom_logging.warning( | ||
| "Could not infer primary purpose for {absolute_path}", absolute_path=absolute_path | ||
| ) | ||
| sbom_logging.warning("Could not infer primary purpose for {absolute_path}", absolute_path=absolute_path) |
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.
I can go on... :)
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.
Sorry for mixing up the changes.
Cleaned it up now.
…T license identifier Signed-off-by: Luis Augenstein <luis.augenstein@tngtech.com>
Signed-off-by: Luis Augenstein <luis.augenstein@tngtech.com>
Signed-off-by: Luis Augenstein <luis.augenstein@tngtech.com>
68e34d8 to
600e4db
Compare
Signed-off-by: Luis Augenstein <luis.augenstein@tngtech.com>
600e4db to
5cc5222
Compare
Uh oh!
There was an error while loading. Please reload this page.