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

[CLI] Switch around the --strict option for bundle outdated #6030

Merged
merged 1 commit into from
Sep 14, 2017

Conversation

segiddins
Copy link
Member

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

The problem was

outdated would be more consistent to change --strict to --filter-strict and --update-strict to --strict

What was your diagnosis of the problem?

My diagnosis was

let's rename --strict to --filter-strict and rename the current --update-strict to --strict. In another ticket, later, we can expand the way outdated works to not need as many flags to show the relevant info

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

My fix switches around the options, by just making --strict an alias that means something different on 2.0 than on 1.0

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

I chose this fix because it allowed keeping temporary 1.x compatibility, versus wholesale renaming of the option.

@segiddins segiddins added this to the 2.0 — Breaking Changes milestone Sep 13, 2017
@indirect
Copy link
Member

@bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit 14d611c has been approved by indirect

@bundlerbot
Copy link
Collaborator

⌛ Testing commit 14d611c with merge 0417db3...

bundlerbot added a commit that referenced this pull request Sep 14, 2017
[CLI] Switch around the --strict option for bundle outdated

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

The problem was

> outdated would be more consistent to change --strict to --filter-strict and --update-strict to --strict

### What was your diagnosis of the problem?

My diagnosis was

> let's rename --strict to --filter-strict and rename the current --update-strict to --strict. In another ticket, later, we can expand the way outdated works to not need as many flags to show the relevant info

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

My fix switches around the options, by just making `--strict` an alias that means something different on 2.0 than on 1.0

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

I chose this fix because it allowed keeping temporary 1.x compatibility, versus wholesale renaming of the option.
@bundlerbot
Copy link
Collaborator

💔 Test failed - status-travis

@olleolleolle
Copy link
Member

@bundlerbot retry

@bundlerbot
Copy link
Collaborator

⌛ Testing commit 14d611c with merge b019b9b...

bundlerbot added a commit that referenced this pull request Sep 14, 2017
[CLI] Switch around the --strict option for bundle outdated

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

The problem was

> outdated would be more consistent to change --strict to --filter-strict and --update-strict to --strict

### What was your diagnosis of the problem?

My diagnosis was

> let's rename --strict to --filter-strict and rename the current --update-strict to --strict. In another ticket, later, we can expand the way outdated works to not need as many flags to show the relevant info

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

My fix switches around the options, by just making `--strict` an alias that means something different on 2.0 than on 1.0

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

I chose this fix because it allowed keeping temporary 1.x compatibility, versus wholesale renaming of the option.
@chrismo
Copy link
Contributor

chrismo commented Sep 14, 2017

+1 - I didn't do a thorough review, but I'm cool with this.

@bundlerbot
Copy link
Collaborator

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

@bundlerbot bundlerbot merged commit 14d611c into master Sep 14, 2017
@segiddins segiddins deleted the seg-outdated-filter-options branch September 14, 2017 21:39
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.

5 participants