Is there a way to examine Bower licenses without doing `bower install`?

77 views
Skip to first unread message

Mike B

unread,
Mar 9, 2016, 2:26:06 PM3/9/16
to license-finder
We're running `license_finder` as part of our CI build, but we're finding that our bower component licenses are not able to be automatically determined (They show up as 'not installed'). We don't want to run `bower install` on the build machine - are we out of luck?

Thanks in advance,
Mike

Mike B

unread,
Mar 9, 2016, 2:55:32 PM3/9/16
to license-finder
Forgot to mention - we're using bower rails, which puts things in the `vendor/assets` directory via a rake task. They don't get installed into a root `bower_components` directory, but there's still a `bower.json` file.

Mike Dalessio

unread,
Mar 9, 2016, 6:11:14 PM3/9/16
to Mike B, license-finder
Thanks for asking this question!

Yes, right now, LicenseFinder operates on the assumption that you've installed all your dependencies locally. This is simply because packages aren't required to declare the license that they use, and so it's usually necessary to examine the files that were distributed with the package (in this case, the node module).


--
You received this message because you are subscribed to the Google Groups "license-finder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to license-finde...@googlegroups.com.

Mike B

unread,
Mar 10, 2016, 9:34:12 AM3/10/16
to license-finder, mikebre...@gmail.com
Thanks for the reply. The packages are installed (in the /vendor/assets/bower_components directory) but not installed WITH Bower. So the files are there to examine, but license_finder doesn't look for them there.
Reply all
Reply to author
Forward
0 new messages