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

[Binstubs] Add --all options #6450

Merged
merged 1 commit into from
Apr 19, 2018
Merged

Conversation

segiddins
Copy link
Member

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

The problem was we have removed the --binstubs argument to bundle install, so saying "oh well, lets install all the bin stubs" became more tedious, requiring multiple calls to bundle binstubs and probably some swearing since you forgot what gem contains what binstub.

What was your diagnosis of the problem?

My diagnosis was we need a one-liner to generate bin stubs for all gems.

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

My fix adds such an option to bundle binstubs!

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

I chose this fix because it keeps binstub generation in its own command, rather than continuing to piggy-back off of install

@segiddins segiddins requested a review from indirect March 21, 2018 03:59

bundle "binstubs rack", :all => true
expect(last_command).to be_failure
expect(last_command.stderr).to include("Cannot specify --all with specific gems")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bundler_err

@segiddins segiddins force-pushed the segiddins/bundle-binstubs-all branch from 57293ab to 0fc018f Compare March 25, 2018 02:24
@colby-swandale
Copy link
Member

Just needs to adjust the failing spec to use bundle_err

@segiddins segiddins force-pushed the segiddins/bundle-binstubs-all branch from 0fc018f to 97876bd Compare April 16, 2018 15:13
@segiddins
Copy link
Member Author

Should be fixed now, sorry

@segiddins segiddins force-pushed the segiddins/bundle-binstubs-all branch from 97876bd to ecda83c Compare April 19, 2018 03:51
@colby-swandale
Copy link
Member

Thanks! @bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit ecda83c has been approved by colby-swandale

@bundlerbot
Copy link
Collaborator

⌛ Testing commit ecda83c with merge e5c0686...

bundlerbot added a commit that referenced this pull request Apr 19, 2018
…swandale

[Binstubs] Add --all options

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

The problem was we have removed the `--binstubs` argument to `bundle install`, so saying "oh well, lets install all the bin stubs" became more tedious, requiring multiple calls to `bundle binstubs` and probably some swearing since you forgot what gem contains what binstub.

### What was your diagnosis of the problem?

My diagnosis was we need a one-liner to generate bin stubs for all gems.

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

My fix adds such an option to `bundle binstubs`!

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

I chose this fix because it keeps binstub generation in its own command, rather than continuing to piggy-back off of `install`
@bundlerbot
Copy link
Collaborator

☀️ Test successful - status-travis
Approved by: colby-swandale
Pushing e5c0686 to master...

@bundlerbot bundlerbot merged commit ecda83c into master Apr 19, 2018
@hsbt hsbt deleted the segiddins/bundle-binstubs-all branch June 8, 2018 11:05
@colby-swandale colby-swandale added this to the 1.17.0 milestone Oct 2, 2018
colby-swandale pushed a commit that referenced this pull request Oct 9, 2018
…swandale

[Binstubs] Add --all options

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

The problem was we have removed the `--binstubs` argument to `bundle install`, so saying "oh well, lets install all the bin stubs" became more tedious, requiring multiple calls to `bundle binstubs` and probably some swearing since you forgot what gem contains what binstub.

### What was your diagnosis of the problem?

My diagnosis was we need a one-liner to generate bin stubs for all gems.

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

My fix adds such an option to `bundle binstubs`!

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

I chose this fix because it keeps binstub generation in its own command, rather than continuing to piggy-back off of `install`

(cherry picked from commit e5c0686)
colby-swandale added a commit that referenced this pull request Oct 25, 2018
* 1-17-stable: (38 commits)
  Version 1.17.0 with changelog
  Merge #6754
  Version 1.17.0.pre.2 with changelog
  fix failing bundle remove specs
  Still document the `--force` option
  scope specs testing bundler 2 deprecations to bundler 1 only
  Merge #6718
  Merge #6707
  Merge #6702
  Merge #6316
  Auto merge of #6447 - agrim123:agr-update-error-message, r=segiddins
  Auto merge of #6513 - agrim123:agr-bundler-remove, r=indirect
  Auto merge of #6318 - jhawthorn:fix_incorrect_test_in_requires_sudo, r=segiddins
  Auto merge of #6450 - bundler:segiddins/bundle-binstubs-all, r=colby-swandale
  Auto merge of #6024 - gwerbin:custom-user-bundle-dir, r=colby-swandale
  Version 1.17.0.pre.1 with changelog
  Auto merge of #5964 - bundler:colby/deprecate-viz-command, r=segiddins
  Auto merge of #5986 - bundler:seg-jobs-count, r=indirect
  Auto merge of #5995 - bundler:seg-gvp-major, r=indirect
  Auto merge of #5803 - igorbozato:path_relative_to_pwd, r=indirect
  ...
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