LicenseFinder
LicenseFinder copied to clipboard
Subprojects do not respect --decisions-file (at least for NPM)
Have a directory with:
--- package.json
+-- doc
--- dependency_decisions.yml
+-- src
+--- module1
--- package.json
My dependency_decisions.yml
file excludes npm "devDependencies":
- - :ignore_group
- devDependencies
- :who:
:why:
:when: 2015-07-30 01:49:51.659344000 Z
However, when I run the following command, the "devDependencies" are not ignored.
license_finder report --subprojects=./src/module1 --decisions-file=./doc/dependency_decisions.yml
The above command, when executed, will list all the dependencies in src/module
, including devDependencies
. It appears that --subprojects
is not respecting the decisions file.
Thanks for reporting this! I haven't reproduced this yet, but I totally believe it's happening, looking at the code. I'll dig in.
I have the same problem. When I run the following command,the "devDependencies" are not ignored.
license_finder --project-path=plugins/questionnaire --decisions-file=license_finder/doc/dev-decisions.yml
There is only one option(previous one) effected. Could you help me, thank you very much!
@h000780 Is your issue related to https://github.com/pivotal/LicenseFinder/issues/888? Just trying to understand whats going on and its hard without clean repro steps