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

Add --[no-]check-development option to cleanup command #2061

Merged
merged 1 commit into from Nov 14, 2017

Conversation

godfat
Copy link
Contributor

@godfat godfat commented Nov 4, 2017

Default to check so it keeps backward compatibility.

Description:

I just realized that there's no way to force cleaning up gems without checking development dependency. I wish at least we have an option:

gem cleanup --no-check-development

This is a bit too verbose to my taste, but to make it backward compatible and consistent with the uninstall command, this is probably the way to do it.

Thanks for reviewing.


Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

Default to check so it keeps backward compatibility.
godfat added a commit to godfat/gem-compact that referenced this pull request Nov 4, 2017
@godfat
Copy link
Contributor Author

godfat commented Nov 13, 2017

@bronzdoc @segiddins Are there any actions I need to take? Do we need more reviews? How do I move this forward?

Thank you for looking into this!

@segiddins
Copy link
Member

@bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit 47be81b has been approved by segiddins

@bundlerbot
Copy link
Collaborator

⌛ Testing commit 47be81b with merge f9299ce...

bundlerbot added a commit that referenced this pull request Nov 13, 2017
Add --[no-]check-development option to cleanup command

Default to check so it keeps backward compatibility.

# Description:

I just realized that there's no way to force cleaning up gems without checking development dependency. I wish at least we have an option:

```
gem cleanup --no-check-development
```

This is a bit too verbose to my taste, but to make it backward compatible and consistent with the uninstall command, this is probably the way to do it.

Thanks for reviewing.
______________

# Tasks:

- [x] Describe the problem / feature
- [x] Write tests
- [x] Write code to solve the problem
- [ ] Get code review from coworkers / friends

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
@hsbt
Copy link
Member

hsbt commented Nov 13, 2017

@bundlerbot retry

@bundlerbot
Copy link
Collaborator

⌛ Testing commit 47be81b with merge 81017f8...

bundlerbot added a commit that referenced this pull request Nov 13, 2017
Add --[no-]check-development option to cleanup command

Default to check so it keeps backward compatibility.

# Description:

I just realized that there's no way to force cleaning up gems without checking development dependency. I wish at least we have an option:

```
gem cleanup --no-check-development
```

This is a bit too verbose to my taste, but to make it backward compatible and consistent with the uninstall command, this is probably the way to do it.

Thanks for reviewing.
______________

# Tasks:

- [x] Describe the problem / feature
- [x] Write tests
- [x] Write code to solve the problem
- [ ] Get code review from coworkers / friends

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
@bundlerbot
Copy link
Collaborator

☀️ Test successful - status-travis
Approved by: segiddins
Pushing 81017f8 to master...

@bundlerbot bundlerbot merged commit 47be81b into rubygems:master Nov 14, 2017
@godfat
Copy link
Contributor Author

godfat commented Nov 14, 2017

Thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants