-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Use https in the Github shortcut by default in Bundler 2 #6798
Conversation
Note that for this to me merged into |
e693896
to
15173fa
Compare
lib/bundler/settings.rb
Outdated
@@ -35,6 +35,7 @@ class Settings | |||
frozen | |||
gem.coc | |||
gem.mit | |||
github_https |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the list of settings, not feature flags, so the .
should be used here, right?
96216eb
to
332741a
Compare
0cbfa40
to
0718454
Compare
lib/bundler/feature_flag.rb
Outdated
@@ -64,6 +64,12 @@ def initialize(bundler_version) | |||
@bundler_version = Gem::Version.create(bundler_version) | |||
end | |||
|
|||
def github_https |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
github_https?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could also probably be
settings_method(:github_https?, "github.https") { bundler_2_mode? }
That way you don't have to replicate the logic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh awesome, i didn't realize that. Thanks!
0718454
to
93471b0
Compare
@bundlerbot r+ |
Build succeeded |
6798: Use https in the Github shortcut by default in Bundler 2 r=colby-swandale a=colby-swandale This PR is setting Git gems to be fetched over https by default. Note: This PR is successing #6791 Closes #6785 Co-authored-by: Colby Swandale <[email protected]> (cherry picked from commit cf45792)
6798: Use https in the Github shortcut by default in Bundler 2 r=colby-swandale a=colby-swandale This PR is setting Git gems to be fetched over https by default. Note: This PR is successing #6791 Closes #6785 Co-authored-by: Colby Swandale <[email protected]> (cherry picked from commit cf45792)
6798: Use https in the Github shortcut by default in Bundler 2 r=colby-swandale a=colby-swandale This PR is setting Git gems to be fetched over https by default. Note: This PR is successing #6791 Closes #6785 Co-authored-by: Colby Swandale <[email protected]> (cherry picked from commit cf45792)
7182: Merge #6798 into `2-0-stable` r=colby-swandale a=colby-swandale ### What was the end-user problem that led to this PR? The PR #6798 was not merged correctly in the `2.0.0` release. This was my fault. This PR resolves this. ### What is your fix for the problem, implemented in this PR? Re-merge the PR back into the `2-0-stable` branch. Co-authored-by: Bundlerbot <[email protected]> Co-authored-by: Colby Swandale <[email protected]>
* 2-0-stable: (89 commits) fix changelog 2.0.2 typos add v2.0.2 changelog bump version to 2.0.2 Merge #7199 fix bug where bundler v3 is running a test for bundflet 2 Merge #6798 add bors configuation port GemHelper from master Merge #7080 Merge #7089 Merge #7068 Merge #7036 Merge #7067 change Bundler 3 specs in travis to use RubyGems 3.0.3 bump RubyGems v3 to the latest version on Travis Merge #6963 Merge #7078 Merge pull request #7061 from bundler/fix_circular_requires Merge #6864 remove linting step in travis (it will still run in each build) ...
Well that latest merge just screwed us over for about 5 hours. If there's any googlers out there with deployments that are now all of a sudden broken, it's because your source is changing from git to https on deployment and your local was expecting git. So rebuild your gemfile.lock again locally and you should be fine. |
First, the meta: we have a code of conduct, and the language in your message isn't okay. Please reword your message to be less shitty towards the people who put a huge amount of effort into providing you with Bundler, for free. Second, to your point about "sudden" breakage: Bundler has been printing out warnings about this change for literally years. More than one. Your application may have broken suddenly, in a way that surprised you, but this change in Bundler was not sudden. |
This PR is setting Git gems to be fetched over https by default.
Note: This PR is successing #6791
Closes #6785