Open postmodern opened 7 years ago
Would this be relevant to @mveytsman and @phillmv's interests?
This may be partially related to https://github.com/rubysec/bundler-audit/pull/182
Interested in this. Working through the process of upgrading a production app, and currently have the app booting 2 versions of Rails. Each version is run off different bundler lockfiles, Gemfile.lock
, and GemfileNext.lock
. Would love for a way to supply a list of lockfiles to check or just basic cli support for custom lockfile path. If you're interested in the latter (even though it will most likely clash with this issue), please let me know and I'll submit a PR.
@daveallie Linking my comment on scanning multiple Gemfile.lock
in one go vs. multiple CI runs:
https://github.com/rubysec/bundler-audit/pull/224#issuecomment-747171065
Looking at
#initialize
now, it seems that it should accept the scanner options (:ignore
) and store those as instance variables. The#scan
method would then accept the path to theGemfile.lock
. This would allow the Scanner object to be configured once and ran across multipleGemfile.lock
files.