We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
VcsInfo
1 parent b75f06b commit a23ccdcCopy full SHA for a23ccdc
1 file changed
plugins/package-managers/spdx/src/main/kotlin/Spdx.kt
@@ -138,6 +138,9 @@ class Spdx(override val descriptor: PluginDescriptor = SpdxFactory.descriptor) :
138
definitionFilePath = VersionControlSystem.getPathInfo(definitionFile).path,
139
authors = emptySet(),
140
declaredLicenses = emptySet(),
141
+ // Do not derive the (processed) VCS information from the working directory as done for several other
142
+ // package managers, including SpdxDocumentFile, because the location of the SPDX file usually does not
143
+ // match the location of the project it describes.
144
vcs = VcsInfo.EMPTY,
145
homepageUrl = "",
146
scopeDependencies = scopes
0 commit comments