-
Notifications
You must be signed in to change notification settings - Fork 105
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
(PDK-842) Wire puppet-version and pe-version options into subcommands #480
Conversation
# If there were missing dependencies when we checked above, let `bundle install` | ||
# go out and get them. For packaged installs, this should only be true if the user | ||
# has added custom gems that we don't vendor. | ||
unless bundle.installed? |
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.
Hmm, that's odd. If all_deps_available
was true then bundle lock --update
shouldn't reach out to rubygems for updates since we are passing the --local
flag. This shouldn't hurt anything though but it is curious.
27a810c
to
e4e32a2
Compare
So, this is what it'd look like with
I'm honestly not sure if it's worth it to have the specific option ordering for this command vs using an env var to set the desired puppet version for |
My vote would be to recognize values from My reasoning:
|
@rodjek IMO, we shouldn't bother with adding those flags to |
lib/pdk/util/bundler.rb
Outdated
c.add_spinner(_('Resolving Gemfile dependencies.')) | ||
c.update_environment(gemfile_env(gem_overrides)) unless gem_overrides.empty? | ||
c.add_spinner(_('Resolving default Gemfile dependencies.')) | ||
# c.update_environment(gemfile_env(gem_overrides)) unless gem_overrides.empty? |
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.
This commented needs to be removed or a reason for leaving it should be documented.
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.
Oh yeah I've been meaning to remove this line.
Aside from my commit.. this LGTM with the latest changes. |
24d8471
to
0ee7ebc
Compare
0ee7ebc
to
1f56df6
Compare
Unless otherwise stated, packaged install stuff requires packages built from the HEAD of master on pdk-vanagon.