Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(poetry): Improve the definition file paths
In order to do it's job, `Poetry.kt` generates a requirements file and then relies on `Pip.kt` to do the analysis. The resulting `ProjectAnalyzerResult`s uses the paths to these generated requirements files as definiton file paths. This does not make sense, because: 1. The generation of the files is an implementation detail. 2. The generated files do not exist in the code repository which can lead to confusion, in particular also these get referenced from ORT configuration / path excludes. Fix that by patching up the `ProjectAnalyzerResult`s to recover the original definition file name. Signed-off-by: Frank Viernau <[email protected]>
- Loading branch information