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

Fix bundle lock --minor --update <dep> edge case #6992

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

deivid-rodriguez
Copy link
Member

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

When the latest allowed minor of dep adds a new dependency, that new dependency would be incorrectly resolved to the latest minor of the first major version.

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

The --minor logic should only be applied for dependencies that are already locked.

Fixes #6952.

Make sure the following tasks are checked

When the latest allowed minor of `dep` adds a new dependency, that new
dependency would be incorrectly resolved to the latest minor of the
first major version.
@deivid-rodriguez deivid-rodriguez merged commit 2749d12 into master Sep 27, 2023
92 checks passed
@deivid-rodriguez deivid-rodriguez deleted the bundle-lock-minor-when-new-dep-added branch September 27, 2023 03:29
deivid-rodriguez added a commit that referenced this pull request Oct 13, 2023
…-added

Fix `bundle lock --minor --update <dep>` edge case

(cherry picked from commit 2749d12)
deivid-rodriguez added a commit that referenced this pull request Oct 13, 2023
…-added

Fix `bundle lock --minor --update <dep>` edge case

(cherry picked from commit 2749d12)
deivid-rodriguez added a commit that referenced this pull request Oct 13, 2023
…-added

Fix `bundle lock --minor --update <dep>` edge case

(cherry picked from commit 2749d12)
deivid-rodriguez added a commit that referenced this pull request Oct 16, 2023
…-added

Fix `bundle lock --minor --update <dep>` edge case

(cherry picked from commit 2749d12)
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.

bundle lock --minor --update doesn't add new dependencies at their latest version
1 participant