Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

[2.0] Add —all flag to bundle update#5722

Merged
bundlerbot merged 6 commits intomasterfrom
seg-update-all-flag
Jun 15, 2017
Merged

[2.0] Add —all flag to bundle update#5722
bundlerbot merged 6 commits intomasterfrom
seg-update-all-flag

Conversation

@segiddins
Copy link
Copy Markdown
Contributor

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

The problem was that some users would think they needed to run bundle update instead of bundle install, and we want such a (potentially) destructive action to require more explicit user approval.

Was was your diagnosis of the problem?

My diagnosis was that bundle update shouldn't implicitly update everything without an acknowledgement that it will do so.

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

My fix, based on #2646, it to require bundle update --all for the current bundle update behavior.

Why did you choose this fix out of the possible options?

I chose this fix because it was already on 2-0-dev, courtesy of rubygems/bundler-features#18.

@segiddins segiddins force-pushed the seg-update-all-flag branch from 511a018 to 237f035 Compare June 14, 2017 21:30
@indirect
Copy link
Copy Markdown

@bundlerbot r+

@bundlerbot
Copy link
Copy Markdown
Collaborator

📌 Commit 237f035 has been approved by indirect

@segiddins segiddins changed the title Add —all flag to bundle update [2.0] Add —all flag to bundle update Jun 15, 2017
@bundlerbot
Copy link
Copy Markdown
Collaborator

⌛ Testing commit 237f035 with merge 08d1fa6...

bundlerbot added a commit that referenced this pull request Jun 15, 2017
Add `—all` flag to `bundle update`

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

The problem was that some users would think they needed to run `bundle update` instead of `bundle install`, and we want such a (potentially) destructive action to require more explicit user approval.

### Was was your diagnosis of the problem?

My diagnosis was that `bundle update` shouldn't implicitly update _everything_ without an acknowledgement that it will do so.

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

My fix, based on #2646, it to require `bundle update --all` for the current `bundle update` behavior.

### Why did you choose this fix out of the possible options?

I chose this fix because it was already on 2-0-dev, courtesy of rubygems/bundler-features#18.
@bundlerbot
Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-travis
Approved by: indirect
Pushing 08d1fa6 to master...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants