Skip to content
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

Make frozen setting take precedence over deployment setting #6685

Merged
merged 3 commits into from May 24, 2023

Conversation

deivid-rodriguez
Copy link
Member

What was the end-user or developer problem that led to this PR?

Relationship between frozen and deployment setting is unclear.

What is your fix for the problem, implemented in this PR?

Deployment behaves like frozen + path=vendor/bundle. Setting path explicitly can override this, however, setting frozen explicitly would not override frozenness.

This PR makes frozen consistent in that regard.

With this change, I no longer see the need of deprecating deployment, so this PR closes #4534.

Make sure the following tasks are checked

The behavior is not actually changing.
The `deployment` setting means `frozen` + `path=vendor/bundler`.

The path can be already overridden with an explicit `path` setting, but
that was not the case for `frozen`.

Make this consistent and allow properly overriding `frozen` too when
`deployment` is set.
Now that frozen can be overridden when deployment is set, we can always
suggest setting that.
@deivid-rodriguez deivid-rodriguez changed the title Make frozen take precendence over deployment Make frozen setting take precedence over deployment setting May 24, 2023
@deivid-rodriguez deivid-rodriguez merged commit 21c80fc into master May 24, 2023
92 checks passed
@deivid-rodriguez deivid-rodriguez deleted the frozen-vs-deployment branch May 24, 2023 14:46
deivid-rodriguez added a commit that referenced this pull request Jun 8, 2023
Make `frozen` setting take precedence over `deployment` setting

(cherry picked from commit 21c80fc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider deprecating deployment in favor of separate frozen + path configurations
1 participant