Skip to content

Use detected Project.PackageManager in reports

Fabien Catteau requested to merge 338252-pkg-mngr-from-finder-project into master

What does this MR do?

Change the Scanner so that it uses Project.PackageManager instead of Parser.PackageManager. Eventually this PackageManager attribute is used in the generated JSON report. This improves the accuracy of the package manager field in a case where:

  • The Finder properly detects the package manager used in a Project.
  • But the same Parser is used for multiple package managers.

What are the relevant issue numbers?

gitlab-org/gitlab#338252 (closed)

Does this MR meet the acceptance criteria?

Edited by Fabien Catteau

Merge request reports