spdx: use go.mod module path for root package name#623
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jeefy The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Signed-off-by: Jeffrey Sica <me@jeefy.dev>
e031c30 to
fd4977c
Compare
|
@jeefy: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@jeefy can you rebase this? The failing test was fixed a while ago |
Summary
PackageFromDirectorynow looks for ago.modfile and uses the module path as the root package name instead of the directory basename.tmp.b46BF6mTG5that cascade through all SPDX IDs, file references, and relationships.go.modlookup path.Fixes #622