-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(#869) Ensure bundle update on convert/update #871
Conversation
17f5359
to
c56f07d
Compare
PDK::Util::Bundler.ensure_bundle! | ||
end | ||
require 'pdk/util/bundler' | ||
PDK::Util::Bundler.ensure_bundle! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be a user prompt?
Would you like to update your bundle?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I don't think so. If it doesn't update, then it'll just happen automatically when they run the next PDK command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only usecase I can think of is bundle taking FOREVER (looking at you Windows) and wanting to stop that for tools like pdksync
. But I'm more than happy to add that later if needs be.
Could probably copy the PR comment into the commit message too. |
Change the update & convert process so that it always ensures the bundle is up to date. Depending on detecting changes to `Gemfile` is not sufficient as it doesn't detect changes to unlisted dependencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending a green CI
Change the upgrade & convert process so that it always ensures the bundle is up to date. Depending on detecting changes to
Gemfile
is not sufficient as it doesn't detect changes to unlisted dependencies.Fixes #869