<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/bundler.git, branch https_sources</title>
<subtitle>github.com: bundler/bundler.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/'/>
<entry>
<title>Fully switch to https sources</title>
<updated>2019-04-24T13:52:50+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2019-04-24T09:23:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=26d3a59f61b72d44973f14630c2d889b4ca00a71'/>
<id>26d3a59f61b72d44973f14630c2d889b4ca00a71</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #6329</title>
<updated>2019-04-24T11:58:40+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2019-04-24T11:58:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=ec8f98574a90de1e87a50e00141180d761f161dc'/>
<id>ec8f98574a90de1e87a50e00141180d761f161dc</id>
<content type='text'>
6329: Stop printing “failed to update” message when changing sources r=segiddins a=segiddins

### What was the end-user problem that led to this PR?

The problem was `bundle update` shows incorrect message when updating git gems

Closes #6325 

### What was your diagnosis of the problem?

My diagnosis was we need to check if the source has changed

### What is your fix for the problem, implemented in this PR?

My fix only prints the message when the source has not changed

Note that is does not yet fix the "updated the git sha" case, since the locked spec and the new spec actually share the same source object!

Co-authored-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;
Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
6329: Stop printing “failed to update” message when changing sources r=segiddins a=segiddins

### What was the end-user problem that led to this PR?

The problem was `bundle update` shows incorrect message when updating git gems

Closes #6325 

### What was your diagnosis of the problem?

My diagnosis was we need to check if the source has changed

### What is your fix for the problem, implemented in this PR?

My fix only prints the message when the source has not changed

Note that is does not yet fix the "updated the git sha" case, since the locked spec and the new spec actually share the same source object!

Co-authored-by: Samuel Giddins &lt;segiddins@segiddins.me&gt;
Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #7129</title>
<updated>2019-04-24T10:52:26+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2019-04-24T10:52:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=dea7c6dcc3658d4f7ffcebdd7147076b017dc8db'/>
<id>dea7c6dcc3658d4f7ffcebdd7147076b017dc8db</id>
<content type='text'>
7129: Bundle env improvements r=deivid-rodriguez a=deivid-rodriguez

This came from debugging #7096.

### What was the end-user problem that led to this PR?

The problem was that `bundle env` is great, but could be more useful and accurate.

### What is your fix for the problem, implemented in this PR?

My fix is to start improving it, by dumping more paths, and more accurate information, and getting the paths tested.

### Why did you choose this fix out of the possible options?

I have a few more improvements in mind, but I want to keep my PRs small.


Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
7129: Bundle env improvements r=deivid-rodriguez a=deivid-rodriguez

This came from debugging #7096.

### What was the end-user problem that led to this PR?

The problem was that `bundle env` is great, but could be more useful and accurate.

### What is your fix for the problem, implemented in this PR?

My fix is to start improving it, by dumping more paths, and more accurate information, and getting the paths tested.

### Why did you choose this fix out of the possible options?

I have a few more improvements in mind, but I want to keep my PRs small.


Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #7124</title>
<updated>2019-04-24T09:26:29+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2019-04-24T09:26:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=6f11812e8f7db34d0b94adbbe6803ed38bf8b151'/>
<id>6f11812e8f7db34d0b94adbbe6803ed38bf8b151</id>
<content type='text'>
7124: Skip platform warnings in inline mode r=indirect a=deivid-rodriguez

Fixes #6822.

### What was the end-user problem that led to this PR?

The problem was that inline mode prints platform warnings recommending to run `bundle lock` commands.

### What was your diagnosis of the problem?

My diagnosis was that the platform is always missing in the lock file since there's no lock file here.

### What is your fix for the problem, implemented in this PR?

My fix is to skip platform warnings in this case.

### Why did you choose this fix out of the possible options?

I chose this fix because it's simple.

Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
7124: Skip platform warnings in inline mode r=indirect a=deivid-rodriguez

Fixes #6822.

### What was the end-user problem that led to this PR?

The problem was that inline mode prints platform warnings recommending to run `bundle lock` commands.

### What was your diagnosis of the problem?

My diagnosis was that the platform is always missing in the lock file since there's no lock file here.

### What is your fix for the problem, implemented in this PR?

My fix is to skip platform warnings in this case.

### Why did you choose this fix out of the possible options?

I chose this fix because it's simple.

Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip platform warnings in inline mode</title>
<updated>2019-04-24T09:25:36+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2019-04-12T20:03:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=2c75b6d63efb93dfd448058bd16170cc21284dea'/>
<id>2c75b6d63efb93dfd448058bd16170cc21284dea</id>
<content type='text'>
Since there's no lock file, I don't think they make sense.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since there's no lock file, I don't think they make sense.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #7125</title>
<updated>2019-04-24T08:38:47+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2019-04-24T08:38:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=5c26795f26b72e1a2faddd12448b19602aae8399'/>
<id>5c26795f26b72e1a2faddd12448b19602aae8399</id>
<content type='text'>
7125: Ignore `frozen` setting in inline mode r=indirect a=deivid-rodriguez

Fixes #7114.

### What was the end-user problem that led to this PR?

The problem was that the inline mode wouldn't work if `BUNDLE_FROZEN` is set.

### What was your diagnosis of the problem?

My diagnosis was that since we're in frozen mode, the current platform doesn't get added to the definition, and thus platform validation fails.

### What is your fix for the problem, implemented in this PR?

My fix is to temporary ignore `BUNDLE_FROZEN` for the inline mode. The inline mode can't really be frozen since it has no lock file.

Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
7125: Ignore `frozen` setting in inline mode r=indirect a=deivid-rodriguez

Fixes #7114.

### What was the end-user problem that led to this PR?

The problem was that the inline mode wouldn't work if `BUNDLE_FROZEN` is set.

### What was your diagnosis of the problem?

My diagnosis was that since we're in frozen mode, the current platform doesn't get added to the definition, and thus platform validation fails.

### What is your fix for the problem, implemented in this PR?

My fix is to temporary ignore `BUNDLE_FROZEN` for the inline mode. The inline mode can't really be frozen since it has no lock file.

Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #7127</title>
<updated>2019-04-23T19:30:19+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2019-04-23T19:30:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=58357f5bab5e7869d0532041bb44325d1832b036'/>
<id>58357f5bab5e7869d0532041bb44325d1832b036</id>
<content type='text'>
7127: Add git and branch options to `bundle add` r=deivid-rodriguez a=tokachev

Closes #6841 These changes will allow to add a gem with the git or branch options.

```
bundle add redis --git "https://github.com/redis/redis-rb" --branch "staging"
```

The result in Gemfile will be: 
```
gem "redis", "~&gt; 4.0", :git =&gt; "https://github.com/redis/redis-rb", :branch =&gt; "staging"
```

Co-authored-by: Baumgarten &lt;baumgarten@localhost.localdomain&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
7127: Add git and branch options to `bundle add` r=deivid-rodriguez a=tokachev

Closes #6841 These changes will allow to add a gem with the git or branch options.

```
bundle add redis --git "https://github.com/redis/redis-rb" --branch "staging"
```

The result in Gemfile will be: 
```
gem "redis", "~&gt; 4.0", :git =&gt; "https://github.com/redis/redis-rb", :branch =&gt; "staging"
```

Co-authored-by: Baumgarten &lt;baumgarten@localhost.localdomain&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #7136</title>
<updated>2019-04-23T18:55:25+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2019-04-23T18:55:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=69bf2bf121dccb750d0d537ff9f7a57473b0120b'/>
<id>69bf2bf121dccb750d0d537ff9f7a57473b0120b</id>
<content type='text'>
7136: Bump CI rubies to latest patch levels r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that new rubies have been released, and we're not yet testing against them,

### What is your fix for the problem, implemented in this PR?

My fix is to update our CI matrix.


Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
7136: Bump CI rubies to latest patch levels r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that new rubies have been released, and we're not yet testing against them,

### What is your fix for the problem, implemented in this PR?

My fix is to update our CI matrix.


Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump CI rubies to latest patch levels</title>
<updated>2019-04-23T17:20:51+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2019-04-23T11:21:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=61885b10c8070248b1fe90eb378b89d379c127d8'/>
<id>61885b10c8070248b1fe90eb378b89d379c127d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #7100</title>
<updated>2019-04-23T08:22:06+00:00</updated>
<author>
<name>Bundlerbot</name>
<email>bot@bundler.io</email>
</author>
<published>2019-04-23T08:22:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/bundler.git/commit/?id=9d733d92abe4e492f07027fc5928a5a1172d6b31'/>
<id>9d733d92abe4e492f07027fc5928a5a1172d6b31</id>
<content type='text'>
7100: Prefer `require_relative` for internal requires r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that `bundler` seems to, in some very rare cases, leak to the copy of itself installed as a default gem. I have been able to reproduce this only for stuff that we have already fixed. For example: https://github.com/bundler/bundler/pull/6502. However, I have the gut feeling that this can still happen under some conditions, because sometimes we still get reports from people using bundler 2, and getting the error "You must user Bundler 2 or greater with this Gemfile". 

### What was your diagnosis of the problem?

My diagnosis was that somehow, due to the complicated LOAD_PATH manipulation bundler does, we may endup requiring bundler files in another copy of bundler.

### What is your fix for the problem, implemented in this PR?

My fix is not really a fix, although it _might_ prevent the potential issue from happening. As @colby-swandale would say, we should fix the real culprit instead. However, I think using `require_relative` is a better practice anyways, because it makes it clear that you are requiring "internal" files and not files from some dependencies. And it should also be faster because it does not search the LOAD_PATH. And it skips the rubygems monkeypatches to `require`, which seems also good.

### Why did you choose this fix out of the possible options?

I chose this fix because I think it's a good practice.

Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
7100: Prefer `require_relative` for internal requires r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was that `bundler` seems to, in some very rare cases, leak to the copy of itself installed as a default gem. I have been able to reproduce this only for stuff that we have already fixed. For example: https://github.com/bundler/bundler/pull/6502. However, I have the gut feeling that this can still happen under some conditions, because sometimes we still get reports from people using bundler 2, and getting the error "You must user Bundler 2 or greater with this Gemfile". 

### What was your diagnosis of the problem?

My diagnosis was that somehow, due to the complicated LOAD_PATH manipulation bundler does, we may endup requiring bundler files in another copy of bundler.

### What is your fix for the problem, implemented in this PR?

My fix is not really a fix, although it _might_ prevent the potential issue from happening. As @colby-swandale would say, we should fix the real culprit instead. However, I think using `require_relative` is a better practice anyways, because it makes it clear that you are requiring "internal" files and not files from some dependencies. And it should also be faster because it does not search the LOAD_PATH. And it skips the rubygems monkeypatches to `require`, which seems also good.

### Why did you choose this fix out of the possible options?

I chose this fix because I think it's a good practice.

Co-authored-by: David Rodríguez &lt;deivid.rodriguez@riseup.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
