Skip to content

Dependency List should take DS_EXCLUDED_PATHS into account

Summary

We currently build the dependency list based on dependency scanning tools. For the same reasons as people might want to exclude some paths from this analysis, we should exclude them when building the dependency list.

Steps to reproduce

  1. Setup a project with dependency scanning
  2. Add dependency file to a subdir and specify it as part of DS_EXCLUDED_PATHS

Example Project

What is the current bug behavior?

Dependencies declared in ignored subdir are listed on the Dependency List.

What is the expected correct behavior?

Dependencies declared in ignored subdir are NOT listed on the Dependency List.

Possible fixes

Fix path exclusion, exclude dependency files:

Edited by Fabien Catteau