Skip to content

Delay removal of git shortcut DSL additions#3583

Merged
deivid-rodriguez merged 2 commits intomasterfrom
delay_git_shortcuts_removal
May 12, 2020
Merged

Delay removal of git shortcut DSL additions#3583
deivid-rodriguez merged 2 commits intomasterfrom
delay_git_shortcuts_removal

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

Description:

Fixes #3579.

We delayed the deprecation of git based DSL shortcuts in rubygems/bundler#7000, but didn't delay their removal.

This PR does that.

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.

settings_flag(:print_only_version_number) { bundler_3_mode? }
settings_flag(:setup_makes_kernel_gem_public) { !bundler_3_mode? }
settings_flag(:skip_default_git_sources) { bundler_3_mode? }
settings_flag(:skip_default_git_sources) { bundler_4_mode? }
Copy link
Copy Markdown
Contributor Author

@deivid-rodriguez deivid-rodriguez May 1, 2020

Choose a reason for hiding this comment

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

In the first commit of the PR I delayed the deprecation, but I believe there's no use of maintaining code that never gets run by either end users or tests, so I would rather actually remove this code until we release bundler 3, and only then restore it. So in the second commit I did that.

@deivid-rodriguez deivid-rodriguez force-pushed the delay_git_shortcuts_removal branch from b0cf138 to 22b1388 Compare May 8, 2020 20:42
@deivid-rodriguez deivid-rodriguez force-pushed the delay_git_shortcuts_removal branch from 22b1388 to 0f8e959 Compare May 12, 2020 19:42
@deivid-rodriguez deivid-rodriguez merged commit 77a3e3d into master May 12, 2020
@deivid-rodriguez deivid-rodriguez deleted the delay_git_shortcuts_removal branch May 12, 2020 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git based shortcuts are broken when running in "bundler 3 mode"

2 participants